Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Beginers question

This topic is 6187 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have just started to learn C++ so i am reading books that gives examples to help me get good. I am readng Introduction to Microsoft Visual C++ 6.0 by Ivor Horton. In one of the first examples he explains how to make crossword puzzles. While half way through i built the project and 5 errors showed up. When i clicked to see what the errors are a header file i never seen before poped up. The file is really long and i dont know where it came from. If there is any way somebody can help me that would be great. Steve

Share this post

Link to post
Share on other sites
It means that you typed something in incorrectly, or there''s a typo in the book (which happens alot).

When you make a windows program you have to include a whole bunch of code written by Microsoft, that header is some of that code.

Share this post

Link to post
Share on other sites
You might want to start with compiling a hello world program.

here is the code


using namespace std;

void main()
cout << "Hello";

Share this post

Link to post
Share on other sites
Original post by Magmai Kai Holmlor
...program you have to include a whole bunch of code...that header is some of that code.

To elaborate on this statement sometimes when you include files and then you use these identifiers in your code but use them incorrectly, VC++ will give you an error response when compiling. Some of these messages are along the lines of "...error using blah. See definition of blah" and when you click on that it takes you to the definition. It is important to understand that there is nothing wrong with that portion of the code, but rather the way you are trying to use it in your code.

I''m not saying that there isn''t bugs even with the code that ships with VC (or any other compiler ) but you''re better off not changing any other source code that came with your compiler, libraries, etc unless you really know what you are doing. At the very least make a copy of the file before your change it. On the other side of that coin, it''s a real good way to learn.


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!