getting program parameters

Go down

getting program parameters

Post  acerookie on Tue Nov 02, 2010 2:50 pm

Code:
int main(int argc, char** argv)

how do i get the parameters of what i pass in?

ex:
Code:
 main.exe grass1.png grass2.png
avatar
acerookie
Programmer

Posts : 74
Join date : 2010-10-19
Age : 23
Location : Atlanta,GA

View user profile

Back to top Go down

Re: getting program parameters

Post  Admin on Tue Nov 02, 2010 3:00 pm

avatar
Admin
Admin

Posts : 279
Join date : 2010-10-19

View user profile http://eternalquest.forumotion.com

Back to top Go down

Re: getting program parameters

Post  acerookie on Wed Nov 03, 2010 6:09 am

Admin wrote:http://xoax.net/comp/cpp/console/Lesson48.php

Hopfully that helps.

yeah i figured it out...
avatar
acerookie
Programmer

Posts : 74
Join date : 2010-10-19
Age : 23
Location : Atlanta,GA

View user profile

Back to top Go down

Re: getting program parameters

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum