🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.sources.d
Article #205

Re: ppmtogif-noLZW.c

#205
From: Takeshi SHIGIHARA
Date: Thu, 18 Oct 2001 02:56
17 lines
1803 bytes
kabe@sra-tohoku.co.jp wrote:
> DOSでコンパイラを使ったことないんでわからんのですけど、
> CだとUNIXのプログラムの移植が多いですから、最近のコンパイラだったら
> stdioはバイナリ扱いするみたいなオプションがあったりしません?
> 
> わざわざ "b" でstdioを開き直している例を見たことないので…

MSVC の例で恐縮ですが
http://www.microsoft.com/japan/developer/library/vccore/_crt__setmode.htm

先頭にアンダースコア付きの関数ですので、ベンダごとに追加された関数の
可能性が巨大です。他のコンパイラシステムでは、必ずしもこの関数が存在して
いるとは限りません。

----- Takeshi  SHIGIHARA
      Office   cygnus@zero.ad.jp
      Home     cygnus@po.jah.ne.jp -----
Technical Details
Message-ID: <3BCE44F2.9047358D@zero.ad.jp>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-for-mail
References: <3bccadb8$0$202$25292c14@hirose.net.tohoku.ac.jp> <3BCD88E2.173DFE3E@ht.sakura.ne.jp> <3bcde51e$0$202$25292c14@hirose.net.tohoku.ac.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: f9e95,9e4fba0723cebfae
X-Google-Attributes: gidf9e95,public
X-Google-Thread: ff2c9,37f322d0cd2dfde0
X-Google-Attributes: gidff2c9,public
X-Google-Thread: fbb7e,9e4fba0723cebfae
X-Google-Attributes: gidfbb7e,public
X-Google-ArrivalTime: 2001-10-17 19:56:53 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-for-mail
From: Takeshi SHIGIHARA <cygnus@zero.ad.jp>
Newsgroups: fj.sources.d,fj.comp.image,fj.os.msdos
Subject: Re: ppmtogif-noLZW.c
Date: Thu, 18 Oct 2001 11:56:50 +0900
Organization: ZERO Inc. ( http://www.zero.ad.jp )
Message-ID: <3BCE44F2.9047358D@zero.ad.jp>
X-Mailer: Mozilla 4.77 [en] (Win95; U)
X-Accept-Language: ja,en
MIME-Version: 1.0
References: <3bccadb8$0$202$25292c14@hirose.net.tohoku.ac.jp>
  <3BCD88E2.173DFE3E@ht.sakura.ne.jp> <3bcde51e$0$202$25292c14@hirose.net.tohoku.ac.jp>
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Complaints-To: newsabuse@supernews.com
Lines: 17