delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/29/13:38:58

Newsgroups: comp.os.msdos.djgpp
From: Daniel Johnson <u5dj AT csc DOT liv DOT ac DOT uk>
Subject: Why oh why...
Sender: news AT csc DOT liv DOT ac DOT uk (News Eater)
Message-ID: <3365E036.2FBC@csc.liv.ac.uk>
Date: Tue, 29 Apr 1997 11:49:10 GMT
Lines: 12
Mime-Version: 1.0
Organization: The University of Liverpool
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Why does the following code work under pure DOS, but not in a Windows
DOS box ?

#include <stdio.h>
#include <stdlib.h>

int main(void) {
  delay(2500);
  exit(0);
}

Any ideas ?

- Raw text -


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