Code::Blocks is a free, open-source, cross-platform and extensible C++ IDE with some support for a few other languages such as D and Fortran.

learn more… | top users | synonyms

1
vote
0answers
11 views

Codeblocks and boost on Windows 7

Attempting to set up CodeBlocks and boost on Windows 7, 64-bit. This is what I've tried... http://wiki.codeblocks.org/index.php?title=BoostWindowsQuickRef Downloaded and Installed CodeBlocks 12.11 ...
0
votes
2answers
31 views

How to comma separate a string read from a file and then saving it in an array

This is the text file that i have created NameOfProduct,Price,Availability. Oil,20$,yes Paint,25$,yes CarWax,35$,no BrakeFluid,50$,yes I want to read this data from the file line by line and then ...
1
vote
1answer
32 views

Getting GLEW to compile in Code::Blocks

I'm wanting to get into and learn OpenGL in C++ and am using Code::Blocks. I was able to get freeglut to work, along with several online examples (as well as the example that ships with CB). However, ...
0
votes
0answers
16 views

gtkglext in Code Blocks on Windows — What am I missing?

I would like to use gtkglext with Code Blocks on my Windows computer. I downloaded gtk-2.0 and gtkglext-1.0. I then added the following directories to my compiler, linker, and resource compiler: ...
0
votes
1answer
36 views

Issue with `int` vs. `double` - why isn't my program working?

I have just started teaching myself C++ after 2+ years of working with MATLAB and wanting something a little more robust. I am currently using code::blocks with MinGW I am trying to get the hang of ...
0
votes
2answers
60 views

Why does the character sequence //(* change the font of the rest of my source file in codeblocks 12.11?

If I add //(* to an un-commented line in my source code, the rest of the font becomes italicized and changes color. The code still seems to compile however. And I cannot find a way to "undo" this ...
-5
votes
0answers
25 views

Assimp OpenGL sample giving me errors [closed]

I added search directories to the compiler and linker. When i build the project ( SimpleOpenGL) it gives me 19 errors each starting with "undefined reference to". I'm working on Windows in the ...
0
votes
0answers
35 views

Undefined references with latest SDL 2.0 build

I've been using an old version of SDL2 for a while now, and never had any problems; but now it looks like things aren't linking properly, and I have no idea why. Here's the entire program: #include ...
0
votes
1answer
35 views

link executable to codeblocks

I have a Code::Blocks project and the final executable is all that matters. It's written in C, but there is also a task that I cannot write in that language, so I'm doing it in Java. My dilema is how ...
0
votes
0answers
49 views

My .exe file has stopped working [closed]

I'm using code blocks for writing a c program and when I compile it its not showing any errors but when I run it it says prog.exe has stopped working (I saved it as prog.c) Can anyone explain me whats ...
0
votes
1answer
12 views

sndfile.h C CodeBlocks Windows 7

I'm working on CodeBlocks 12.11 on windows 7 (64 bit). I'm programming in C and i'm using the library: libsndfile (http://www.mega-nerd.com/libsndfile/api.html) to easily read a .wav and convert it ...
3
votes
2answers
55 views

Error with Structs

I am beginning to teach myself C++ and have come across an error for which I believe is quite simple but not catching it. I created the following header file named EmployeeT.h #ifndef ...
0
votes
1answer
65 views

'vector' in namespace 'std' does not name a type

I am developing a C++ application using CodeBlocks 10.05 on Debian 7.0.0. For some reason, the following code #include <iostream> std::vector< int > delaunayDiv(const std::vector< ...
0
votes
1answer
16 views

Error creating a window in windows “undefined reference to 'WinMain@16'”

#ifndef UNICODE #define UNICODE #endif #include <windows.h> LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE ...
0
votes
1answer
43 views

Preprocessing Failed

I've been trying to compile Ogre for weeks now, alternately trying to use the precompiled version (which was apparently incompatible with the same compiler it was built with), and now I've figured ...

1 2 3 4 5 65
15 30 50 per page