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