| View previous topic :: View next topic |
| Author |
Message |
Micah Grandmaster Cheater
Reputation: 1
Joined: 30 Mar 2007 Posts: 833
|
Posted: Sat Oct 04, 2008 12:44 am Post subject: Quick Visual C++ question |
|
|
My first time using this compiler.
When I click the compile option, it doesn't make a .exe... or if I does I sure can't find it.
The only .exe version of my program I can find is a debug version, which is not what I want. I am I pressing the wrong thing? I really need this program compiled. Thanks for the help, I am sure I am just overlooking it.
_________________
|
|
| Back to top |
|
 |
sloppy Expert Cheater
Reputation: 0
Joined: 17 Aug 2008 Posts: 123
|
Posted: Sat Oct 04, 2008 1:26 am Post subject: |
|
|
| There is a configuration drop down box on the top toolbar, change it from debug to release then rebuild your project.
|
|
| Back to top |
|
 |
Nuclear898 Grandmaster Cheater Supreme
Reputation: 0
Joined: 04 Jun 2006 Posts: 1597 Location: The Netherlands
|
Posted: Sat Oct 04, 2008 2:27 am Post subject: |
|
|
| It makes a debug or release folder in your project directory (depends whether you set it on debug or release). That folder will contain the .exe or .dll you compiled.
|
|
| Back to top |
|
 |
xDemonx Expert Cheater
Reputation: 0
Joined: 05 May 2007 Posts: 232 Location: The Netherlands
|
Posted: Sat Oct 04, 2008 3:04 am Post subject: |
|
|
| Or .exe.deploy
|
|
| Back to top |
|
 |
Micah Grandmaster Cheater
Reputation: 1
Joined: 30 Mar 2007 Posts: 833
|
Posted: Sat Oct 04, 2008 8:26 am Post subject: |
|
|
Thanks guys. I thought I was doing something wrong. My code just needed tweaking a bit. Thanks.
EDIT: Can someone tell me how to do a do while loop? I am trying it, but it isn't working.
I want it to loop while a == 1, but I have an exit command that sets a = 2. Thanks.
_________________
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Oct 04, 2008 3:13 pm Post subject: |
|
|
| Micah wrote: | Thanks guys. I thought I was doing something wrong. My code just needed tweaking a bit. Thanks.
EDIT: Can someone tell me how to do a do while loop? I am trying it, but it isn't working.
I want it to loop while a == 1, but I have an exit command that sets a = 2. Thanks. |
Post your source.
| Code: | do{
SOMETHING
}while(a == 1); |
|
|
| Back to top |
|
 |
Fuzz Grandmaster Cheater
Reputation: 0
Joined: 12 Nov 2006 Posts: 531
|
Posted: Sun Oct 05, 2008 4:35 pm Post subject: |
|
|
while(; {
commandshere
}
For an infinate.
_________________
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sun Oct 05, 2008 5:10 pm Post subject: |
|
|
| Fuzz wrote: | while(; {
commandshere
}
For an infinate. |
You just did the syntax for a for loop, not a while loop
Infinite loop with for: with a sleep (so your CPU doesn't get raped.)
| Code: | | for (;;Sleep(10)) { } |
Infinite loop with while
| Code: | | while (true) { Sleep(10); } |
_________________
|
|
| Back to top |
|
 |
Fuzz Grandmaster Cheater
Reputation: 0
Joined: 12 Nov 2006 Posts: 531
|
Posted: Sun Oct 05, 2008 6:00 pm Post subject: |
|
|
oops. : P
_________________
|
|
| Back to top |
|
 |
|