Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

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

  1. Nov 3, 2011 #1
    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. jcsd
  3. Nov 3, 2011 #2

    jtbell

    User Avatar

    Staff: Mentor

    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.
     
  4. Nov 3, 2011 #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.
     
  5. Nov 3, 2011 #4

    Mark44

    Staff: Mentor

    That's pretty ambitious. In essence what you want to do is to create an application that creates a small database, and then lets the user search for entries in the database by a particular field.
     
  6. Nov 3, 2011 #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 farenheit converter that will take a range, max and min and then a number of steps for the range and work out the farenheit and celsius for these.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Any ideas for a small c++ code I could make?
Loading...