Doesn't clock() return the time rather than the difference in seconds? :S
Type: Posts; User: mmjb
Doesn't clock() return the time rather than the difference in seconds? :S
Well I learnt about the int main thingy from the faq. And time has been set to 0 so that the time keeping starts when the first key is pressed!
Awrite. Have been able to get it working. But minor glitches remain. I will be back wit em later! Thx all! :-)
Thx for the advice. But gotoxy(80,43) actually works and my monitor is 15 inch!
Thx :-)
This isn't working actually :S:S
Thx for replying. I will definately try that out. So I need to declare c as an integer haa. I seen a lot of books using int main() some using only main() others using void main(). Dunno the...
Thx for replyin :-) I know all that. But I can't do it. I tried using this:
while(1){
ch=fgetc(fp);
if (ch==" ") spcnt++; //spcnt is the count of spaces
}
I am doing this project on a typing tutor software. Done a few stuff already. But stuck with certain problems. Would be very grateful if someone helped me out :-)
Here goes my code:
...