User forums > Using Code::Blocks
Class and c++
(1/1)
Mauro:
Excuse me for my english.
I want to built a class. I built the file GradeBook.h that contain the defuinition of the class. Than I built the file GradeBook.cpp that contain the class. Than i go in main and, when i ask my class with instruction
GradeBook myGradeBook
I obtain some errors. How I can compile the class and than linking to the main souce?
Thank you.
drstikko:
Did you add your file to de codeblocks project?
Navigation
[0] Message Index
Go to full version