User forums > Using Code::Blocks

C++ projects

(1/1)

zyberb:
Helo,

I've had some java before where i used eclipse as a compiler.now im learning some c++ using codeblocks.

Just a quick question:

* in java i was used to make 1 projectfile then a could have as many source files i wanted in that project.Like when im going through examples in a book i just simply made new source code for that example.I didnt need to make a new project for every example in the book.

*But as i se it in c++ i have to make a new project everytime or put the new example codes in a class and then call the from the class?

Have i understood this correct?

mirai:
You can have many source files in one project. Just give a try to File->New->... menu items.

And, by the way, it is the IDE you're using, i.e. Eclipse or Code::Blocks, has projects, not language, whatever it is, C++ or Java.
C++ itself as well as Java doesn't care about projects at all.

Navigation

[0] Message Index

Go to full version