??? 08/29/06 13:00 Read: times |
#123300 - Aside: Block comments Responding to: ???'s previous message |
This won't help with the code problem, but do note that you have mis-matched comment delimiters in you block comments; eg, /*----------------------------------------------------------------------------------*/ /* File Name : Keypad /* Processor : 87C752 /* ToolChain : Keil C51 V8.0 /* Author : T.L /* Version : 1.0 /* Date : 08/22/06 /*----------------------------------------------------------------------------------*/You have six "/*" opening comment delimiters without corresponding "*/" closing delimiters. Presumably, you're getting away with it in Keil - but it's best avoided, as it will upset (some) other compilers. As you're using C++ style comments anyway, why not write //------------------------------------------------------------------------------------ // File Name : Keypad // Processor : 87C752 // ToolChain : Keil C51 V8.0 // Author : T.L // Version : 1.0 // Date : 08/22/06 //------------------------------------------------------------------------------------Or, to stick with ANSI 'C'. something like /*------------------------------------------------------------------------------------ * File Name : Keypad * Processor : 87C752 * ToolChain : Keil C51 V8.0 * Author : T.L * Version : 1.0 * Date : 08/22/06 *-----------------------------------------------------------------------------------*/ |
Topic | Author | Date |
Detect Key is held down | 01/01/70 00:00 | |
Like a Debounce...? | 01/01/70 00:00 | |
Key held down | 01/01/70 00:00 | |
Holly Bad Ideas Batman!! | 01/01/70 00:00 | |
Remember the old CMOS setup for PC's? | 01/01/70 00:00 | |
(a bit of) the schematic would be helpful | 01/01/70 00:00 | |
Schematic | 01/01/70 00:00 | |
No | 01/01/70 00:00 | |
Schematic | 01/01/70 00:00 | |
Ok, why not do this | 01/01/70 00:00 | |
I'll try | 01/01/70 00:00 | |
Schematic | 01/01/70 00:00 | |
"Typo" | 01/01/70 00:00 | |
Aside: Block comments | 01/01/70 00:00 | |
is that true? | 01/01/70 00:00 | |
Yes | 01/01/70 00:00 | |
Thank you | 01/01/70 00:00 | |
an element of style | 01/01/70 00:00 | |
I'd not![]() | 01/01/70 00:00 |