C++ Funtion/Include Problems.

This is a discussion on C++ Funtion/Include Problems. within the C++ Programming forums, part of the General Programming Boards category; I did. That worked. Then I added monster.cpp and monster.h. There was an error. (i typed #end instead of #endif) ...

  1. #46
    Registered User
    Join Date
    Apr 2005
    Posts
    26
    I did. That worked.

    Then I added monster.cpp and monster.h.

    There was an error. (i typed #end instead of #endif)

    So I fixed that.

    AND IT F@"!G WORKS!

    Thank you so much for your help. I think it must be something to do with how I added to the project, Something didn't compute (maybe an error since I'm using the last "stable" release, methinks) So from now on, people if you have problems including files, a better way to do it than the "add to project" feature, is to

    Right click on the project in the left section
    Click "new file"
    Copy paste your code in
    then "rename file"

    Done.

    Thank you so much 7stud. Maybe one day I will be able to help people code on here too
    I'm using Dev-C++ 4.9.8.0

  2. #47
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    Alriiight!

    You can learn a lot by explaining things to other people. In addition, as you get more experienced you tend to lose touch with how beginners think, so a beginner can often explain things better to another beginner. No matter how much a person knows about programming, there is usually someone somewhere who can program circles around them. So, jump in any time.
    Last edited by 7stud; 04-24-2005 at 08:05 AM.

  3. #48
    Registered User
    Join Date
    Apr 2005
    Posts
    26
    Lol, I've already run in to my next set of problems, but this time I have some limited Idea about them, so it shouldn't be a problem.
    I'm using Dev-C++ 4.9.8.0

  4. #49
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,720
    By the way, you might want to download a newer version of Dev-C++.

    The current version is 4.9.9.2, and the next might just be the 5.0 final, if everything goes right.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Page 4 of 4 FirstFirst 1234
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 02:59 AM
  2. C Pointers Problems
    By mhelal in forum C Programming
    Replies: 8
    Last Post: 01-10-2007, 05:35 AM
  3. String Manipulation problems -_-
    By Astra in forum C Programming
    Replies: 5
    Last Post: 12-13-2006, 04:48 PM
  4. Rendering problems (DirectX?)
    By OnionKnight in forum Tech Board
    Replies: 0
    Last Post: 08-17-2006, 12:17 PM
  5. contest problems on my site
    By DavidP in forum Contests Board
    Replies: 4
    Last Post: 01-10-2004, 08:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21