Hi
I've been writing programs for about 3 months now and i can't find anythibg to do with a project?
What is it for?
What is it's limits?
What is it's structure?
What programs do you write with it?
All help is aprecciated
Hi
I've been writing programs for about 3 months now and i can't find anythibg to do with a project?
What is it for?
What is it's limits?
What is it's structure?
What programs do you write with it?
All help is aprecciated
For one, you can't compile a windows program without the consol window coming up unless you use a project, and you need a project in order to do linking parameters like -s.
What compiler are you using?
so, whats the difference, apart from it's newer?
Just the layout of the things I guess. Nothing major.
so, back to the original questions about projects
Projects in an IDE allow you to compile .cpp files together. Without that ability all your code is in .h or your one main cpp file.
You COULD program with everything in one file, but just don't unless it is some tiny thing.
ok, i've got the basic idea, i want to create a human class in a project file, how would i go about that, any ideas?
I have some code, but i'm not sure if it's a good, or the right start to a project...
Code://Human.h #ifndef _HUMAN_ #define _HUMAN_ namespace Anatomy { class Human { public:
If that's your code then you're missing some closing curly braces (}).
BTW, names beginning with and underscore followed by an uppercase letter or another underscore are reserved by the implementation.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
can anyone out there help me, what would i consist in my class?
> what would i consist [sic] in my class?
Especially since humans inspire a lot of subjects, that would depend largely on what kind of data is important to you. Lots of times, class design is meant to elegantly map back to real life in some way, but never perfectly. Do you want to represent a human biologically or is it just a record of names, ages and gender?
As far as projects go, there have been fine explanations already. Developing a real-world app is always a lot of work, so IDE's exist to help keep work organized and productive by providing a compiler, editor, and debugger (at least) all together. A project is essentially what those apps are.