|
-
May 6th, 2008, 02:23 AM
#1
Simple code (I hope)
Hi everyone,
I have no idea how to program in C++. I'd like to learn, but this is a specific problem I need resolved quickly (It's for a project, due on wednesday)
Anyways, the project is a DIY "hacking" project. My project is going to be a "typing glove". Basically, I'm going to exploit the fact that you can get characters from the keyboard by connecting wires to the receivers on the board inside the keyboard. I want to make it so that I have one wire on my thumb, and then 8 wires on my other fingers (2 on each finger) with which I can complete different circuits and get different characters.
The problem that I need your guys' help with is the coding of a simple program that would allow me to do like a cell phone/keypad type of typing: that is, you press one button once, you get, say, a, press the same button again within 2 seconds, get a b, c, etc. The different circuit connections (or character outputs) would be like the buttons on a cell phone.
So does anyone know a quick easy way to create a program that will take a character input, and if the same input is put in within.. oh..2 seconds, output the next letter, and if hti again, the next letter? I hope I'm being clear enough on this. It's just like texting on a cell phone, with your index finger being 2 and 3, middle 4 and 5, ring 6 and 7, pinky 8 and 9, and they would be able to output all the characters possible from those keys.
My email is [email protected] if you'd like to help me out on this. I'd really appreciate it, CodeGurus! Thanks.
-
May 6th, 2008, 02:36 AM
#2
Re: Simple code (I hope)
Rate the posts which you find useful
-
May 6th, 2008, 02:54 AM
#3
Re: Simple code (I hope)
Alright, yeah, kind of a cop out, I realise now.
Could someone maybe point me in the right direction at least? (What subject to look up for changing character inputs, how to put a time dependent variable in my code) I'd really appreciate it. But yeah, asking you guys to write the code for me is kind of lame. Hehe.
I just really have no idea where to start. Never coded anything significant before in my life (beyond Hello World!! :-p)
-
May 6th, 2008, 02:56 AM
#4
Re: Simple code (I hope)
 Originally Posted by MaurerPower
Hi everyone,
I have no idea how to program in C++.
What you want is a consultant, and consulting fees are expensive. No one, unless they're so benevolent, is going to donate their time for free to do your project.
(It's for a project, due on wednesday)
When the project is due is your problem, not ours. Once you work out an agreement with a consultant to finish the job in a certain time frame, then the issue of time is yours and the consultant's.
Go here:
www.rentacoder.com
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|