@bludstayne:
we must be using different API's
according the code I am looking at, Robc is declared as such:
CProgger *Robc = new CProgger;
@bludstayne:
we must be using different API's
according the code I am looking at, Robc is declared as such:
CProgger *Robc = new CProgger;
stop cutting and pasting copyrighted code... this is how it's done:Originally Posted by DavidPyou see, the setreputation is better because it returns 'true' if the reputation was successively changed... it looks something like this:Code:class CProgger { public: ... int GetReputation(); void IncrementReputation(); bool SetReputation(int); private: ... int reputation; };
Code:bool CProgger::setReputation(int NewReputation) { long int OrigReputation=reputation; long int OrigNewReputation=NewReputation reputation=NewReputation; if(reputation==NewReputation && (reputation-Origreputation!=0) && OrigNewReputation==reputation) return true; return false; }
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
Haha, one day you will learn that there is never a democracy in any forum. The thing is, if people like you, you can get away with breaking the laws. If people do not know you what you say can and will get you banned. Democracy....pfft! Thats a whole different topic in itself.Originally Posted by gandalf_bar
Knowledge is power and I want it all
-0RealityFusion0-
Dude your gonna get banned for telling people about thatOriginally Posted by RealityFusion
Woop?
[sarcasm]Wouldn't he get a fair and speedy trial by a jury of his peers?[/sarcasm]
I learned C, then Java, then C++
I think its a good way of going because i think C is simple, then learn OOP, then when you learn C++ you can realize how powerful C++ is. Of course the drawback in my opinion is that its a little harder to learn