0

Linking separate class file to main

I created a new class for a program on code::blocks and it won't link with my main code despite I included the header file. Can anyone tell me why it won't connect because it giving me this message "no such file or directory".

3rd Oct 2016, 3:55 PM
James Watt
1 Resposta
0
mhm maybe there is a directory problem, the file of the clas and the main are in the same directory? also try it outside of code blocks for make sure the problem is not in the IDE
3rd Oct 2016, 6:08 PM
Ernesto Salvetti
Ernesto Salvetti - avatar