Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Quick Visual C++ question

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Micah
Grandmaster Cheater
Reputation: 1

Joined: 30 Mar 2007
Posts: 833

PostPosted: Sat Oct 04, 2008 12:44 am    Post subject: Quick Visual C++ question Reply with quote

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
View user's profile Send private message MSN Messenger
sloppy
Expert Cheater
Reputation: 0

Joined: 17 Aug 2008
Posts: 123

PostPosted: Sat Oct 04, 2008 1:26 am    Post subject: Reply with quote

There is a configuration drop down box on the top toolbar, change it from debug to release then rebuild your project.
Back to top
View user's profile Send private message
Nuclear898
Grandmaster Cheater Supreme
Reputation: 0

Joined: 04 Jun 2006
Posts: 1597
Location: The Netherlands

PostPosted: Sat Oct 04, 2008 2:27 am    Post subject: Reply with quote

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
View user's profile Send private message
xDemonx
Expert Cheater
Reputation: 0

Joined: 05 May 2007
Posts: 232
Location: The Netherlands

PostPosted: Sat Oct 04, 2008 3:04 am    Post subject: Reply with quote

Or .exe.deploy
Back to top
View user's profile Send private message
Micah
Grandmaster Cheater
Reputation: 1

Joined: 30 Mar 2007
Posts: 833

PostPosted: Sat Oct 04, 2008 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Oct 04, 2008 3:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Fuzz
Grandmaster Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 531

PostPosted: Sun Oct 05, 2008 4:35 pm    Post subject: Reply with quote

while(;Wink{
commandshere
}
For an infinate.

_________________
Back to top
View user's profile Send private message AIM Address
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sun Oct 05, 2008 5:10 pm    Post subject: Reply with quote

Fuzz wrote:
while(;Wink{
commandshere
}
For an infinate.


You just did the syntax for a for loop, not a while loop Razz

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
View user's profile Send private message
Fuzz
Grandmaster Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 531

PostPosted: Sun Oct 05, 2008 6:00 pm    Post subject: Reply with quote

oops. : P
_________________
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites