Code::Blocks Forums

User forums => Help => Topic started by: Brillig79 on February 04, 2011, 11:40:08 pm

Title: " Could not open file 'main.cpp'" n00b here.
Post by: Brillig79 on February 04, 2011, 11:40:08 pm
I just recently downloaded CB for a class, went to run it to test it out, when I go to enter the file name I get an <invalid path> message followed by "could not open file 'main.cpp'. The file does not exist" Where do I go to fix this?
Title: Re: " Could not open file 'main.cpp'" n00b here.
Post by: Jenna on February 04, 2011, 11:58:04 pm
A little less information.
You did not tell us which OS you are on, which version of C::B you use and what exact you have made to come to this message.
Title: Re: " Could not open file 'main.cpp'" n00b here.
Post by: Brillig79 on February 05, 2011, 06:02:18 pm
OS: WIndows XP
C::B 10.05
 What I am doing is going in to create a new project, Console app wizard comes up, next screen select c++, in the next screen where it asks you to enter the project title, folder to create, project file name, in the box where it should have the resulting file name is where I am getting the message <invalid path>
Title: Re: " Could not open file 'main.cpp'" n00b here.
Post by: Jenna on February 05, 2011, 06:38:31 pm
Did you enter (or chose) a valid path for the folder to create project in ?
Title: Re: " Could not open file 'main.cpp'" n00b here.
Post by: Brillig79 on February 05, 2011, 07:18:27 pm
Ah. Ok. I see what I was missing. Yup, that worked. THANKS!!!