hmm i havent tried that system command but i know the sleep command but i dont need a loop cuz it only runs so many. thanks for the input tho. ill try it out and see if it works.
Type: Posts; User: dragonklown
hmm i havent tried that system command but i know the sleep command but i dont need a loop cuz it only runs so many. thanks for the input tho. ill try it out and see if it works.
Yea im trying to make a program to run scripts for the game called Americas Army for my clans server. Issue is that you have to execute commands in the game console like exec system_config.txt in...
thanks andyhunter that worked. thanks to the rest of you guys for the quick responses
if bolding means i didnt include the include then it still wont work because i did included windows.h and its not working. if it helps im using VC++6.0
ok i did a test with sleep and when i went to compile it said 'sleep' : undeclared identifier and it wont finish any reasons why?
now im new to this sleep function would i put sleep before or after each script.
example:
script one
sleep
script two
It will be running off of a windows xp platform, what will happen is the game will call the program and then the program will call the scripts every 8 seconds or so.
I was wondering if anyone had a code for a time delay. What im trying to do is make a program to help out my Americas Army gameing clan to execute scripts that protect against hackers. What i need to...
i tried this system("c:\\Program Files\\Games\\checkers.exe"); and it didnt do anything to help me. i havent yet tried the other thing you gave me but i just want it to be able to ask a user if...
I tried that ok here is a sample file I would want to have it open say a program in c:\Program Files\Games\checkers.exe . I tried to do it with what you gave me but no go. Ive asked friends that...
If your using windows run command prompt and then run your program. If your using xp go to start and click run then type cmd then hit enter. After that go to the directory where your .exe file is for...
I use this book "Problem Solving C++, The Object of Programming" -Walter Savitch for my programming class in college. I think its a good start.
Im new to C++ and am trying my best to learn the stuff. I need to figure out the code to move from let say c:\My Documents to c:\Program Files with my C++ program. I have no code of my own yet since...