delorie.com/archives/browse.cgi | search |
Path: | news.mv.net!news.shore.net!newsfeed.mathworks.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news3.rdc1.on.home.com.POSTED!not-for-mail |
From: | AndrewJ <luminous-is AT REMOVE DOT home DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: ok, I have more info on problem at hand |
Message-ID: | <sdl2rskd7npq7ms3f850pbcmcok71krobp@4ax.com> |
References: | <Mtg9LD_00Uw9QI9Fw3 AT andrew DOT cmu DOT edu> <hl61rs8irsn3odqlu83iquu804087l4bpg AT 4ax DOT com> <wtgBn3600Uw9E3Jl4k AT andrew DOT cmu DOT edu> |
X-Newsreader: | Forte Agent 1.7/32.534 |
MIME-Version: | 1.0 |
Lines: | 15 |
Date: | Sat, 02 Sep 2000 19:33:30 GMT |
NNTP-Posting-Host: | 24.42.120.18 |
X-Complaints-To: | abuse AT home DOT net |
X-Trace: | news3.rdc1.on.home.com 967923210 24.42.120.18 (Sat, 02 Sep 2000 12:33:30 PDT) |
NNTP-Posting-Date: | Sat, 02 Sep 2000 12:33:30 PDT |
Organization: | Excite AT Home - The Leader in Broadband |
Xref: | news.mv.net comp.os.msdos.djgpp:103106 |
[snip] >> i = (int *)malloc(20); >> should get you started. > >Yeah, I saw that code around and I know what it means, but I didn't >understand the ANSI adoption into GCC. Huh? ANSI adoption... whut? It boils down to C++ requiring a cast. In fact, you have to cast just about everything in C++. However, this sort of cast in C is considered a Bad Idea, as it can hide potential problems from the programmer. ------- AndrewJ
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |