Hi everybody,
this is my first post here...I choose Kernighan , Ritchie Book to follow and refresh my knowledge in C and this site forum to accompany this process...
I am using Microsoft Visual C++ 2008 to run the codes.
the following code is basically an example from K,R Book and is for counting words and characters in a text.It does not compile and I spent a whole day but didnt figure out whats wrong.It tells there is problem with else if syntax whichi is obviously correct but again there is errors.
Thank you very much....I correct them just now and it works.I should be more accurate reading and typing codes.
BTW , I have used Eclipse editor before for java and it was just Great and helpful.It helps you with braces by highliting them , formats the code so you dont miss anything and so many other simple bur powerful features.You cant compare the producivity that Eclipse brings to you with MS VS.
it does highlight them , but after that if you want to read your code or review it and you put your cursur beside a brace or paranthesis, it doesnt show you which is the matching brace or paranthesis and does not highlight anymore.
Eclipse do this and it helps a lot!