Search:

Type: Posts; User: dark21

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    4,036

    thanks guys i will keep this in mind as i study...

    thanks guys i will keep this in mind as i study more c++ on my free time thanks I'll only post if im absolutely stuck but i think this experience will help me alot.
  2. Replies
    7
    Views
    4,036

    ok i did exactly what you said it worked thanks...

    ok i did exactly what you said it worked thanks guys. When you

    type this in their it finds the sdl libraries that it was complaining about?

    g++ -I/usr/include/SDL -lSDL -lSDL_image ...
  3. Replies
    7
    Views
    4,036

    Im using G++ a Linux compiler and runing it...

    Im using G++ a Linux compiler and runing it through the console

    and i just copied this code line for line. how would i go about telling the compiler about the library.

    I thought i did that...
  4. Replies
    7
    Views
    4,036

    I don't understand what this error means

    lesson01.cpp:(.text+0x27): undefined reference to `SDL_Init'
    lesson01.cpp:(.text+0x4b): undefined reference to `SDL_SetVideoMode'
    lesson01.cpp:(.text+0x62): undefined reference to `SDL_RWFromFile'...
  5. dark21

    thanks guys. by indent you mean add this right
    <<" lines of code ";<<
    or do you mean i should dobule space my code or do both?
  6. I need help with this program its from a C++ book

    #include <iostream>
    #include <string>
    #include <ctime>
    #include <cstdlib>

    using namespace std;
    int main( void )
    {
    srand(time(0)); // seed random number genrator
    string name; // used to...
Results 1 to 6 of 6