|
From: Daniel G. <sp...@ho...> - 2003-02-28 12:07:27
|
Really? Looks ugly to me though, I would not recommend it. But that is my
personal preference.
>From: "Ioannis Vranos" <no...@ho...>
>To: "Dev-C++ Mailing List" <dev...@li...>
>Subject: [Dev-C++] keywords
>Date: Fri, 28 Feb 2003 13:52:28 +0200 (GTB Standard Time)
>
>By the way guys and girls, did you know that in C++98 you can do:
>
>
>#include <iostream>
>
>int main()
>{
> int x=1, y=2;
>
> if(x>y or x*y==2)
> std::cout<<"Beep beep\n";
>
>
> y=y bitand x;
>
> x and_eq y;
>
>}
>
>
>
>That is to use keywords instead of || etc symbols?
>
>
>
>Ioannis Vranos
>
>* Programming pages: http://www.noicys.freeurl.com
>* Alternative URL: http://run.to/noicys
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
|
|
From: Ioannis V. <no...@ho...> - 2003-02-28 12:11:14
|
Well i do not like them for all cases too, but for:=0D =0D =0D if(x<y and y<z)=0D // ...=0D =0D =0D i would think "why not?".=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys =0D =0D =0D =0D -------Original Message-------=0D =0D From: Daniel Glenfield=0D Date: =D0=E1=F1=E1=F3=EA=E5=F5=DE, 28 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2= 003 2:07:21 =EC=EC=0D To: no...@ho...; dev...@li...=0D Subject: Re: [Dev-C++] keywords=0D =0D Really? Looks ugly to me though, I would not recommend it. But that is my personal preference.=0D =0D =0D >From: "Ioannis Vranos" <no...@ho...>=0D >To: "Dev-C++ Mailing List" <dev...@li...>=0D >Subject: [Dev-C++] keywords=0D >Date: Fri, 28 Feb 2003 13:52:28 +0200 (GTB Standard Time)=0D >=0D >By the way guys and girls, did you know that in C++98 you can do:=0D >=0D >=0D >#include <iostream>=0D >=0D >int main()=0D >{=0D > int x=3D1, y=3D2;=0D >=0D > if(x>y or x*y=3D=3D2)=0D > std::cout<<"Beep beep\n";=0D >=0D >=0D > y=3Dy bitand x;=0D >=0D > x and_eq y;=0D >=0D >}=0D >=0D >=0D >=0D >That is to use keywords instead of || etc symbols?=0D >=0D >=0D >=0D >Ioannis Vranos=0D >=0D >* Programming pages: http://www.noicys.freeurl.com=0D >* Alternative URL: http://run.to/noicys=0D >=0D >=0D >-------------------------------------------------------=0D >This sf.net email is sponsored by:ThinkGeek=0D >Welcome to geek heaven.=0D >http://thinkgeek.com/sf=0D >_______________________________________________=0D >Dev-cpp-users mailing list=0D >Dev...@li...=0D >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm=0D >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Jaap de W. <wo...@Ne...> - 2003-02-28 14:30:06
|
This is not really new, you could use it since VC4.2 (Microsoft ~1995)
The only thing was you had to include <iso646.h>:
/* iso646.h standard header */
#ifndef _ISO646
#define _ISO646
#define and &&
#define and_eq &=
#define bitand &
#define bitor |
#define compl ~
#define not !
#define not_eq !=
#define or ||
#define or_eq |=
#define xor ^
#define xor_eq ^=
#endif /* _ISO646 */
/*
* Copyright (c) 1994 by P.J. Plauger. ALL RIGHTS RESERVED.
* Consult your license regarding permissions and restrictions.
*/
The reason for this was that at the moment of talking about a new standard,
there were keyboards with ugly ways to access the ^~| and & key.
(And still at some keyboards you have to look a second time to find the
right key)
Jaap
-----Original Message-----
From: Ioannis Vranos [mailto:no...@ho...]
Sent: Friday, February 28, 2003 11:52 AM
To: Dev-C++ Mailing List
Subject: [Dev-C++] keywords
By the way guys and girls, did you know that in C++98 you can do:
#include <iostream>
int main()
{
int x=1, y=2;
if(x>y or x*y==2)
std::cout<<"Beep beep\n";
y=y bitand x;
x and_eq y;
}
That is to use keywords instead of || etc symbols?
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL: http://run.to/noicys
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Charles K. <ch...@ke...> - 2003-02-28 17:13:25
|
Does anyone know of a good macro that will allow one to send messages to
output during compile?
What I would like is the equivalent of MSVC's #pragma note() function.
I was considering gcc's #warning " " function.
does anyone have a macro, like NOTE(" ") that will output a message
during compile for both msvc and gcc ?
|
|
From: Ioannis V. <no...@ho...> - 2003-02-28 23:24:25
|
-------Original Message-------=0D =0D From: Jaap de Wolff=0D Date: =D0=E1=F1=E1=F3=EA=E5=F5=DE, 28 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2= 003 4:32:26 =EC=EC=0D To: Dev-C++ Mailing List=0D Subject: RE: [Dev-C++] keywords=0D =0D This is not really new, you could use it since VC4.2 (Microsoft ~1995)=0D The only thing was you had to include <iso646.h>:=0D =0D =3D=3D> I didn't say it's new. :)=0D =0D =0D =0D /* iso646.h standard header */=0D #ifndef _ISO646=0D #define _ISO646=0D #define and &&=0D #define and_eq &=3D=0D #define bitand &=0D #define bitor |=0D #define compl ~=0D #define not !=0D #define not_eq !=3D=0D #define or ||=0D #define or_eq |=3D=0D #define xor ^=0D #define xor_eq ^=3D=0D #endif /* _ISO646 */=0D =0D /*=0D * Copyright (c) 1994 by P.J. Plauger. ALL RIGHTS RESERVED. =0D * Consult your license regarding permissions and restrictions.=0D */=0D =0D =0D =3D=3D> That's cool. That means you have lived with the language in roman= tic times.=0D =0D =0D The reason for this was that at the moment of talking about a new standar= d, =0D there were keyboards with ugly ways to access the ^~| and & key.=0D (And still at some keyboards you have to look a second time to find the=0D right key)=0D =0D =3D=3D> Well, i do not know about its exact history but i have the impres= sion that these digraphs and trigraphs were both created to help people with keyboard problems (missing these characters for example). My guess for th= e keywords is that they are intended just to be nice. Unfortunately althoug= h part of the standard, MINGW is the only compiler i have seen that accepts these keywords so far but naturally i am expecting to see them recognised soon by other compilers, as with other C++98 things missing in the past a= nd now are available. Does anyone remember the times we were here with GCC 2= =2E95 x discussing what nice things the standard defines and the compiler was missing? :)=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: <cg...@wo...> - 2003-03-01 12:39:07
|
Just as mingw, which has that file, too.
Jaap de Wolff wrote:
>This is not really new, you could use it since VC4.2 (Microsoft ~1995)
>The only thing was you had to include <iso646.h>:
>
>/* iso646.h standard header */
>#ifndef _ISO646
>#define _ISO646
>#define and &&
>#define and_eq &=
>#define bitand &
>#define bitor |
>#define compl ~
>#define not !
>#define not_eq !=
>#define or ||
>#define or_eq |=
>#define xor ^
>#define xor_eq ^=
>#endif /* _ISO646 */
>
>/*
> * Copyright (c) 1994 by P.J. Plauger. ALL RIGHTS RESERVED.
> * Consult your license regarding permissions and restrictions.
> */
>
>The reason for this was that at the moment of talking about a new standard,
>there were keyboards with ugly ways to access the ^~| and & key.
>(And still at some keyboards you have to look a second time to find the
>right key)
>
>Jaap
>-----Original Message-----
>From: Ioannis Vranos [mailto:no...@ho...]
>Sent: Friday, February 28, 2003 11:52 AM
>To: Dev-C++ Mailing List
>Subject: [Dev-C++] keywords
>
>
>By the way guys and girls, did you know that in C++98 you can do:
>
>
>#include <iostream>
>
>int main()
>{
> int x=1, y=2;
>
> if(x>y or x*y==2)
> std::cout<<"Beep beep\n";
>
>
> y=y bitand x;
>
> x and_eq y;
>
>}
>
>
>
>That is to use keywords instead of || etc symbols?
>
>
>
>Ioannis Vranos
>
>* Programming pages: http://www.noicys.freeurl.com
>* Alternative URL: http://run.to/noicys
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
>
>
|
|
From: Ioannis V. <no...@ho...> - 2003-03-01 12:54:58
|
Which is not required/valid C++98 header file.=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys =0D =0D -------Original Message-------=0D =0D From: Carlos Garc=EDa del Monte=0D Date: =D3=DC=E2=E2=E1=F4=EF, 1 =CC=DC=F1=F4=E9=EF=F2 2003 2:41:51 =EC=EC=0D To: dev-cpp-users-list=0D Subject: Re: [Dev-C++] keywords=0D =0D Just as mingw, which has that file, too. |
|
From: Daniel G. <sp...@ho...> - 2003-11-04 12:19:23
|
http://www.research.att.com/~bs/glossary.html#Gabstract-class >From: Avi Smith <sm...@ne...> >To: dev...@li... >Subject: [Dev-C++] keywords >Date: Tue, 04 Nov 2003 12:42:37 +0200 > >Hi. > >I'm new Dev-c++ and would like to know where I can find a list of C/C++ >keywords, functions, etc. Is there a manual I can download? > >TIA, >AS _________________________________________________________________ Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile |
|
From: Avi S. <sm...@ne...> - 2003-11-04 13:50:55
|
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 ----- Original Message ----- From: Daniel Glenfield <sp...@ho...> Sent: Tue, 04 Nov, 2003 14:19 Subject: Re: [Dev-C++] keywords http://www.research.att.com/~bs/glossary.html#Gabstract-class >To: dev...@li... >Subject: [Dev-C++] keywords >Date: Tue, 04 Nov 2003 12:42:37 +0200 > >Hi. > >I'm new Dev-c++ and would like to know where I can find a list of C/C++ >keywords, functions, etc. Is there a manual I can download? > >TIA, >AS _________________________________________________________________ Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile |
|
From: Glenn W. <gl...@mr...> - 2003-11-04 14:11:43
|
The operator keyword is used for overloading operators. Here is a list = that might be useful to you. http://www.cppreference.com/keywords.html Sincerely,=20 Glenn Welker=20 Director of Product Development=20 MRH Technology Group=20 -----Original Message----- From: Avi Smith [mailto:sm...@ne...] Sent: Tuesday, November 04, 2003 8:45 AM To: Daniel Glenfield; dev...@li... Subject: Re: [Dev-C++] keywords 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 ----- Original Message ----- From: Daniel Glenfield <sp...@ho...> Sent: Tue, 04 Nov, 2003 14:19 Subject: Re: [Dev-C++] keywords http://www.research.att.com/~bs/glossary.html#Gabstract-class >To: dev...@li... >Subject: [Dev-C++] keywords >Date: Tue, 04 Nov 2003 12:42:37 +0200 > >Hi. > >I'm new Dev-c++ and would like to know where I can find a list of C/C++ >keywords, functions, etc. Is there a manual I can download? > >TIA, >AS _________________________________________________________________ Hotmail messages direct to your mobile phone = http://www.msn.co.uk/msnmobile ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: <seb...@sk...> - 2003-11-04 15:28:40
|
I know a vry good courses about C/C++ (http://www.developpez.be/downloads/c/cours_cpp-1.40.4-html.zip) unfortunatly is in french. Maybe anyone interested NiGhMa ----- Original Message ----- From: "Glenn Welker" <gl...@mr...> To: "Avi Smith" <sm...@ne...>; "Daniel Glenfield" <sp...@ho...>; <dev...@li...> Sent: Tuesday, November 04, 2003 3:11 PM Subject: RE: [Dev-C++] keywords > The operator keyword is used for overloading operators. Here is a list that might be useful to you. > > http://www.cppreference.com/keywords.html > > Sincerely, > Glenn Welker > Director of Product Development > MRH Technology Group > > > > -----Original Message----- > From: Avi Smith [mailto:sm...@ne...] > Sent: Tuesday, November 04, 2003 8:45 AM > To: Daniel Glenfield; dev...@li... > Subject: Re: [Dev-C++] keywords > > > 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 > > ----- Original Message ----- > From: Daniel Glenfield <sp...@ho...> > Sent: Tue, 04 Nov, 2003 14:19 > Subject: Re: [Dev-C++] keywords > > > > http://www.research.att.com/~bs/glossary.html#Gabstract-class > > >To: dev...@li... > >Subject: [Dev-C++] keywords > >Date: Tue, 04 Nov 2003 12:42:37 +0200 > > > >Hi. > > > >I'm new Dev-c++ and would like to know where I can find a list of C/C++ > >keywords, functions, etc. Is there a manual I can download? > > > >TIA, > >AS > > _________________________________________________________________ > Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > |
|
From: Avi S. <sm...@ne...> - 2003-11-04 19:21:08
|
Thanks to all those who provided valuable links. Knowing now that some keywords (such as "operator") are specific to C++, is there any way to "turn off" C++ keyword recognition while developing a C program in Dev-C++? TIA, AS |
|
From: Eric <eri...@cl...> - 2003-11-05 10:32:13
|
I never knew about "wchar_t" before ----- Original Message ----- From: "Glenn Welker" <gl...@mr...> To: "Avi Smith" <sm...@ne...>; "Daniel Glenfield" <sp...@ho...>; <dev...@li...> Sent: Wednesday, November 05, 2003 3:11 AM Subject: RE: [Dev-C++] keywords The operator keyword is used for overloading operators. Here is a list that might be useful to you. http://www.cppreference.com/keywords.html Sincerely, Glenn Welker Director of Product Development MRH Technology Group -----Original Message----- From: Avi Smith [mailto:sm...@ne...] Sent: Tuesday, November 04, 2003 8:45 AM To: Daniel Glenfield; dev...@li... Subject: Re: [Dev-C++] keywords 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 ----- Original Message ----- From: Daniel Glenfield <sp...@ho...> Sent: Tue, 04 Nov, 2003 14:19 Subject: Re: [Dev-C++] keywords http://www.research.att.com/~bs/glossary.html#Gabstract-class >To: dev...@li... >Subject: [Dev-C++] keywords >Date: Tue, 04 Nov 2003 12:42:37 +0200 > >Hi. > >I'm new Dev-c++ and would like to know where I can find a list of C/C++ >keywords, functions, etc. Is there a manual I can download? > >TIA, >AS _________________________________________________________________ Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Paul M. <tr...@gm...> - 2003-11-05 10:49:32
|
as i know wchar_t is for saving UNICODE strings traexx > I never knew about "wchar_t" before > > > > > ----- Original Message ----- > From: "Glenn Welker" <gl...@mr...> > To: "Avi Smith" <sm...@ne...>; "Daniel Glenfield" > <sp...@ho...>; <dev...@li...> > Sent: Wednesday, November 05, 2003 3:11 AM > Subject: RE: [Dev-C++] keywords > > > The operator keyword is used for overloading operators. Here is a list > that might be useful to you. > > http://www.cppreference.com/keywords.html > > Sincerely, > Glenn Welker > Director of Product Development > MRH Technology Group > > > > -----Original Message----- > From: Avi Smith [mailto:sm...@ne...] > Sent: Tuesday, November 04, 2003 8:45 AM > To: Daniel Glenfield; dev...@li... > Subject: Re: [Dev-C++] keywords > > > 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 > > ----- Original Message ----- > From: Daniel Glenfield <sp...@ho...> > Sent: Tue, 04 Nov, 2003 14:19 > Subject: Re: [Dev-C++] keywords > > > > http://www.research.att.com/~bs/glossary.html#Gabstract-class > > >To: dev...@li... > >Subject: [Dev-C++] keywords > >Date: Tue, 04 Nov 2003 12:42:37 +0200 > > > >Hi. > > > >I'm new Dev-c++ and would like to know where I can find a list of C/C++ > >keywords, functions, etc. Is there a manual I can download? > > > >TIA, > >AS > > _________________________________________________________________ > Hotmail messages direct to your mobile phone > http://www.msn.co.uk/msnmobile > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ |
|
From: Daniel G. <sp...@ho...> - 2003-11-04 15:13:04
|
Shouldn't everything that is a keyword in C++ be highlighted by the compiler (and then in the IDE, Dev-C++)? So in other words a keyword is a keyword whatever compiler you are using, if it is a C++ keyword it must be treated as such by all compilers. Unless I am showing my ignorance? Or do you mean what keywords will be highlighted? >From: Avi Smith <sm...@ne...> >To: Daniel Glenfield <sp...@ho...>, >dev...@li... >Subject: Re: [Dev-C++] keywords >Date: Tue, 04 Nov 2003 15:45:01 +0200 > >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 > >----- Original Message ----- >From: Daniel Glenfield <sp...@ho...> >Sent: Tue, 04 Nov, 2003 14:19 >Subject: Re: [Dev-C++] keywords > > > >http://www.research.att.com/~bs/glossary.html#Gabstract-class > > >To: dev...@li... > >Subject: [Dev-C++] keywords > >Date: Tue, 04 Nov 2003 12:42:37 +0200 > > > >Hi. > > > >I'm new Dev-c++ and would like to know where I can find a list of C/C++ > >keywords, functions, etc. Is there a manual I can download? > > > >TIA, > >AS > >_________________________________________________________________ >Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile > > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile |
|
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 |
|
From: Eugene W. <ir...@ar...> - 2003-11-05 05:08:36
|
Hi, You could check Tools -> Editor Options There is a "Use Syntax Highlighting" part. You could turn off syntax highlighting, or cause it to affect only the files of the listed extensions. I havent written C programs in this IDE, so I'm not too sure, but I doubt you can specifically turn off certain elements, at least not from the interface provided. Eugene > Date: Tue, 04 Nov 2003 21:19:14 +0200 > From: Avi Smith <sm...@ne...> > Subject: Re: [Dev-C++] keywords > To: dev...@li... > > Thanks to all those who provided valuable links. > > Knowing now that some keywords (such as "operator") are specific to > C++, is there any way to "turn off" C++ keyword recognition while > developing a C program in Dev-C++? > > TIA, > AS |