🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #6812

laser C question

#6812
From: S Alan EZUST
Date: Sun, 10 Dec 1989 16:30
23 lines
1477 bytes
Yes, I am still suffering with Laser C... I notified the company of the
many annoying bugs which are in their latest verision (2.1) but they
haven't responded in any way whatsoever, so until I get myself PC-Speed
so I can run Turbo C 2.0, I gotta make do with what I got...

Since there is no mem.h library of routines, I use strncpy to copy the
contents of one-dimensional arrays. Does anyone know if there is another
function which does a really fast memory copy of Two-Dimensional arrays?
At the moment all I can do is nested loops of assign statements (or maybe
I could do loops of strncpys), but this is stupid. Strncpy
won't allow me to copy n*n bytes starting at the location of the [0][0]th
byte even though I know that is where the stuff I want to copy is.

If anyone can help me here, I'd appreciate it.

And if you do reply, please send me the reply in PRIVATE mail as our
newsfeed is temporarily down and I can't read news easily...



-- 
S. Alan Ezust                                   depeche@calvin.cs.mcgill.ca
McGill University Department of Computer Science - Montreal, Quebec, Canada
Technical Details
Message-ID: <8912101630.AA29327@calvin.cs.mcgill.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!CALVIN.CS.MCGILL.CA!depeche

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!CALVIN.CS.MCGILL.CA!depeche
From: depeche@CALVIN.CS.MCGILL.CA (S Alan EZUST)
Newsgroups: comp.sys.atari.st
Subject: laser C question
Message-ID: <8912101630.AA29327@calvin.cs.mcgill.ca>
Date: 10 Dec 89 16:30:50 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 23