Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Mauro on September 13, 2008, 03:54:35 pm

Title: Class and c++
Post by: Mauro on September 13, 2008, 03:54:35 pm
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.
Title: Re: Class and c++
Post by: drstikko on September 15, 2008, 10:18:21 am
Did you add your file to de codeblocks project?