| | |
plz, I just want an idea
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Apr 2009
Posts: 4
Reputation:
Solved Threads: 0
I have completed an OOP course using C++ and each student has been asked to do an end term project, so that they make use of all things that was learned, like ( operator oveloading, inheritance , polymorphisms, files, templates) and every thing that can support the project.
I want just some ideas, i thought of making a simple library system, but i think there are many other things I can make use of OOP more than in a library , can you tell me of some please?
I want a project that makes me deeply understand every thing in OOP
please give me many ideas
I am waiting for your replay
I want just some ideas, i thought of making a simple library system, but i think there are many other things I can make use of OOP more than in a library , can you tell me of some please?
I want a project that makes me deeply understand every thing in OOP
please give me many ideas
I am waiting for your replay
Just think of something in real life that has a lot of objects interacting together, as that's what you want in the program. You could do a poker game, fight-a-monster game, a catalog of libray books, lots of stuff. Programming is supposed to mimick the real world, so think of a situation with a bunch of objects.
good suggestions ---> these neat ideas.
good suggestions ---> these neat ideas.
One of my favorite projects I worked on was a small RPG type game.
I can't remember it all, but I had classes that were derived from base classes.. these were the fighters. Elvaan, Hume, etc. And each class had different traits... (Elvaan might have attack +10%, Hume might have a +10% chance of blocking, something else might have a +5% chance of attacking twice, etc.). Each race had different starting attributes, attack, strength, magic attack, HP, etc.
Then I put them all into a main() file for the fighting simulation. Each round would start a battle between 2 races. Main() would call the battle() function, which would setup the possibilities and call a random() function multiple times to determine who would attack, how much they would attack for and if anyone had the chance of blocking how often, etc. This would continue to loop, requiring the user hit Enter between every round, until one of the creatures was defeated.
Of coarse it took multiple runs to figure out if I had made one race too powerful or one race not powerful enough, which I then went back and made adjustments to the attributes.
Needless to say, this was an extremely fun exercise. Allows for a ton of creativity.
I can't remember it all, but I had classes that were derived from base classes.. these were the fighters. Elvaan, Hume, etc. And each class had different traits... (Elvaan might have attack +10%, Hume might have a +10% chance of blocking, something else might have a +5% chance of attacking twice, etc.). Each race had different starting attributes, attack, strength, magic attack, HP, etc.
Then I put them all into a main() file for the fighting simulation. Each round would start a battle between 2 races. Main() would call the battle() function, which would setup the possibilities and call a random() function multiple times to determine who would attack, how much they would attack for and if anyone had the chance of blocking how often, etc. This would continue to loop, requiring the user hit Enter between every round, until one of the creatures was defeated.
Of coarse it took multiple runs to figure out if I had made one race too powerful or one race not powerful enough, which I then went back and made adjustments to the attributes.
Needless to say, this was an extremely fun exercise. Allows for a ton of creativity.
Last edited by Duki; Apr 25th, 2009 at 8:25 pm.
It is practically impossible to teach good programming style to students that have had prior exposure to Basic; as potential programmers they are mentally mutilated beyond hope of regeneration.
-Edsger Dijkstra
-Edsger Dijkstra
> You could write an Object Oriented Program (of course
) that represents a 'virtual computer', you'll have to make classes for the processor, the motherboard, the graphical card, the ports (USB, FireWire, Serial, PS/2, etc.), the CD-Drive(s), and much much more
...
>>You can make this project as big or as small as 'you' want ...
) that represents a 'virtual computer', you'll have to make classes for the processor, the motherboard, the graphical card, the ports (USB, FireWire, Serial, PS/2, etc.), the CD-Drive(s), and much much more
...>>You can make this project as big or as small as 'you' want ...
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
In some books I read:
Elevator Simulation:: The program will simulate elevators. The user pushes a button ( by pressing a number key on the keyboard. Number indicates the floor on which he is) and then the elevator decides its path so that it could fill up requests of most of the users.
You model an elevator as an object.
Elevator Simulation:: The program will simulate elevators. The user pushes a button ( by pressing a number key on the keyboard. Number indicates the floor on which he is) and then the elevator decides its path so that it could fill up requests of most of the users.
You model an elevator as an object.
Siddhant Sanyam
(Not posting much)
Migrate to Standard C++ :When to tell your C++ Code is Non-Standard.
Please Read before posting: How To Ask Questions The Smart Way
(Not posting much)
Migrate to Standard C++ :When to tell your C++ Code is Non-Standard.
Please Read before posting: How To Ask Questions The Smart Way
Oooh I like that one, That sounds fun.
It is practically impossible to teach good programming style to students that have had prior exposure to Basic; as potential programmers they are mentally mutilated beyond hope of regeneration.
-Edsger Dijkstra
-Edsger Dijkstra
•
•
Join Date: Apr 2009
Posts: 4
Reputation:
Solved Threads: 0
•
•
•
•
> You could write an Object Oriented Program (of course) that represents a 'virtual computer', you'll have to make classes for the processor, the motherboard, the graphical card, the ports (USB, FireWire, Serial, PS/2, etc.), the CD-Drive(s), and much much more
...
>>You can make this project as big or as small as 'you' want ...
if any one have information and tips for this project please tell me.
•
•
Join Date: Apr 2009
Posts: 4
Reputation:
Solved Threads: 0
•
•
•
•
> You could write an Object Oriented Program (of course) that represents a 'virtual computer', you'll have to make classes for the processor, the motherboard, the graphical card, the ports (USB, FireWire, Serial, PS/2, etc.), the CD-Drive(s), and much much more
...
>>You can make this project as big or as small as 'you' want ...
if any one have information and tips for this project please tell me.
![]() |
Similar Threads
- Multimedia Degree Dissertation Ideas help plz (Graphics and Multimedia)
- Prime Number (Help Plz!) (VB.NET)
- help me plz (Visual Basic 4 / 5 / 6)
- searching and paging..plz help.. (ASP)
- Project idea needed using oracle as back end for the dbase and asp.net in the front.. (C)
- Windows 98, Freezes while Shutting down. HELP plz (Windows 95 / 98 / Me)
- IE not working...PLZ help :cry: (Web Browsers)
Other Threads in the C++ Forum
- Previous Thread: Prevent Duplicate Inputs to Array
- Next Thread: API to get CPU utilization
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline google graph homeworkhelper iamthwee ifstream input int integer java lib linkedlist linux list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates text tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






) everything you can simulate (inspiration enough now, I think 