ok im trying out the concept of splitting your program into multiple source files. i have 2 files main and loadmap
in main.cc I have
void loadmap(int);
in loadmap.cc i have
then when i try to use loadmap() in the file main.cc by going loadmap(map) (map is an int) and that doesnt work and i tried loadmap(1) and that didnt work so im guessing i need a header file somewere. but i dont know what to put in it. I also dont know the layout for a header.Code:void loadmap(int map) { . . . }
any help is appreciated.



LinkBack URL
About LinkBacks



but im having this error though i must say that the help you provided helped for this revision