How about I give you a few links instead of answering all your questions? C Data types
C Type Casting
scanf()
getchar()
C strings
C structs
C unions
C file i/o
Well... there's a lot of information there, so I hope that you don't get too freaked out at all of that. Take what you need, leave the rest. And if you need help on a specific problem or question, feel free to ask it and we'll help you as best we can.
Hope this helps
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
>>What is the size of a double?
depends on operating system and possibly the compiler. But you can use sizeof(double) to get its size.
>>How long is a piece of string?
depends on where you cut it with your scissors. (sorry for the bad joke, I just couldn't resistet temptation :eek: )
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
if you're revising for an exam and still don't know those things you might as well cancel the exam and actually visit your classes the next time the course is taught because you're all but certain to fail (miracles do happen, but don't count on them).
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
is it? I doubt you can say that without giving an appropriate margin for error.
For example if you take that piece of string and cut it in half you're actually removing some molecules which should make it shorter. But the change in bonding might make it longer.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
>>How long is a piece of string?
depends on where you cut it with your scissors. (sorry for the bad joke, I just couldn't resistet temptation :eek: )
Its twice as long as half its length, of course ;)
If you cut off both ends, the string is endless. So there! :p
WaltP
Posting Sage w/ dash of thyme
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
If you cut off both ends, the string is endless. So there! :p
I'm freyed not.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343