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

  • Thread starter Thread starter rollcast
  • Start date Start date
  • Tags Tags
    C++ Code Ideas
Click For Summary
SUMMARY

The discussion centers on beginner C++ programming projects that extend beyond basic calculations. A participant expresses interest in creating a C++ application that allows users to input and search data across multiple fields, resembling a simple database. Another user mentions developing a Celsius to Fahrenheit converter that calculates temperature conversions over a specified range. These projects highlight practical applications of C++ for data management and mathematical conversions.

PREREQUISITES
  • Basic understanding of C++ syntax and programming concepts
  • Familiarity with data structures for managing input fields
  • Knowledge of file handling in C++ for data storage
  • Understanding of algorithms for searching and sorting data
NEXT STEPS
  • Explore C++ classes and objects to structure your application
  • Learn about file I/O in C++ for saving and retrieving data
  • Research C++ Standard Template Library (STL) for efficient data handling
  • Investigate algorithms for searching data, such as binary search
USEFUL FOR

Beginner C++ programmers, students learning programming concepts, and anyone interested in practical applications of C++ for data management and conversions.

rollcast
Messages
403
Reaction score
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
 
Technology news on Phys.org
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.
 
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.
 
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.
 
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.
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
Replies
1
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K
Replies
7
Views
1K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 34 ·
2
Replies
34
Views
4K