delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/20/23:45:23

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Data types
Date: Tue, 20 Jan 1998 22:57:25 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 20
Message-ID: <34C57225.6649@cs.com>
References: <34C53551 DOT D297940B AT jet DOT es>
NNTP-Posting-Host: ppp240.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jordi Pérez wrote:
> 
> Please, excuse my stupid question (and my english), but i can't find
> info about the data types in DJGPP (char, int, float, pointers...).
> I want to know how long they are (int = WORD?,long int = DWORD?, ...).

The simplest solution is to write a program that prints the sizeof()
each of the types that you care about.  I confess to confusion as to why
you didn't just try this yourself before asking us.  :-)

FYI, DJGPP is a 32-bit compiler; therefore ints and pointers are both 32
bits.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       |"Men rarely (if ever) manage to dream |
|       aka Fighteer I       |up a god superior to themselves. Most |
|   mailto:fighteer AT cs DOT com   |gods have the manners and morals of a |
| http://www.cs.com/fighteer |spoiled child."    - Lazarus Long     |
---------------------------------------------------------------------

- Raw text -


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