7 Solved Topics

Remove Filter
Member Avatar for predator78

Hi from what I have seen this should be correct but compiler is complaining. [CODE] #include <iostream> #include <string> using namespace std; // player class class Player{ int *position; string name; public: Player(); ~Player(); void set_name(){ cout << "enter name: "; getline(cin,name); cout << "name is now: " << name …

Member Avatar for predator78
0
98
Member Avatar for predator78

Need some help here it seems to compile fine but crashes at runtime. Am I missing something here? [CODE] #include <iostream> #include <string> using namespace std; // player class class Player{ int *position; public: Player(); Player(int); ~Player(); void print_pos(){ cout << "player 1 is in position: " << *position << …

Member Avatar for predator78
0
92
Member Avatar for predator78

Hello I'm learning a bit about data structures for the first time and so far I seem to understand how they work "I think" at this stage. My questions at this point would be. 1. Are data structures essentially classes minus methods which can preform actions on the memebers that …

Member Avatar for NicAx64
0
379
Member Avatar for predator78

Hey guys I finally got my word unscrambler working the other day, now I fire it up with same code same everything and for some reason getting double output from a list that shouldn't be. So if someone could either look this over and find a problem or maybe do …

Member Avatar for ZZucker
0
212
Member Avatar for predator78

Hey all, still working on my lil program. But now that I'm getting into loops I'm pretty confused on this one. Needless to say I think this is the first while loop I have used since I started python about a week ago. What I'm trying to do at this …

Member Avatar for predator78
0
117
Member Avatar for predator78

Hey guys, I been working on a small project I found on another forum. It's supposed to decode scrambled word from a word list in 30 sec or less. Well I'm pretty noobish so my method might not be all that great, but I'm giving it a go and learning …

Member Avatar for predator78
0
163
Member Avatar for predator78

[COLOR="Green"]Hello all, I'm new to the forum and also to python :D. Anyway I have been enjoying it quite a bit and wanted to start into something a bit more technical. So I though sockets would be a good start. I found a great sight , but the first script …

Member Avatar for predator78
0
143

The End.