| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Find a word |
Quoting David Nugent to Adam Fitzpatrick: DN> A C++ compiler is required to *issue an error* (not just a warning), DN> but a C compiler is broken if it needs the cast at all. DN> What I find a crying shame is that many programmers don't seem to know DN> that C and C++ are two are different languages with some quite DN> distinct and different syntax rules. What is even worse is that those DN> same people often do use malloc() in C++, which is both silly and DN> unnecessary. [snip] DN>Ergo, if you're a programmer worth your salt using malloc(), you must DN>be writing C, therefore you don't need to type-cast the pointer it DN>returns. I like the warnings actually, because I'm the kind of person who doesn't like writing comments; little things like casting the type with malloc make it a little easier to read my own code... ... I used up all my sick days, so now I'm calling in dead. --- FMailX 1.02* Origin: Power BBS - +61-2-858-4114 - Files/Games/EchoMail/Internet (3:711/953) SEEN-BY: 50/99 620/243 623/630 711/401 409 410 413 430 808 809 932 934 946 SEEN-BY: 711/953 963 712/515 713/888 714/906 800/1 @PATH: 711/953 410 808 934 |
|
| 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™.