Thread View: net.lang.c++
1 messages
1 total messages
Started by Bjarne Stroustrup
Mon, 15 Sep 1986 00:46
ansi - unsigned
Author: Bjarne Stroustrup
Date: Mon, 15 Sep 1986 00:46
Date: Mon, 15 Sep 1986 00:46
16 lines
1250 bytes
1250 bytes
> Subject: Re: (or does it?) > Path: ..!sun!guy (Guy Harris @ Sun Microsystems, Inc.) > ANSI C compatibility. From the May 1, 1986 draft, p. 23: > > The type of an integer constant is the first of the > corresponding list in which its value can be represented. > Unsuffixed decimal: "int", "long int", "unsigned long int"; > unsuffixed octal or hexadecimal: "int", "unsigned int", > "long int", "unsigned long int"; suffixed by the letter "u" > or "U": "unsigned int", "unsigned long int"; suffixed by the > letter "l" or "L": "long int", "unsigned long int"; > suffixed by both the letters "u" or "U" and "l" or "L": > "unsigned long int". Yes, in such matters C++ will follow ANSI C. There will be no gratuitous incompatibilities.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads