Thread: projects

  1. #1
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321

    projects

    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

  2. #2
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    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?

  3. #3
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    Dev C++ 4.9.8.0

  4. #4
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Good, so what I said remains fact.

  5. #5
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    so, whats the difference, apart from it's newer?

  6. #6
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Just the layout of the things I guess. Nothing major.

  7. #7
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    so, back to the original questions about projects

  8. #8
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    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.

  9. #9
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    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?

  10. #10
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    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:

  11. #11
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    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.

  12. #12
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    english please?

  13. #13
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    can anyone out there help me, what would i consist in my class?

  14. #14
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    > 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.

  15. #15
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    biologically

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Old VC++ projects
    By geek@02 in forum Windows Programming
    Replies: 1
    Last Post: 03-21-2005, 07:04 AM
  2. Beginner projects
    By MagSteve in forum C++ Programming
    Replies: 4
    Last Post: 05-05-2004, 02:04 AM
  3. Looking for some big C/C++ projects
    By C-Dumbie in forum C Programming
    Replies: 5
    Last Post: 09-16-2002, 12:18 AM
  4. Projects
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 05-01-2002, 12:40 PM