Hi all, I'm not totaly new to programing but I'm trying to learn a bit of c++ using C++ For Dummies.
it came with dev c++ but i downloaded the latest version 4.9.9.2 and iv also just updated gdb to version 6.3-1 but whenever i run the debugger in dev c++ i just get the "do you want to send an error report" message giving a code of 0xc0000005.
if i run the gdb.exe file in devcpp/bin/ then itl start fine. i had a skim through the help system in gdb but couldnt figure how to test a file to see wether or not it would work.
if someone could tell me how then that would probably help or if anyone has any ideas what the problem could be?
like i said its devc++ 4.9.9.2, gdb 6.3-1 and im using windows xp x64 and the problem happens always, even with a simple hello world program.
thanks for any help, Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for the help and fast response. i finaly finished downloading vc++2005 express and its debugger works great though i think the interface in general is a bit horrific...is there realy no simple button to compile? all i could find from the equaly horrific help files was how to do it using the command line lol but still it was the debugger that mattered and it works. so thanks again
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Check the main menu's build tab. Assign a shortcut key to the selections you use often. Note that you must have a "solution" loaded for the "build" tab to appear.
Use one of the default project templates - modify it to suit your needs, then save it so you can reuse it to start other projects by just renaming it.
Also note that a "solution" can consist of multiple "projects", or just one.
It takes some time to get used VC++, but well worth the effort in many ways.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-10-14
>> is there realy no simple button to compile?
Yes of course! If you cannot see it it is becauuse you have not yet created a project (File->New->Project - just like Dev-C++!). You have to do that at least! You cannot simply create a file and compile it as in Dev-C++ (which is a nasty thing to do in any case).
If after that, if it is not displayed, right-click and empty space in on the tool-bar strip and make sure the 'build' bar is checked. On the build bar, click the drop-down on it's right-hand side to add more buttons. If you window is not large enough to accomodate all the enabled buttons, additional ones are also shown under this drop down.
All the tool-bar button options are also available via menus (in this case the build menu).
Apologies to BoogieGLX, I just noticed I have said almost the same as you. Oh well, I'll let it stand two explanations may be better than one!
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Even if you used GDB through Dev-C++, it is buggy and Dev-C++'s front end is rudimentary at best.
You might fair better using Insight for debugging this is GDB with an integrated GUI front-end. Get a MInGW version from www.mingw.org. It has the same command line invocation as GDB and can be integrated with Dev-C++ via the Tools menu customisation feature.
Even then GDB is not a great debugger. VC++2005 Express is free and has a class leading debugger.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all, I'm not totaly new to programing but I'm trying to learn a bit of c++ using C++ For Dummies.
it came with dev c++ but i downloaded the latest version 4.9.9.2 and iv also just updated gdb to version 6.3-1 but whenever i run the debugger in dev c++ i just get the "do you want to send an error report" message giving a code of 0xc0000005.
if i run the gdb.exe file in devcpp/bin/ then itl start fine. i had a skim through the help system in gdb but couldnt figure how to test a file to see wether or not it would work.
if someone could tell me how then that would probably help or if anyone has any ideas what the problem could be?
like i said its devc++ 4.9.9.2, gdb 6.3-1 and im using windows xp x64 and the problem happens always, even with a simple hello world program.
thanks for any help, Martin
thanks for the help and fast response. i finaly finished downloading vc++2005 express and its debugger works great though i think the interface in general is a bit horrific...is there realy no simple button to compile? all i could find from the equaly horrific help files was how to do it using the command line lol but still it was the debugger that mattered and it works. so thanks again
Check the main menu's build tab. Assign a shortcut key to the selections you use often. Note that you must have a "solution" loaded for the "build" tab to appear.
Use one of the default project templates - modify it to suit your needs, then save it so you can reuse it to start other projects by just renaming it.
Also note that a "solution" can consist of multiple "projects", or just one.
It takes some time to get used VC++, but well worth the effort in many ways.
>> is there realy no simple button to compile?
Yes of course! If you cannot see it it is becauuse you have not yet created a project (File->New->Project - just like Dev-C++!). You have to do that at least! You cannot simply create a file and compile it as in Dev-C++ (which is a nasty thing to do in any case).
If after that, if it is not displayed, right-click and empty space in on the tool-bar strip and make sure the 'build' bar is checked. On the build bar, click the drop-down on it's right-hand side to add more buttons. If you window is not large enough to accomodate all the enabled buttons, additional ones are also shown under this drop down.
All the tool-bar button options are also available via menus (in this case the build menu).
Apologies to BoogieGLX, I just noticed I have said almost the same as you. Oh well, I'll let it stand two explanations may be better than one!
Clifford
thanks again slocombe and boogieGLX for the help. i tried what you said and its much easier to compile now. thank you.
You could use GDB from the command line, but it is hard work. The manual is at http://www.gnu.org/software/gdb/documentation/
Even if you used GDB through Dev-C++, it is buggy and Dev-C++'s front end is rudimentary at best.
You might fair better using Insight for debugging this is GDB with an integrated GUI front-end. Get a MInGW version from www.mingw.org. It has the same command line invocation as GDB and can be integrated with Dev-C++ via the Tools menu customisation feature.
Even then GDB is not a great debugger. VC++2005 Express is free and has a class leading debugger.