delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/20/14:33:54

From: "Hammy" <darren AT grayce DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: memset func
Date: Wed, 20 Oct 1999 18:55:01 +0100
Organization: Customer of Planet Online
Lines: 10
Message-ID: <7ukvlk$9u6$1@news5.svr.pol.co.uk>
NNTP-Posting-Host: modem-4.fluorine.dialup.pol.co.uk
X-Trace: news5.svr.pol.co.uk 940442100 10182 62.136.4.4 (20 Oct 1999 17:55:00 GMT)
NNTP-Posting-Date: 20 Oct 1999 17:55:00 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

okay, why does it crash when i do this:

memset((char *)videobuffer[640*y+x],5,10);

it gives some type of message like the casting pointer is larger than what
im casting it as????




- Raw text -


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