Click here to Skip to main content
15,892,809 members
Home / Discussions / C#
   

C#

 
AnswerRe: Dynamic Ajax accordion not fetching any data at production server Pin
BobJanova6-Jun-12 23:31
BobJanova6-Jun-12 23:31 
Questionunderstanding how to write code Pin
Member 90841446-Jun-12 18:32
Member 90841446-Jun-12 18:32 
AnswerRe: understanding how to write code PinPopular
egenis6-Jun-12 18:38
egenis6-Jun-12 18:38 
GeneralRe: understanding how to write code Pin
Member 90841446-Jun-12 18:43
Member 90841446-Jun-12 18:43 
AnswerRe: understanding how to write code Pin
AmitGajjar6-Jun-12 18:39
professionalAmitGajjar6-Jun-12 18:39 
GeneralRe: understanding how to write code Pin
Member 90841446-Jun-12 18:43
Member 90841446-Jun-12 18:43 
AnswerRe: understanding how to write code PinPopular
BobJanova6-Jun-12 23:30
BobJanova6-Jun-12 23:30 
AnswerRe: understanding how to write code PinPopular
Alan Balkany7-Jun-12 5:02
Alan Balkany7-Jun-12 5:02 
How to solve your problem: Baby steps.

As you can see, it's too hard for you to do all at once, but breaking it down into simpler steps that are more manageable will enable you to do it. (I'm a professional programmer, and this approach works for me when I'm faced with a task that's too hard to do all at once.)

The first step is to get a program running. C programmers start with a program that simply prints "Hello world." on the console, and this would be a good first step for you. It requires you to be able to edit a file to add the code, and compile and run it. You'll have to look up the statement that outputs text to the console. (Looking it up is good practice, because this is how you acquire programming knowledge you don't already have. We all do it.)

The next step is accepting input from the command prompt. (More lookup.) Don't be afraid to experiment! This is an important way of learning what works and what doesn't.

The next step is getting the input into numeric variables you can use to calculate grades.

If you think your program is behaving incomprehensibly, use what you learned in the first step to print out the values of some variables to see what's REALLY happening as your program executes. (Later you'll learn how to use the debugger to do this. The debugger will save you HOURS of guesswork -- learn it.)

Baby steps. Good luck!
"Microsoft -- Adding unnecessary complexity to your work since 1987!"

AnswerRe: understanding how to write code Pin
Mycroft Holmes7-Jun-12 13:06
professionalMycroft Holmes7-Jun-12 13:06 
AnswerRe: understanding how to write code Pin
Abhinav S7-Jun-12 17:30
Abhinav S7-Jun-12 17:30 
QuestionHELP resolving host to IP not working! Pin
Mikhail Radovilskiy6-Jun-12 14:33
Mikhail Radovilskiy6-Jun-12 14:33 
AnswerRe: HELP resolving host to IP not working! Pin
Peter_in_27806-Jun-12 15:40
professionalPeter_in_27806-Jun-12 15:40 
GeneralRe: HELP resolving host to IP not working! Pin
Mikhail Radovilskiy6-Jun-12 16:50
Mikhail Radovilskiy6-Jun-12 16:50 
GeneralRe: HELP resolving host to IP not working! Pin
Mikhail Radovilskiy6-Jun-12 17:25
Mikhail Radovilskiy6-Jun-12 17:25 
GeneralRe: HELP resolving host to IP not working! Pin
Richard MacCutchan6-Jun-12 22:20
mveRichard MacCutchan6-Jun-12 22:20 
GeneralRe: HELP resolving host to IP not working! Pin
Peter_in_27806-Jun-12 17:30
professionalPeter_in_27806-Jun-12 17:30 
GeneralRe: HELP resolving host to IP not working! Pin
Mikhail Radovilskiy7-Jun-12 4:44
Mikhail Radovilskiy7-Jun-12 4:44 
Questioncần giúp đỡ về code xe chuyển động Pin
ng0_gia6-Jun-12 7:36
ng0_gia6-Jun-12 7:36 
AnswerRe: cần giúp đỡ về code xe chuyển động Pin
OriginalGriff6-Jun-12 8:21
mveOriginalGriff6-Jun-12 8:21 
AnswerRe: cần giúp đỡ về code xe chuyển động Pin
Abhinav S6-Jun-12 16:05
Abhinav S6-Jun-12 16:05 
AnswerRe: cần giúp đỡ về code xe chuyển động Pin
egenis6-Jun-12 18:40
egenis6-Jun-12 18:40 
GeneralRe: cần giúp đỡ về code xe chuyển động Pin
OriginalGriff6-Jun-12 19:17
mveOriginalGriff6-Jun-12 19:17 
GeneralRe: cần giúp đỡ về code xe chuyển động Pin
egenis7-Jun-12 7:23
egenis7-Jun-12 7:23 
GeneralRe: cần giúp đỡ về code xe chuyển động Pin
OriginalGriff7-Jun-12 8:00
mveOriginalGriff7-Jun-12 8:00 
GeneralRe: cần giúp đỡ về code xe chuyển động Pin
egenis7-Jun-12 18:53
egenis7-Jun-12 18:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.