Bug #6865 2006-03-23 20:56

chaecker

Set programs' arguments doesn't accept \ at end

Project -> Set programs' arguments -> Program arguments

insert:

C:\Cim-RiMIS\Simulation_univativ\

The application

#include <iostream>

int main(int args, char* argv[]) {

cout<<argv[1]<< std::endl;

}

will print

C:\Cim-RiMIS\Simulation_univativdelete

instead of

C:\Cim-RiMIS\Simulation_univativ\

I get similar results when using another string ending with backslash.

I'm using C::B S V1RC2 on WinXP (downloaded with mingw-compiler)

Category
Application::WrongBehaviour
Group
 
Status
Closed
Close date
2006-03-31 10:44
Assigned to
 
ID_24639 2006-03-25 22:36

Hmm. Try a nightly build from here. Lots, and lots of bugs have been fixed. :)

http://forums.codeblocks.org/index.php?board=20.0

ID_24639 2006-03-27 22:16

This bug can be closed.

Version 1.0 revision 2264 does not have this problem.

mandrav 2006-03-31 10:44

This bug has been already fixed in HEAD.

Thank you.