www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/03/17:35:33

Xref: news2.mv.net comp.os.msdos.djgpp:4529
From: halibut AT kuhub DOT cc DOT ukans DOT edu
Newsgroups: comp.os.msdos.djgpp
Subject: Beginners srand error
Message-ID: <1996Jun3.144827.120718@kuhub.cc.ukans.edu>
Date: 3 Jun 96 14:48:27 CDT
Organization: University of Kansas Academic Computing Services
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

This gives me a parse error before int:

#include <dos.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <go32.h>
#include <sys/nearptr.h>

void main()
{
   srand(time(NULL));
   int num;
}

Anyone know why?

- Raw text -


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