Can you please check my code, when I run it in code blocks it shows me the following error : no directory matches ... Please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you please check my code, when I run it in code blocks it shows me the following error : no directory matches ... Please

https://code.sololearn.com/cMp2vzN93K1b/?ref=app https://code.sololearn.com/c72tMuaU2qAB/?ref=app

25th Apr 2020, 7:18 PM
The Rock
The Rock - avatar
6 Answers
+ 2
I guess, the .exe file and file which you include your class should be in same folder.
25th Apr 2020, 7:30 PM
Mustafa K.
Mustafa K. - avatar
+ 1
Thanks for your response 😊, in fact I run this into codeBlocks program in my PC in the same project file , and I faced problems then I posted here in sololearn.
25th Apr 2020, 7:34 PM
The Rock
The Rock - avatar
+ 1
Are you sure your .exe , class.cpp, class.h are all in same directory? If yes and still does not work, then idk.
25th Apr 2020, 7:40 PM
Mustafa K.
Mustafa K. - avatar
+ 1
I run these in separate files but in the same project c++
25th Apr 2020, 11:36 PM
The Rock
The Rock - avatar
+ 1
In this code we have the morher class : Personne and the the derived classes : CPilote, CHotesse, CPassager
25th Apr 2020, 11:39 PM
The Rock
The Rock - avatar