• Member Avatar for lewashby
    lewashby

    Replied To a Post in C++ graphics library

    Thanks mike_2000_17 I was thinking of starting with simple 2d graphics and animation for now rather than GUI or 3D programming. JasonHippy thanks, I'll give SFML a look. This stuff …
  • Member Avatar for lewashby
    lewashby

    Created C++ graphics library

    I've been reading 'Learn C++ By making Games' and it uses the SDL library. The problem is the book has poor code examples, a lot of them don't even show …
  • Member Avatar for lewashby
    lewashby

    Began Watching C++ graphics library

    I've been reading 'Learn C++ By making Games' and it uses the SDL library. The problem is the book has poor code examples, a lot of them don't even show …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in python path Linux

    Since the current value of $PYTHONPATH seems to be null I devided that overwritting it wasn't such a bad thing, my .bashrc file currently has this line -> `export PYTHONPATH="$HOME/bin.libpy`" …
  • Member Avatar for lewashby
    lewashby

    Created python path Linux

    I'm trying to add /home/garrett/bin/libpy/ to my python path so I can import my own libraries, I would also prefer not to overwrite the default python path but rather append …
  • Member Avatar for lewashby
    lewashby

    Began Watching python path Linux

    I'm trying to add /home/garrett/bin/libpy/ to my python path so I can import my own libraries, I would also prefer not to overwrite the default python path but rather append …
  • Member Avatar for lewashby
    lewashby

    Marked Solved Status for ifstream?

    In the following program what is `ifstream`? It looks like it might be a Class name making `file_in` an object of that class passing `filename` as an argument but this …
  • Member Avatar for lewashby
    lewashby

    Created ifstream?

    In the following program what is `ifstream`? It looks like it might be a Class name making `file_in` an object of that class passing `filename` as an argument but this …
  • Member Avatar for lewashby
    lewashby

    Began Watching ifstream?

    In the following program what is `ifstream`? It looks like it might be a Class name making `file_in` an object of that class passing `filename` as an argument but this …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in cin.getline CS getline(cin, arg)

    Thanks mike, that answered my question.
  • Member Avatar for lewashby
    lewashby

    Marked Solved Status for cin.getline CS getline(cin, arg)

    One of my C++ books was showing the line `cin.getline(arg, arg)` and later showing `getline(cin, arg)`. Why is the second one not object.function and yet have the object as one …
  • Member Avatar for lewashby
    lewashby

    Created cin.getline CS getline(cin, arg)

    One of my C++ books was showing the line `cin.getline(arg, arg)` and later showing `getline(cin, arg)`. Why is the second one not object.function and yet have the object as one …
  • Member Avatar for lewashby
    lewashby

    Began Watching cin.getline CS getline(cin, arg)

    One of my C++ books was showing the line `cin.getline(arg, arg)` and later showing `getline(cin, arg)`. Why is the second one not object.function and yet have the object as one …
  • Member Avatar for lewashby
    lewashby

    Created oop I'm not getting

    #include <iostream> class Book { public: Book(char* char*); private: char* title; // dynamic pointer to char array char* author; // dynamic pointer to char array public: Book& Book::operator=(const Book& b) …
  • Member Avatar for lewashby
    lewashby

    Began Watching oop I'm not getting

    #include <iostream> class Book { public: Book(char* char*); private: char* title; // dynamic pointer to char array char* author; // dynamic pointer to char array public: Book& Book::operator=(const Book& b) …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in overloading operators

    I hope I can keep all of this straight. Thanks.
  • Member Avatar for lewashby
    lewashby

    Created overloading operators

    The book I'm using continues to give me code and fails to explain the syntax. I got to a chapter on operator overloading and it gave me some code but …
  • Member Avatar for lewashby
    lewashby

    Began Watching overloading operators

    The book I'm using continues to give me code and fails to explain the syntax. I got to a chapter on operator overloading and it gave me some code but …
  • Member Avatar for lewashby
    lewashby

    Marked Solved Status for private VS protected

    What is the difference between these two classes? In the second one `protected:` looking like it isn't doing anything at all, there's nothing under it umbrella. class Tank { protected: …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in private VS protected

    DonnSchwartz - I get what public, private, & protected are doing inside a class but I don't understand why it need to me in the class decloration of a derived …
  • Member Avatar for lewashby
    lewashby

    Marked Solved Status for structures VS unions

    I'm reading my C++ book and I've come to a chapter on structures and unions. The book has tried to explain the difference but I'm not getting it's explanation. Playing …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in private VS protected

    Thanks guys, here's another question. While my book was explaining the difference between public and private within a class it have me this line `class Hombre : public Man` but …
  • Member Avatar for lewashby
    lewashby

    Created private VS protected

    What is the difference between these two classes? In the second one `protected:` looking like it isn't doing anything at all, there's nothing under it umbrella. class Tank { protected: …
  • Member Avatar for lewashby
    lewashby

    Began Watching private VS protected

    What is the difference between these two classes? In the second one `protected:` looking like it isn't doing anything at all, there's nothing under it umbrella. class Tank { protected: …
  • Member Avatar for lewashby
    lewashby

    Created vim after new installation

    I recently re-installed my Mint system and now vim does not auto indent when writing code and has poor color coding. Does any one know what I need to change …
  • Member Avatar for lewashby
    lewashby

    Began Watching vim after new installation

    I recently re-installed my Mint system and now vim does not auto indent when writing code and has poor color coding. Does any one know what I need to change …
  • Member Avatar for lewashby
    lewashby

    Marked Solved Status for Small program not compiling

    I'm reading 'C++ Programming in easy steps' and the program the book has given me will not compile. Compile line -> `g++ -g -Wall "${ARG}" -o "${ARG:: -4}" &&` ARG …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in Small program not compiling

    Thanks.
  • Member Avatar for lewashby
    lewashby

    Created Small program not compiling

    I'm reading 'C++ Programming in easy steps' and the program the book has given me will not compile. Compile line -> `g++ -g -Wall "${ARG}" -o "${ARG:: -4}" &&` ARG …
  • Member Avatar for lewashby
    lewashby

    Began Watching Small program not compiling

    I'm reading 'C++ Programming in easy steps' and the program the book has given me will not compile. Compile line -> `g++ -g -Wall "${ARG}" -o "${ARG:: -4}" &&` ARG …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in structures VS unions

    When you say 'member' are you refering to the, what would be an object if the structure were a class or something else?
  • Member Avatar for lewashby
    lewashby

    Created structures VS unions

    I'm reading my C++ book and I've come to a chapter on structures and unions. The book has tried to explain the difference but I'm not getting it's explanation. Playing …
  • Member Avatar for lewashby
    lewashby

    Began Watching structures VS unions

    I'm reading my C++ book and I've come to a chapter on structures and unions. The book has tried to explain the difference but I'm not getting it's explanation. Playing …
  • Member Avatar for lewashby
    lewashby

    Created rand and srand

    In the program below what is the difference between rand and srand? My book says that rand returns an int between 0 and RAND_MAX, which is never smaller than 32,767. …
  • Member Avatar for lewashby
    lewashby

    Began Watching rand and srand

    In the program below what is the difference between rand and srand? My book says that rand returns an int between 0 and RAND_MAX, which is never smaller than 32,767. …
  • Member Avatar for lewashby
    lewashby

    Marked Solved Status for php and apache

    I just re-installed my Mint system and now I can't get php to work. I've tested apache and it seems to be working just fine, entering localhost into the URL …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in php and apache

    Thanks guys. I'll take a look at changing the root in the config file. Is there any reason not to use a web folder in my home directory instead of …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in php and apache

    I had to move all of my php and html files into /var/www/html/ instead of just /var/www/ and now it seems to be working just fine. I've never seen apache …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in php and apache

    I just changed the group for www and all sub files to www-data but I'm still getting the same result. Any other ideas? I just found something by looking at …
  • Member Avatar for lewashby
    lewashby

    Created php and apache

    I just re-installed my Mint system and now I can't get php to work. I've tested apache and it seems to be working just fine, entering localhost into the URL …
  • Member Avatar for lewashby
    lewashby

    Began Watching php and apache

    I just re-installed my Mint system and now I can't get php to work. I've tested apache and it seems to be working just fine, entering localhost into the URL …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in compiling errors and sdl

    ![8d3acca065d54f6b1a2b6002566565f0](/attachments/small/2/8d3acca065d54f6b1a2b6002566565f0.png "align-left")
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in compiling errors and sdl

    I changed SDL_Set_VideoMode to SDL_SetVideoMode and it almost worked. All it did was give me screen terrible resolution and a few errors on the command line as the program ran.
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in compiling errors and sdl

    Fixed that now here's what I'm getting. #include <SDL/SDL.h> #include <stdio.h> #include <stdlib.h> int main() { SDL_Surface *screen; if(SDL_Init(SDL_INIT_VIDEO) != 0) { printf("Unable to initialize SDL: %s\n", SDL_GetError()); return 1; …
  • Member Avatar for lewashby
    lewashby

    Created compiling errors and sdl

    I copied the following from a back but I'm getting the erros that you see at the bottom of the page. #include <SDL/SDL.h> #include <stdio.h> #include <stdlib.h> int main() { …
  • Member Avatar for lewashby
    lewashby

    Began Watching compiling errors and sdl

    I copied the following from a back but I'm getting the erros that you see at the bottom of the page. #include <SDL/SDL.h> #include <stdio.h> #include <stdlib.h> int main() { …
  • Member Avatar for lewashby
    lewashby

    Marked Solved Status for gcc -c

    I'm reading a book on C and it's telling me how to use gcc and about the -c option/flag. It reads "-c Compiles to an object (.o) file instead of …
  • Member Avatar for lewashby
    lewashby

    Created gcc -c

    I'm reading a book on C and it's telling me how to use gcc and about the -c option/flag. It reads "-c Compiles to an object (.o) file instead of …
  • Member Avatar for lewashby
    lewashby

    Began Watching gcc -c

    I'm reading a book on C and it's telling me how to use gcc and about the -c option/flag. It reads "-c Compiles to an object (.o) file instead of …
  • Member Avatar for lewashby
    lewashby

    Replied To a Post in grub

    Windows 8 was installed first because that's what came with the computer. Then I added to SSD for Linux, one for the OS and one for my home DIR. Everything …

The End.