delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/04/08:15:11

From: "Rafal Maj" <maj_rafal AT poczta DOT onet DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: .h files names
Date: Fri, 4 May 2001 14:10:06 +0200
Organization: Academic Computer Center CYFRONET AGH
Lines: 17
Message-ID: <9cu66j$44a$3@info.cyf-kr.edu.pl>
NNTP-Posting-Host: d-94-53-01.cyfronet.krakow.pl
X-Trace: info.cyf-kr.edu.pl 988978195 4234 149.156.1.161 (4 May 2001 12:09:55 GMT)
X-Complaints-To: news AT cyf-kr DOT edu DOT pl
NNTP-Posting-Date: Fri, 4 May 2001 12:09:55 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Is it portable to include files other then *.h ?

For example :
****** file graph.log NOT graph.h ******
#define graph_version 0.231
****** file car.3do NOT car.h ******
float mesh_x[100] = { 1.00, 1.23 /* ... */ };
float mesh_y[100] = { 1.00, 1.23 /* ... */ };
****** file main.cc ******
#include "graph.log"
#include "car.3do"
int main() { if (graph_version < 1.0) /*...*/  float f = mesh_x[3];
return 0;}

Thanks in advice


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019