Hello,
I just recently decided to dive into the world of C Programming and I cannot think of a better way to provide myself with more experience by writing longer applications with multiple functions than just "Hello World!"
(I am sorry as I do not know the technical jargon yet so I will try and explain my goal as much as possible and hope it is understood)
I want to write a simple application which will preform different action based on different input. For example I would want say 5 options, 5 different keys to choose from, say 1 - 5. How would I give different functions to different keys? So if someone choose "1" that it would preform actions from "1" and not say "2". So I am trying to have different actions or maybe even multiple actions or functions linked through a pathway which have different end results -- as in say clicking "1" could take you to a whole new set of actions to choose from that "2" would never take you too.
Now it would take all the fun out of trying to create the application if someone did it for me, I just need help figuring out how to link functions and actions to different functions and actions -- and possibly a way for the application to recognize if imputed characters are valid or invalid (so if someone theoretically typed in "6" it would bounce back and say invalid selection).
So nothing too complicated, but my goal is to create an app with limited interactivity between the user and program; I think this will be the best way to experiment with the powers of Programming.



LinkBack URL
About LinkBacks



