Pete,
A header file is a directory to where some information for a program is stored, for examle #include(iostream)is the header file for the input/output stream of your program.You can't use cout and cin without this header file included in your program, because it would not work. A custom...
I created my own header file for a program, but it keeps giving me an error that there is no such directory. Any suggestions on how to make my custom header file work? If you need a copy of my project to find the error, I am willing to post it in order to get a solution to my problem. Thanks...
Robertd,
Guess what! I got it to work. I just trashed the old workspace and created a new one and it worked fine. Thanks for your help though! I really appreciate it. :)
EM
Robertd,
Thanks for replying.
My compiler only supports WIN 32 so I am unable to change to a WIN 16. Do you have any other suggestions as to how I can fix this error?
EM
Does anyone know why I'm getting this error when linking this program. It compiles OK, just fails when linking:
error LNK2001: unresolved external symbol _WinMain@16
Here's the program I'm working on:
//A simple game of guess the number
#include <iostream>
using std::cout;
using std::cin...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.