Author Topic: How to compile  (Read 4676 times)

danm91

  • Guest
How to compile
« on: October 26, 2009, 01:21:13 pm »
How do i compile a c++ program in ubuntu code::blocks?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: How to compile
« Reply #1 on: October 26, 2009, 01:36:26 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7790
    • My Best Post
Re: How to compile
« Reply #2 on: October 26, 2009, 06:06:34 pm »
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++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: How to compile
« Reply #3 on: October 26, 2009, 10:53:15 pm »
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!]