Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #44.3K
Ranked #3K
~721 People Reached
Favorite Forums
Favorite Tags
c++ x 4

4 Posted Topics

Member Avatar for Leppie

[QUOTE=Ketsuekiame;1223224]You could make it OO I guess? Something that simple doesn't really need it though but if you want to do it as an exercise, try creating classes for the types of rabbits.[/QUOTE] I totally agree with that. C++ take its power from its OO paradigm. Other than that, it's …

Member Avatar for Leppie
0
125
Member Avatar for riotburn

You can also use modular arithmetic and division for that purpose after getting the input as integer. I mean, think about first iteration you can take x%10 which will give you last number the user entered, after that if you divide the number by 10 then the last number will …

Member Avatar for riotburn
0
335
Member Avatar for bobbyg118

Hey, I'm sure that many people here will be slacker about opening your attached source code. Instead, you should try to embed you code into your message :) -hakan

Member Avatar for Ali Shah Ahmed
0
112
Member Avatar for corby

Hey, You may also consider using Standard I/O of C. It's just simple that; with fopen() open a file, with fprintf() write to the file and with fclose() close the file when you're done. Check out the link: [url]http://www.cppreference.com/wiki/c/io/start[/url] -hakan

Member Avatar for hnizamoglu
0
149

The End.