Whaaat?? 18mb?? This can't be! Basically all what I am loading is 2 small sprite grids with ~70 Kbs altogether. Maybe I am just loading them more than once resulting in that ...
So, I tried Orwel's Dev-C++ 5.4.2 and it compiled. However, when I come to run the exe, nothing opens. Tried using debugging mode, and some very weird stuff happened.
1-I placed breakpoints all over the 2 files (the main and the header file), but the debugger would ignore everything, and jumps into this line:
http://i33.servimg.com/u/f33/16/27/78/35/screen12.png
2-I clicked on 'next line', and the debugger moved normally to the next line:
http://i33.servimg.com/u/f33/16/27/78/35/screen13.png
3-I clicked on 'next line' once more expecting that the debugger would enter the main function, but then:
http://i33.servimg.com/u/f33/16/27/78/35/screen15.png
It jumped to the closing bracket of the function 'breakpoints invalid'...
4-Tried clicking 'next line' 3 more times, and I received a 'segmentation fault':
http://i33.servimg.com/u/f33/16/27/78/35/screen16.png
5-Clicking on ok with 'show CPU window' checked:
http://i33.servimg.com/u/f33/16/27/78/35/screen17.png
:
Thanks ne555, I appreciate your time and dedication =)
So, I tried Orwel's Dev-C++ 5.4.2 and it compiled. However, when I come to run the exe, nothing opens. Tried using debugging mode, and some very weird stuff happened.
1-I placed breakpoints all over the 2 files (the main and the header file), but the debugger would ignore everything, and jumps into this line:
http://i33.servimg.com/u/f33/16/27/78/35/screen12.png
2-I clicked on 'next line', and the debugger moved normally to the next line:
http://i33.servimg.com/u/f33/16/27/78/35/screen13.png
3-I clicked on 'next line' once more expecting that the debugger would enter the main function, but then:
http://i33.servimg.com/u/f33/16/27/78/35/screen15.png
It jumped to the closing bracket of the function 'breakpoints invalid'...
4-Tried clicking 'next line' 3 more times, and I received a 'segmentation fault':
http://i33.servimg.com/u/f33/16/27/78/35/screen16.png
5-Clicking on ok with 'show CPU window' checked:
http://i33.servimg.com/u/f33/16/27/78/35/screen17.png
:
Thanks ne555, I appreciate your time and dedication =)
Dev C++ C++17
The C Tutorial LearnCpp.com is a free website devoted to teaching you how to program in C. Whether you’ve had any prior programming experience or not, the tutorials on this site will walk you through all the steps to write, compile, and debug your C programs, all with plenty of examples.
Dev Cpp Compiler Options
- Dev-C is a free IDE for Windows that uses either MinGW or TDM-GCC as underlying compiler. Originally released by Bloodshed Software, but abandoned in 2006, it has recently been forked by Orwell, including a choice of more recent compilers. It can be downloaded from. And save it with some file name with a.cpp extension, such as example.cpp.
- Jul 16, 2009 How to install Dev-Cpp, OpenGL, and GLUT for Windows. How to Install Dev-C and the GLUT Libraries for Compiling OpenGL Programs with ANSI C (version of July 16, 2009) These notes explain how to compile programs written in ANSI C with OpenGL and GLUT using the Dev-C compiler. Bloodshed Dev-C is a free C compiler and development.