|
From: <ir...@ar...> - 2003-11-04 16:00:19
|
Hi Avi, Generally, as you have noticed, Dev-C++'s syntax highlighter helps you identify different aspects of your code. I think that most, if not all, the various keywords would be in the glossary mentioned. As and when you come across them, the syntax highlighting will indicate, if you do not already know. In that case, it should be a simple matter of checking that glossary, or some other more detailed reference, as to the actual meaning and syntax. You could do a search for such references, I personally do refer to cppreference.com, cplusplus.com and cprogramming.com from time to time. The 'operator' keyword is likely used in operator overloading. It should be fairly standard, so reasons why your compiler didnt recognise it could be that your compiler was non-standard, the syntax highlighting didnt include it, or simply that 'operator' wasnt defined as a keyword at the time, though I am not familiar with the history. Eugene > Date: Tue, 04 Nov 2003 15:45:01 +0200 > From: Avi Smith <sm...@ne...> > Subject: Re: [Dev-C++] keywords > To: Daniel Glenfield <sp...@ho...>, > dev...@li... > > Thanks for the link to the glossary! > > Perhaps I wasn't clear in my question. While the glossary is certainly > useful, it doesn't exactly provide what I'm looking for, which is a > list and description of all C/C++ keywords and functions (e.g., "int", > "do", "case", etc.) that are used in the DEV-C++ IDE. > > Here's one example: the word "operator" is interpreted by Dev-C++ as a > keyword (it becomes bolded when I type it), so I can't use it as an > identifier for a variable. Maybe it's compiler-specific; an compiler I > had a few years back didn't see it as a keyword. And what is the > "operator" keyword for, anyway? > > Any sources? > > TIA, > AS |