- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
6 Posted Topics
I have nearly finished an assignment that calls for implementing a media library. I have pinpointed my current solution for the addItem method in the library class as a memory leak, but so far I am not certain how to fix it. The addItem method I have so far is …
[QUOTE=sciwizeh;672681]so i am basically trying to take the program i wrote in java, and rewrite it in VC++, to make it faster and to help me learn some stuff about VC++ :[/QUOTE] I recently had to do just that and it wasn't pleasant, not in the least. Finishing it sure …
Sounds to me like he needs to elaborate more on exactly what the assignment wants, unless there's a magic algorithm out there that can predict the readings of geiger counters. The two series he showed are pretty easy, but are they the only ones? The Shadow knows.
[ICODE]cout<<std[/ICODE] You're missing a semicolon at the end of this line. That said, you can't just use << on std since << is undefined for student. You'll have to overload the << operator. Information on how to do that is here: [url]http://gethelp.devx.com/techtips/cpp_pro/10min/10min0400.asp[/url]
You say you've been doing this, so could you post what you have so far?
(Note: sizeof(character) == 68 bytes) I am having issues with fstream::seekg()/seekp(). It seems like when one is invoked to modify the get or put pointer, the other pointer follows it instead of staying in place. Example: [CODE=cplusplus] charfile.seekp(0,ios::beg); cout << endl << "Put pointer is at " << charfile.tellp() << …
The End.