problem about dev-c++-Collection of common programming errors


  • VolatileStorm
    templates linker-error dev-c++
    I apologise for what I’m pretty sure is a fairly stupid question, but I can’t get it to work!I’m also not sure what information is too much information so I probably won’t give enough info so sorry for that too – just ask.I began writing a class within main.cpp, and it got large so I decided to shift it to a different source file. I’m not too sure on how to do this, and can’t figure anything to help fix this specific problem from internet resources (hence the asking).I started off with the class definition including all of the function definitions above the main program function. This ru

  • ldemarco
    windows compiler dev-c++
    I’m just learning to program Windows Programs in C++ and use the Dev-C++ IDE. The first program I’m trying to compile is the following example from the MSDN site:#ifndef UNICODE #define UNICODE #endif #include LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, PWSTR pCmdLine, int nCmdShow) {// Register the window class.const wchar_t C

  • genpfault
    c++ opengl textures glut dev-c++
    I’m having problems with getting the SOIL library for graphics to work. Kind of hard to explain so I’ll just paste in the code:#include #include #include #include #include “SOIL.h” GLuint texture[1];void texLoad() {texture[0] = SOIL_load_OGL_texture(“img_test.png”, SOIL_LOAD_AUTO, SOIL_CREATE_NEW_ID, SOIL_FLAG_INVERT_Y); }int LoadGLTextures(int ID) {glBindTexture(GL_TEXTURE_2D, texture[ID]);glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR);glTexParameteri(GL_TEXTURE_2

  • milleniumbug
    c++ dev-c++
    Here is my code :#include #include #include #include main() {char a[120];int b;coutb;cout

Originally posted 2013-11-06 03:17:26.