dev-c++

What's the most popular compiler, and what's so bad about MSVS?

Hello, I've been using MS Visual Studio for a lot of projects, but I notice a lot of people here like to complain about Microsoft and Visual Studio. So I'm wondering, what does everyone use? Dev-C++? mingw? What is popular? Also, what is bad about MSVS? What is "better" about the others? Thanks! --RKL ...

porting DevC++ to linux

Hi folks, I wanted to use DevC++ on Linux, so I've started it with wine and everything is OK until it came to run the file. The C file compiles well and a .exe files generated that is able to run on Linux (without wine) $ file '/media/F6AC746BAC74286F/Dev-Cpp/work/hello_on_nix.exe' /media/F6AC746BAC74286F/Dev-Cpp/work/hello_on_nix.ex...

Installing Allegro in Dev-C++ using their Packages

I'm trying to install Allegro in Dev-C++, and rather than do it manually, I noticed the new version was in the available packages, so that'd be easier. Here it is in the manager. Here it is showing itself containing the header file. And when I try to run the simplest of Allegro programs, it doesn't recognize it. Anyone know how to ...

Texturing a model

I have coded a 3d-terrain engine with simplistic model engine on top of it. I use a rectangular heightmap for my terrain, so texturing those triangles is pretty straightforward. However, on texturing my model i am a bit stuck. I use a custom model format, so answers like use blender or use 3ds will not be helpful. The reason for this...

Going from Dev-C++ to VC++

Yes, it's a noob question... I have been using Dev-C++ for all my projects so far, but it is incredibly outdated, and so where the libraries. So I opened up my copy of Visual C++ and copied the code. When I compile, a million errors pop up, as if every second line of my code is shit. I would hate to start the project again from scratch....

MessageBoxA in Windows AT&T Assembly

Hi guys, I'm trying to call MessageBoxA() directly in assembly, using gcc inline. However I need to do this in 2 ways: first is using dynamic addressing, with LoadLibrary() and GetProcAddress() - I found a tutorial about this, trying to follow it. But I'm also interested in calling directly the address of MessageBoxA, wich is 0x7e4507ea...

Defining Bytes in GCC Inline Assembly in Dev-C++(.ascii in AT&T syntax on Windows)

Hey guys, The code below is just showing a Message Box on the screen. The addresses are hardcoded to facilitate: int main () { asm("xorl %eax, %eax \n" "xorl %ebx, %ebx \n" "xorl %ecx, %ecx \n" "xorl %edx, %edx \n" "pushl %ecx \n" //$0x0 "pushl $0x20206...

Advanced debugging with dev-c++

I am normaly using Visual Studio 2008 Express, which is quite powerful, but some geeks in head of competition in programming said that we are allowed to use only Dev-C++ as compiler ( I know it's smaller but I think that competition should be about testing your skills in writting code not using all kind of compilers). Anyway in VS2008, e...

DevCPP / VS windows app header problem (noob)

I'm working through theForger's win32 tutorial, on two IDEs: Dev C++ and Visual Studio 2008. I try to duplicate results in both. For this page of the tutorial, I can't seem to compile in Dev C++ (Visual Studio works fine). It's a modal dialog box. The code in question is in WndProc: case ID_HELP_ABOUT: int ret = DialogBox(GetModul...