New program

This is a discussion on New program within the C++ Programming forums, part of the General Programming Boards category; O.K so I have made a basic calculator and notepad, and it don't know what else to add to them. ...

  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    151

    New program

    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.

  2. #2
    Internet Superhero
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    934
    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.

  3. #3
    Registered User
    Join Date
    Oct 2006
    Location
    Canada
    Posts
    1,243
    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 04:59 PM.

  4. #4
    Registered User
    Join Date
    Nov 2009
    Posts
    151
    learning gui would be nice, do you know any good tutorials?

  5. #5
    Registered User
    Join Date
    Oct 2006
    Location
    Canada
    Posts
    1,243
    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.

  6. #6
    Registered User
    Join Date
    Aug 2005
    Posts
    266
    Quote Originally Posted by Neo1 View Post
    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.....
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 12:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 12:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 09:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21