Recent content by Msid17

  1. M

    How to pass array element form a subroutine to main function

    Yes, ur rite Mark... i mean but its completely possible ... i just gave the shortest solution...:P there are a thousand other ways you can do that..:)
  2. M

    How to pass array element form a subroutine to main function

    i don't knw abt fortran but...in C/C++ i do like this... void abc() { static int arr[8]; // do ur processing and then call main.. main(arr); } int main(int *arr) { // here you can use that arr variable... but one little thing you need that array to b static remember... now you...
  3. M

    Need help in a Basket Ball game(Projectile Motion / motion under Gravitation)

    In other words...i just want the ball to work like it actually does..:S please Help...
  4. M

    Need help in a Basket Ball game(Projectile Motion / motion under Gravitation)

    HI, I am new in this kind of programming ..this is my very first 2D game in OpenGl using Glut 3.7 (Win32 Console C++) and i have no idea how to apply projectile motion and gravitation on basket ball. game is simple.. Inputs Are Force and Angle.. and player has to throw the ball into the...