Recent content by Msid17
-
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..:)- Msid17
- Post #15
- Forum: Programming and Computer Science
-
M
How to pass array element form a subroutine to main function
hmm...- Msid17
- Post #13
- Forum: Programming and Computer Science
-
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...- Msid17
- Post #11
- Forum: Programming and Computer Science
-
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...- Msid17
- Post #2
- Forum: Programming and Computer Science
-
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...- Msid17
- Thread
- Ball Gravitation Motion
- Replies: 1
- Forum: Programming and Computer Science