Re: Need Guidance for a better way of studying programming... Please help me teachers Floats aren't bad for currency per se but you have to be...
Do you remember doing long division at school? For example 56473/27 might be done as: __2091_ 27 ) 56473 54 -- 247 243...
Think of it as three strings: "DESCRIBE rtsp://<ip-addr>:", "9000", "/2.sdp RTSP/1.0..."
Looks like you need to round off. 1.759xxx -> 1.76. You can round to a whole number by adding half then casting to an int (so 1.4->1.9->1,...
Computers can't store floating point numbers precisely; they convert them to binary and there are some losses. You know about these losses in...
http://lmgtfy.com/?q=c
What does Fu!!! mean? It sounds a lot like an abbreviation for f**k you, which is not a great way to get help from people. shabbir is right...
I can't see your screen from here. What input did you give, and what output did you get? What output did you expect? Have you tried adding any...
Why do you need help converting if/else if to switch/case? It's REALLY easy. Have you even tried, or are you just assuming it's difficult? Or...
scanf is formatted input, so it stops reading when it's got what it wanted and leaves the rest on the input buffer. So when you enter a number...
Also please explain your alrogithm and what the variables are for. Using single letter variable names makes the code completely unreadable.
What does the == operator do? Does it assign or does it compare? Probably your compiler threw a warning at this line - code does nothing, or...
Where is your main function? Are you trying to write all the code at once? If so, don't do that. Write one bit, get it working, then write the...
Sure, how far have you got and where are you stuck? Post your code so far. If you know how to determine if a number is prime, then that...
Your best bet will be to talk to the people who already know libpurple. There may be a good reason why instructions to build it with Visual...
How far have you got and where are you stuck? Do you know how to determine if a number is prime? (if you don't, then you have no chance of...
Yes, that's the whole point of the exercise, to introduce you to the concept of "formatted input". If you specify a format for the input, and the...
It's fairly easy, except I do not know what "offset" is for; the question does not specify this. What it means is that it finds the existence of...
Read it in as a string instead of as a number. Then you can do strlen on it, and you can use atoi and other functions if the length is short...
Try printing the values of variables as it uses them. It's a good debugging technique. Then you can check what is displayed matches what you...
Separate names with a comma.