Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~913 People Reached
Favorite Forums

5 Posted Topics

Member Avatar for MachDelta

Hi everyone. I've been struggling with a quicksort implementation here. I think - scratch that - I know i'm overrunning an array (erm, vector) based on how it explodes, but I honestly can't see it and I have no debugger. I slept on it but fresh eyes didn't get me …

Member Avatar for ken_taiken
0
234
Member Avatar for MachDelta

Hi everyone. I've been fighting with a piece of incomplete code for a while now, and it's really frustrating... particularly because it's due tomorrow. Anyways, when I try to compile my project it's spitting out linker errors at me: [Linker error] undefined reference to `clearBoard(int, char)' [Linker error] undefined reference …

Member Avatar for Schol-R-LEA
0
137
Member Avatar for MachDelta

Another newbie question here. What's the difference between these two? [CODE]cin.ignore(cin.rdbuf()->in_avail(), '\n'); cin.ignore(numeric_limits<streamsize>::max(), '\n');[/CODE] I understand that the former will ignore only the characters [I]left[/I] in the stream buffer, while the latter tries to ignore characters equal to the [I]size[/I] of the buffer. So the end result should, normally, be …

Member Avatar for MachDelta
0
141
Member Avatar for George_91

You have to push the results out to the file after every test. By doing the print to file loop [B]after[/B] the test loop, you can only print the last result. They need to be within the same loop. [CODE]//.... ofstream f2; f2.open("results.txt", ofstream::out); //Open file for (count= 1; count<= …

Member Avatar for MachDelta
0
207
Member Avatar for MachDelta

Hi everyone. First time poster here :) I'm working on my final project for a computing course at university, and I was wondering if anyone knew of a portable library or solution to changing console colours. I understand that such functions are OS specific (I'm working on Win32, but my …

Member Avatar for xfbs
0
194

The End.