Feature #3183 2007-02-27 03:13

lane_mcnair

main.cpp auto creation is bad

Hi, I just started using Code::Blocks, and I think it's great, except for one thing...

I don't think that it's a very good thing that it automatically saves the default "main.cpp" when you choose to create a new project. The simple reason for this is that if you already have a file of that name in the same directory, it is overwritten, and all of the work contained is lost. In fact, this problem was brought to my attention in just that manner; I lost 2 weeks worth of work in an instant. ( oh well, maybe I'll do a better job this time :) )

Well, anyway, thanks for listening, and Code::Blocks is awesome!

- Lane

Category
 
Status
Closed
Close date
2007-07-06 09:01
Assigned to
 
biplab 2007-03-19 06:14

Hi lane_mcnair,

Project wizards gives you warning that the project folder exists. Once you get this warning you should not ignore it and continue on recreating the project.

Project wizard assumes that once you've said Yes to overwrite existing project, you're also asking the wizard to overwrite everything.

Regards,

Biplab