Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 7
c x 2
java x 2
Member Avatar for balgarath

alright, I have most of this hammered out, but still a couple problems I cant figure out. in the player class, the Nextmove function is not working for me. It uses the setvalue function in TicTacToe class(which works fine by itsself) also there are problems assigning player names that I …

Member Avatar for zeinab sadat
0
140
Member Avatar for balgarath

Its been years since I've used Java, this one is stumping me... I implemented my own Observer/Observable interfaces for use with a 2-way RMI setup(I'm sure theres a better name but I don't know it yet). I have 2 interfaces ToyStore and ToyFactory. ToyStore extends Remote implements Observer, ToyFactory extends …

Member Avatar for masijade
0
161
Member Avatar for balgarath

(c++) Ok so I understand how to use the system function, and how to output to a file. How do I pipe the output of say system("last") to a file? system() returns an int, so if I mystream << system("last") it will put an int in the file. I need …

Member Avatar for balgarath
0
158
Member Avatar for balgarath

Here we go, I am working on some code to store an IP address in an object. I have overloaded operators >>, <<, and == and they are working fine with 1 problem. I am supposed to be able to cin >> ip1 >> ip2 >> ip3; but after I …

Member Avatar for balgarath
0
96
Member Avatar for balgarath

I just started messing around with classes and have been trying to figure out this error for an hour or so. Here is the compiler error: [code] g++ player.cpp tictactoe.cpp TicTacToe.h:15: error: expected constructor, destructor, or type conversion before ';' token player.cpp:26: error: 'TicTacToe' has not been declared player.cpp: In …

Member Avatar for Salem
0
138
Member Avatar for balgarath

is there any way to check what mode a FILE pointer has been opened in? ("r", "w")?

Member Avatar for Ancient Dragon
0
55
Member Avatar for balgarath

okay I am getting segmentation fault whenever I pass more than 300000 ints or so to be sorted....the code works fine for less than this with mergesort quicksort is sorting 100000 fine if they are in random order, but seg faulting if I sort a bigger number, or if the …

Member Avatar for Ancient Dragon
0
535