When coding programs and trying to separate them into functions I usually get stuck to make the program flow from function to function. I really want to know how you guys code the programs, how do you separate them and make them work? Do you make functions called: "Get", "Set"? Here's something I was coding just to try to learn how to make the program move with functions.
1. You ask the user for 2 names. And that's it.
2. You have a function that generates a number based on a "current level". I dont know what that is.
3. you have another function that is supposed to return a character, but you always return zero.
4. you have another function that checks a level but does not.
So yea, I appreciate it's unfinished code, but based on the fact you've told us nothing and all the main is doing is asking for 2 strings (and none of your functions actually take 2 strings), what exactly do you want your program to do?
I'm not trying to finish the code, nor trying to do something which I can't do in the code. I was just showing an example of functions going to other functions. I was just curious if I'm doing it 'right', I'm only asking more experienced programmers if they use typical functions to "get" values, "set" values (like classes), and what's the best method to return to something such as a function.