how to make typing tutor software in c

Reply

Join Date: May 2008
Posts: 7
Reputation: sanz is an unknown quantity at this point 
Solved Threads: 0
sanz sanz is offline Offline
Newbie Poster

how to make typing tutor software in c

 
0
  #1
May 31st, 2008
hi,
how can we make typing tutor software in c language. plz guide me.
thnks
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: how to make typing tutor software in c

 
1
  #2
May 31st, 2008
Well if you ask someone to type "please", and they type in "plz", do you tell them they're right or wrong?
http://www.catb.org/~esr/faqs/smart-...html#writewell

Which operating system and compiler are you using?

What sort of C programming skill do you already have?
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 7
Reputation: sanz is an unknown quantity at this point 
Solved Threads: 0
sanz sanz is offline Offline
Newbie Poster

Re: how to make typing tutor software in c

 
0
  #3
Jun 1st, 2008
sir,
thanks for your reply.i m just a beginner in C language it is one of my vacation project and i have no idea how to make a typing tutor in c language .i m using turbo c compiler with ide envoirnment.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 7
Reputation: sanz is an unknown quantity at this point 
Solved Threads: 0
sanz sanz is offline Offline
Newbie Poster

Re: how to make typing tutor software in c

 
0
  #4
Jun 1st, 2008
the operating system for turbo c language is ms dos
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 1,602
Reputation: jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of 
Solved Threads: 120
jephthah's Avatar
jephthah jephthah is offline Offline
Posting Virtuoso

Re: how to make typing tutor software in c

 
0
  #5
Jun 1st, 2008
you have "no clue" ??

okay, well first thing: how is this typing tutor supposed to work? what's your plan?

I'd think theres a few overall requirements....

(1) print some text to the screen that the person should type.
(2) start a timer, and begin collecting typed input.
(3) once they indicate they have stopped typing, stop the timer
(4) calculate total (elapsed) time, and the number of errors in their typed text.
(5) print results, allow them to try again or exit

then maybe draw a diagram of some functions, describe what task each function should do, use pseudo code to describe the functions inputs/outputs/return values, and indicated dependency direction of the functions.

and finally, start here:
  1. int main()
  2. {
  3. // insert code here
  4. }
Once you've got it filled out enough so that you can ask a reasonably specific and coherent question... come back here and post your code.

In the meantime, please ask your instructor why (s)he insists on using such a piece of crap compiler (Turbo C), as it is 15+ years out of date, employs non-standard C libraries, and virtually NO ONE in the industries of the modern world ever uses it???

write down their answer, then post it here please.

thanks.



.
Last edited by jephthah; Jun 1st, 2008 at 4:05 am.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: how to make typing tutor software in c

 
0
  #6
Jun 1st, 2008
How about beginning with something simple like

Print out a sentence for the user to type in, say
"type in this line"

Then read a line of input from the user, say
"ttpe in tjis line"

Then what are you supposed to do (read your assignment)
- compare the line for errors?
- provide info that say "y" and "t" are close together on the keyboard as an explanation for the mistakes
- time how long it took to type in
- provide some kind of "speed and accuracy" output?

Maybe try simple programming exercises like
Press a key in 5 seconds
You pressed a key in 4.34 seconds.
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 327
Reputation: Colin Mac is on a distinguished road 
Solved Threads: 22
Colin Mac Colin Mac is offline Offline
Posting Whiz

Re: how to make typing tutor software in c

 
0
  #7
Jun 1st, 2008
The default position for a person's fingers are ASDF with the left hand
and JKL; with the right hand. All other keys
are reached from there, so you can start by making the user learn off those keys first.
Display variations of ASDF first, then variations of JKL;
Then mix them and advance to the rest of the 2nd row.

Then the user learns off the first row, finally followed by the third, keeping in mind where the user needs to reach from to get to those keys.
Last edited by Colin Mac; Jun 1st, 2008 at 8:03 am.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 1,602
Reputation: jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of 
Solved Threads: 120
jephthah's Avatar
jephthah jephthah is offline Offline
Posting Virtuoso

Re: how to make typing tutor software in c

 
0
  #8
Jun 1st, 2008
yeah, theres obviously a number of different ways to approach such a "tutor"

i think SANZ is going to have to give us a bit more info.

it does sound like a fun little project.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 7
Reputation: sanz is an unknown quantity at this point 
Solved Threads: 0
sanz sanz is offline Offline
Newbie Poster

Re: how to make typing tutor software in c

 
0
  #9
Jun 2nd, 2008
hi,
sir i have asked my instructor why they compel us to use such an obselete compiler so she says it is the most easier one and if we learnt c on this compiler we will be able to learn any other language easily.well sir thanks for your guidance but prob is that i have just started studying c coding in my institution and have reached till array yet. i even dont know any thing abut graphics.the major prob is coding for typing tutor in c .secondly for my project wht features i proposed to my teacher is that there would be a keypad for typing as keyboard we have in typing tutor which guides us where we hve to put our finger .and another thing was paragraph drill and alphabet bubbles which has to be typed within given time.last thing was accuracy speed and duration.
these are the features which has to be there in my program.but i dont know how to implement them in my coding.
thanks for ur interest.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 1,602
Reputation: jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of 
Solved Threads: 120
jephthah's Avatar
jephthah jephthah is offline Offline
Posting Virtuoso

Re: how to make typing tutor software in c

 
0
  #10
Jun 2nd, 2008
your instructor is smoking crack. learning to code on Turbo C will only hinder you, by teaching you non-standard C that will not ever work on any compiler used by the real world. you'll have to UNLEARN half the stuff you learn. Oh well, I'm going to drop the issue.

your program, considering your skills, i think is too ambitious to try and tackle all at once. make a smaller program to do simple tasks, and don't even think about graphics.

repeating what i said earlier, i think the following requirements would be a good start, and give you some simple functionality that you could build more complex functions into later:

(1) print some text to the screen that the person should type.
(2) start a timer, and begin collecting typed input from user.
(3) once the user indicates they have stopped typing, stop the timer
(4) calculate total (elapsed) time, and the number of errors in their typed text compared to the original text.
(5) print test results, allow them to try again or exit

technically this is more of a "typing test" than a "tutor", but all of the functions that you will have to code for this example, are functions that will be needed by a more complex typing tutor, so you won't be wasting your time.

it would be a good place to start, and would give you something tangible to show when completed.


.
Last edited by jephthah; Jun 2nd, 2008 at 2:28 pm.
Reply With Quote Quick reply to this message  
Reply

Message:



Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC