Ideas?

Can anyone suggest any ideas for beginner's to attempt to tackle? So far, the only programs I have written is a bubble sorting algorithm that displays a sorted array and a grading program that uses a class I wrote that allows a user to input 3 names and 3 grades per person - it then gives the average number and letter grade. Can someone suggest anything else?
Last edited on
I'm not particularly sure of your capabilities; but you can attempt what I recently finished:

Console program:

Things Todo:
- Ask user for Date of Birth (MM / DD / YYYY) and store it into variables
- Ask user for current date (Or, if you know how [I didn't] request the current date from a user's system)
- Calculate the user's age using the Month, Day of the Month, and Year they were born, and comparing it to the current date.
- Output the user's age, and request confirmation via "yes" from the user (Be careful here; I'll explain more in a code snip at the bottom)
- After confirming the age, give a final output statement

When I tried asking a user if the age was correct via "yes" or "no", I wanted to make sure the program wouldn't fail the confirmation if the user typed "Yes" rather than my request: "yes" or "no"

To solve this, I had to give an arm and leg to find out what was required to convert a string to all lowercase letters. It's not particularly easy.

Initially; I had this statement:

if((answer == "yes") || (answer == "Yes") || (answer == "YES"))
{
//insert whatever you wish here// ex: cout << "Whew! What a relief! My program is a success! << endl;
}

Howerver, it was suggested to just convert the string to lowercase and test it once. Not as simple as one would wish.

If you are too inexperienced to complete this, or don't have an idea; feel free to glance at my version for help.

http://codepad.org/pWCQcrX8
Why don't you work on a small encryption program. Look up some encryption algorithms and try to program them.
Why don't you work on a small encryption program. Look up some encryption algorithms and try to program them.


Can you recommend a basic one to look up?

ProgrammingNoob, I'm a little more advanced than that, but not much. Thanks for the suggestion anyway.
Refine your programming with reviewing the sdl( standard library) and then pick something you love to do and automate it somehow ...

Build calculators to crunch numbers for homework/games/anything

Program your Imagination!!
try some more sorting algorithms like quick sort, merge sort... try using pointers... look for efficiency of the program and not to just write it.. try creating data structures.. start with linked lists.. read some books like "Introduction to Algorithms" by Drozdek.. remember, C or C++ or any language is just a tool... learning a language is not becoming a programmer.. u have to learn the theories behind and beyond them..

i have seen many people (even my self when i ddnt know..) creating pointers and assigning values, without pointing them to a particular memory address.. so the pointer points to an arbitrary location and if you are very unlucky, the program runs smoothly... if you are lucky you will get the error "Segmentation Fault"... you will need to learn these type of things too..( i am obsessed with pointers these days if you think i am too much with pointers.. hehe.. ) sam's books are also good for language specific basics...
Last edited on
Topic archived. No new replies allowed.