Click here to Skip to main content
15,897,718 members

Comments by Member 10506844 (Top 9 by date)

Member 10506844 8-Jan-14 7:01am View    
How would I directly check the user's input?
Member 10506844 8-Jan-14 6:58am View    
I'm sorry for all the errors. I'm fourteen and trying to learn programming. When Ron Beyer said " There are a lot of problems here that could be solved by the building-blocks approach. Do a program that gets user input, then do one that switches on that input, then do one that prints the input." I'm not sure I understand what he means. I have a function for each feature in my game. Int Main calls the keystroke function which gets the first user input. Then the charpos_calculation takes that input and calls the printmap function that displays the change based on the user's input. I would like to know what I need to do instead of passing strings and switching on chars. What is the scheme I should be doing? How do I get user input, is this the right way?
Member 10506844 7-Jan-14 21:04pm View    
Also it does not display my tabs for my braces.
Member 10506844 7-Jan-14 21:02pm View    
I'm sorry that it didn't show my code as code, but it showed my words as code.
Member 10506844 7-Jan-14 17:57pm View    
Sorry for my stupidity.