-
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 … -
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 … -
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 … -
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`" … -
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 … -
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 … -
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 … -
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 … -
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 … -
Replied To a Post in cin.getline CS getline(cin, arg)
Thanks mike, that answered my question. -
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 … -
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 … -
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 … -
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) … -
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) … -
Replied To a Post in overloading operators
I hope I can keep all of this straight. Thanks. -
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 … -
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 … -
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: … -
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 … -
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 … -
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 … -
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: … -
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: … -
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 … -
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 … -
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 … -
Replied To a Post in Small program not compiling
Thanks. -
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 … -
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 … -
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? -
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 … -
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 … -
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. … -
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. … -
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 … -
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 … -
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 … -
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 … -
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 … -
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 … -
Replied To a Post in compiling errors and sdl
 -
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. -
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; … -
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() { … -
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() { … -
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 … -
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 … -
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 … -
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.