News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How to compile

Started by danm91, October 26, 2009, 01:21:13 PM

Previous topic - Next topic

danm91

How do i compile a c++ program in ubuntu code::blocks?

MortenMacFly

Quote from: danm91 on October 26, 2009, 01:21:13 PM
How do i compile a c++ program in ubuntu code::blocks?
- write your code
- hit build
- hint run.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

stahta01

Make sure to save the file with an cpp extension under windows; may not apply to linux.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

stahta1: applies everywhere  :lol:
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]