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 


Visual c++ express edition question
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Sat Oct 25, 2008 5:53 am    Post subject: Reply with quote

sotaukko wrote:
Well i've been learning C++ for couple of months now but never needed ANSI becouse i made console applications.
Are you sure you know what are you talking about now? Console apps can be unicode or ANSI as well.. If you've been using just basic cout, you've been messing with ANSI, not unicode.
Back to top
View user's profile Send private message
blackmorpheus
Expert Cheater
Reputation: 0

Joined: 05 Apr 2008
Posts: 159

PostPosted: Sat Oct 25, 2008 8:28 am    Post subject: Reply with quote

put L before the text codes.. L"first Program"
Back to top
View user's profile Send private message
clanner
Master Cheater
Reputation: 0

Joined: 26 Jul 2006
Posts: 290

PostPosted: Sat Oct 25, 2008 8:54 am    Post subject: Reply with quote

So how exactly would you compile it as ansi? Is it a setting somewhere on the Visual c++ compiler? Or do you have to use certain codes.
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Oct 25, 2008 11:51 am    Post subject: Reply with quote

Project settings -> General

Change it to multi-byte
Back to top
View user's profile Send private message
clanner
Master Cheater
Reputation: 0

Joined: 26 Jul 2006
Posts: 290

PostPosted: Sat Oct 25, 2008 12:10 pm    Post subject: Reply with quote

Thank you very much! One last question, when/why would you compile it as ANSI?
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
Goto page Previous  1, 2
Page 2 of 2

 
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