Placing Classes in separate files (tutorial no.15) error .

0 Vipin Murukesan · May 29, 2015
Hi I am following the same method as in tutorial but i am getting a  build failed message
No such file or directory.
(But all my files ie main.cpp,ginger.h,ginger.cpp) are in same folder.btw ginger is my class name :-) 

Am i missing something?
Plz help as i am stuck with tutorials from 42 onwards as i am unable to try them out as my classes are not running !!

Thanks,
Vipin

Post a Reply

Replies

Oldest  Newest  Rating
0 Vipin Murukesan · May 30, 2015
Hey i figured it out

u need to uncheck the following while creating a new class-

Add paths to project

and

Use relative path

Code blocks 13.12 has these while Mr.Buckys version does not.:)
  • 1

C++

107,068 followers
About

Used in many types of software including music players, video games, and many large scale applications.

Links
Moderators
Bucky Roberts Administrator