Thread: newbie help please

  1. #1
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88

    Question newbie help please

    hi , can some body explain to me how i can compile diffrent pieces of code to one program , for example if you look at the game page , if they post a source code and the compiled program , the program includes more than one source code.

    thanks !
    PLay MystWind beta , within two years

  2. #2
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    Typically in an IDE they have something called a "project" to which one adds all the source files that are needed by a program. When the project is built, all the individual source files get compiled into seperate object files, and then these are all linked together (along with some code in the system libraries) into an executable program. Non-IDE products (command line operated compilers/linkers) will also support multiple source file programs but the particulars of getting this to work depend on what you've got compiler-wise. So... what compiler are you using?

    PS: Isn't it "The Netherlands" and not "Holland"?
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  3. #3
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    wow thank you very much , this lights it up. exept for : whats an IDE ?

    p.s , netherlands is better indeed i guess , but I think holland is used more common
    PLay MystWind beta , within two years

  4. #4
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    p.s how long do you think it will take me to get to a high c++ programming level ? i have already got some experience in other programming languages.. i written an MMORPG in GM language , but i now want to re-write it in c++ ; i planned to be able to start writting my first little RPJ with monsters etc. within an year. am I being un-realistic? i'm doing c++ at least an hour a day.
    PLay MystWind beta , within two years

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    244
    usually its not the lack of knowledge of some language that prevents you from getting a project done - but the lack of knowledge of the algorithms you need
    learning c / c++ is actually the easy part.
    the hard part is finding algorithms (= sequence of operations)
    the lead to the desired result - once you know what you want to do implementation can be done rather quickly (usually)
    signature under construction

  6. #6
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    wow thank you very much , this lights it up. exept for : whats an IDE ?
    Itegrated Development Environment--it's a fancy name for a piece of software that you write your programs with. I use Microsoft's Visual C++ 6, which provides several means to negotiate through the various files that make up a program in order to find variable definitions, classes, etc., as well as limited autocompletion features, and syntax highlighting.
    Last edited by 7stud; 02-25-2005 at 11:02 AM.

  7. #7
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    Quote Originally Posted by MystWind
    whats an IDE?
    An IDE is a programming environment integrated into a software application that provides a GUI builder, a text or code editor, a compiler and/or interpreter and a debugger. Visual Studio, Delphi, JBuilder, FrontPage and DreamWeaver are all examples of IDEs.

    Quote Originally Posted by MystWind
    how long do you think it will take me to get to a high c++ programming level ?
    I would personally consider myself to straddle the intermediate/advanced levels of programming knowledge. I've been doing this for 6 or 7 years and I'm still learning or being expossed to something new at least a couple times a month.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  8. #8
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    gr8 , thanks for the awnsers ,, wow , you're doing this for 7 years and you think your intermediate? hmm , I'm might being to enthousiastic...
    PLay MystWind beta , within two years

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. newbie: array question :(
    By cstudent in forum C Programming
    Replies: 2
    Last Post: 04-09-2008, 06:46 AM
  2. getting to grips with allegro and ms vc++ (newbie)
    By jimjamjahaa in forum C++ Programming
    Replies: 4
    Last Post: 11-18-2005, 07:49 PM
  3. Newbie in problem with looping
    By nrain in forum C Programming
    Replies: 6
    Last Post: 11-05-2005, 12:53 PM
  4. Some help for a newbie?
    By Ilmater in forum C++ Programming
    Replies: 23
    Last Post: 04-19-2004, 07:44 PM
  5. Newbie Game Develpoers Unite!
    By Telenosis in forum Game Programming
    Replies: 10
    Last Post: 06-22-2002, 02:02 PM