I would make a call to open the program within a program using command line arguments (which is really the only time you are allowed to mess with main() )
I would make a call to open the program within a program using command line arguments (which is really the only time you are allowed to mess with main() )
- "Problem Solving C++, The Object of Programming" -Walter Savitch
- "Data Structures and Other Objects using C++" -Walter Savitch
- "Assembly Language for Intel-Based Computers" -Kip Irvine
- "Programming Windows, 5th edition" -Charles Petzold
- "Visual C++ MFC Programming by Example" -John E. Swanke
- "Network Programming Windows" -Jones/Ohlund
- "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
- "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel
I didint understand what you meant by this....
The Brain's links are what you need.Originally Posted by mike11
Basicly that third party program (#2 lets say) you need to get arguments from main() from, you use that file (#2) to include the file (#1) you need arguments from. Which is explained how to do on the page he gave: program within a program, then you just put the arguments in the program (#1) you are including in your third party program (#2). Which is explained in his next post.
Hopefully yah get it.. read that page, like he said its the only way youre going to pass a string using the method you keep requesting.
BTW.. this seems a little inefficient and waste of time for a beginner.
Warning: Have doubt in anything I post.
GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101