Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Try this program

Thread Tools

Try this program

Christopher Benson-Manica
Posts: n/a
Tak-Shing Chan <(E-Mail Removed)> wrote:

> If the OP plays on a piano keyboard but produces a tic-tac
> sound instead of musical notes, then the only cure is Hanon's
> Razor! <g,d&r>

Is that the "shave and a haircut" kind? In any case, OP should really
get a Handel on posting etiquette and get Bach to us; we'll be happy
to Liszt any program flaws (or, failing that, OP's flaws).

C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at) | don't, I need to know. Flames welcome.
Reply With Quote
Posts: n/a
Reply With Quote
Eric Schmidt
Posts: n/a
Newbie wrote:

> Try programming this one:
> Design a program to convert the tic-tac sound of your
> keyboard into the musical notes of a Piano.
> Please let me know the program.

#define tic_tac musical
#define sound notes
#define your a
#define keyboard Piano

#define STR(x) #x
#define CONVERT(x) STR(x)

const char *st = CONVERT(the tic_tac sound of your keyboard);

int main(void) { return 0; }

Posted via a free Usenet account from

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
who is simpler? try/except/else or try/except Fabio Z Tessitore Python 5 08-13-2007 12:52 AM
converting a nested try/except statement into try/except/else John Salerno Python 20 08-11-2006 02:48 PM
Can I have a second TRY inside the first TRY/CATCH in ASP.NET ??? bienwell ASP .Net 4 05-27-2005 05:05 PM
Compiler error occurred when try to use a flexible template expression in preprocessor definesCompiler error occurred when try to use a flexible template expression in preprocessor defines snnn C++ 6 03-14-2005 04:09 PM
Try, Try, Try, again... Computer Support 3 01-29-2005 04:02 PM