|
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 |