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 


c++ programming on linux

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
paupav
Master Cheater
Reputation: 13

Joined: 15 Apr 2011
Posts: 314
Location: P. Sherman 42, Wallaby Way, Sydney

PostPosted: Sun Jul 14, 2013 6:07 pm    Post subject: c++ programming on linux Reply with quote

so what are your thoughts about it? also if anyone can explain to me how can i get some format that I can simply run like .exe on windows lol?
Back to top
View user's profile Send private message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Sun Jul 14, 2013 11:29 pm    Post subject: Reply with quote

When you have your .cpp file, just run the following commands in the terminal in the same directory as your .cpp file:

g++ yourCppFile.cpp
./a.out


The first line compiles it into a.out, the second line runs a.out, which is the linux equivalent of an .exe in some regards. I don't know if you can compile straight to a window .exe file, but there are probably tools to do so.

_________________
Back to top
View user's profile Send private message
paupav
Master Cheater
Reputation: 13

Joined: 15 Apr 2011
Posts: 314
Location: P. Sherman 42, Wallaby Way, Sydney

PostPosted: Mon Jul 15, 2013 5:12 am    Post subject: Reply with quote

manc wrote:
When you have your .cpp file, just run the following commands in the terminal in the same directory as your .cpp file:

g++ yourCppFile.cpp
./a.out


The first line compiles it into a.out, the second line runs a.out, which is the linux equivalent of an .exe in some regards. I don't know if you can compile straight to a window .exe file, but there are probably tools to do so.


thank you very much Very Happy . works
Back to top
View user's profile Send private message
HitIer
How do I cheat?
Reputation: 22

Joined: 09 Feb 2013
Posts: 0
Location: Location Location Location

PostPosted: Sun Jul 21, 2013 8:55 pm    Post subject: Reply with quote

Executables are like folders in linux, they don't have it in their name.

Like,

"file.exe" would be just "file" when running it from the terminal

_________________
With self driving cars, CE can work in real life

t328163 wrote:
Your username derives from the fact that this site cannot format special characters lol.


t328163 wrote:

lmfao, on reddit i'd get banned
Back to top
View user's profile Send private message MSN Messenger
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