Any ideas for a small c++ code I could make?

  • #1
409
0
I thing I've got the hang of the basics of c++ and want to try and make some thing that actually has a function other than just making code to calculate something that I could already have done using a calculator.

Anyone got any ideas and then when I make I code post my code and see if any could show me some improvements I could make to it?

Thanks
AL
 
  • #2
Most C++ textbooks have some non-trivial programming exercises. (At least my students thought they were non-trivial. :smile:)

For more specific suggestions, it might help if you tell us what sort of things you're interested in. You're more likely to apply yourself to something related to your own interests. I once spent a lot of time writing a C++ program to convert a database of my classical-music CD collection from a proprietary format to one that could be imported by MySQL.
 
  • #3
I would really like to make a program that I can use to index data, but I'd want to say have five fields to input data into and then be able to search the data again but only data that inputed in say field a.
 
  • #4
That's pretty ambitious. In essence what you want to do is to create an application that creates a small database, and then let's the user search for entries in the database by a particular field.
 
  • #5
Thanks Mark, Its what I've really started learning C++ to do, also I also want to learn programing incase I ever need it later on, university etc.

I'm working on a celsius to Fahrenheit converter that will take a range, max and min and then a number of steps for the range and work out the Fahrenheit and celsius for these.
 

Suggested for: Any ideas for a small c++ code I could make?

2
Replies
60
Views
2K
Replies
1
Views
815
Replies
30
Views
2K
Replies
22
Views
1K
Replies
12
Views
899
Replies
3
Views
889
Back
Top