Photovalve
Programmer
I'm sure this is an obvious question for those in the know. I am fairly new to Visual C++ and have always had a problem with header files. Adding
#include <stdio.h>
causes no problem. It's when I want to include my own, local header files. I go to
Settings>>Add to Project>>Files
and add the header files I need. They duly appear in my project window and I refer to them using
#include "myheader.h"
but when I try to compile my C code I always seem to get a
"cannot find myheader.h" error.
I'm sure this is really simple but I've never beena ble to ask anyone before. I'd really appreciate tips.
Thanks
Photovalve
#include <stdio.h>
causes no problem. It's when I want to include my own, local header files. I go to
Settings>>Add to Project>>Files
and add the header files I need. They duly appear in my project window and I refer to them using
#include "myheader.h"
but when I try to compile my C code I always seem to get a
"cannot find myheader.h" error.
I'm sure this is really simple but I've never beena ble to ask anyone before. I'd really appreciate tips.
Thanks
Photovalve