O.K so I have made a basic calculator and notepad, and it don't know what else to add to them. I don't want to forget c++ so is please tell me your suggestions for a program.
Thank You.
O.K so I have made a basic calculator and notepad, and it don't know what else to add to them. I don't want to forget c++ so is please tell me your suggestions for a program.
Thank You.
You could add an expression evaluator that accepts both infix and RPN input, using the Shunting Yard algorithm, and then you could implement all the trigonometric functions and the base 10 logarithm yourself, and add support for basic calculus and scientific + engineering notation methods.....
Or you could just do what everyone else does and write Tic-Tac-Toe, plenty of expansion options there aswell (Min/Max, neural-networks, socket programming for network multiplayer etc etc)
What would you _like_ to make now? That's the real question i guess.
How I need a drink, alcoholic in nature, after the heavy lectures involving quantum mechanics.
Well, of course the choices of what to work on are practically limitless.
A "calculator" and a "notepad" (is that a simple text editor?) aren't really "discrete" and well-defined things.
- Are these two programs you made GUI based or text-based? Maybe try and learn a good design pattern (i.e. MVC) and implement these programs with GUIs?
- Is the calculator simple (4 operations)? Maybe add advanced operations (square root, exponential, scientific notation, save/recall values, etc.).
- Is the "notepad" program a simple WYSIWYG text-editor? Maybe expand it to be a rich text editor, so it supports advanced files, including various combinations of fonts, sizes, styles, tables, graphics, etc.
- What are your hobbies? Try and write something that interests you. This would likely be the project that most keeps your interest and motivation, while learning.
- Do you find yourself thinking "I wish there were a program that could..."? Then write it!
EDIT: Also, theres always the cliché suggestion of contributing to an open-source project. This is certainly "real world" experience, and something you can add to your professional portfolio.
Last edited by nadroj; 02-24-2010 at 05:59 PM.
learning gui would be nice, do you know any good tutorials?
I've never done any C/C++ GUI programming, so I dont have any tutorials to suggest. I imagine there are many good ones available, maybe you just need a place to start. I'd suggest deciding which GUI framework you want to use (which may or may not depend on the OS you're on). For starters, see this list.
Also, as I mentioned above specifically to GUI development, try and read tutorials that also discuss MVC, which is a pretty common and robust approach. Here's a list of what appears to be some GUI frameworks that have built-in support/consideration for MVC.
I would recommend you work on this first.
for example can you enter in
((2+6)*((2+(1+0))^(2+5)))
and get correct answer?
Shunting-yard algorithm - Wikipedia, the free encyclopedia
this will introduce you to a certain data-structure called a stack as well, best way to go right now.