| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [C] (Thanks)An interesting question |
Hi Pascal. 19-Jan-04 17:12:36, Pascal Schmidt wrote to Bill Birrell PS> Hi Bill! :-) BB>> By that very definition it is a term used in C. I said nothing BB>> about a macro. I said only that maxint was defined. It does BB>> appear in italics on the left hand side, doesn't it? Read what BB>> you yourself wrote: "other terms are defined ....". PS> Now let's try compiling a C program with minint in it: PS> #include PS> int foo = maxint; PS> gcc -g -O2 -Wall -W -c -o minint.o minint.c minint.c:3: `minint' PS> undeclared here (not in a function) PS> No such problem occurs for INT_MAX. PS> It would also be against the naming conventions used in the C PS> standard to define a constant with a name in lower case I think it was also in italics, maybe if you can enter it in italics it'l work :^) it seems maxint is one of ther terms that was used in describing the C language, but it is not part of the language or the standard environment itself. -=> Bye <=- ---* Origin: Dogs come when you call, cats have answering machines (3:640/1042) SEEN-BY: 633/267 270 @PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.