Hi im new to the site and pretty new to C++ programming
im trying to teach myself and there is afew fuzzy points but any ways
im trying to make a pretty simple text adventure game and to make the main source code smaller i figured i'd make my own header files to activate throughout the main app
when i tried it with a simple one line cout function it worked fine but then i tried to initialize variables for things like setting up damage and what not and the compiler kept giving me an error that said something like....
ERROR: error in header, reason: code in header
i looked at my compilers help and it said something about maybe how i initialized the variables, but it talked mainly about C to C++ transitioning.
will someone explain why this happening? Thank You.
Compiler: Borland C++ Builder
OS: Windows XP