Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!dogie.macc.wisc.edu!decwrl!shelby!bloom-beacon!mcgill-vision!quiche!monching From: monching@quiche.cs.mcgill.ca (Patrick WONG) Newsgroups: comp.sys.mac.programmer Subject: Pascal String Copy in Think C Message-ID: <2252@quiche.cs.mcgill.ca> Date: 22 Feb 90 17:39:42 GMT Reply-To: monching@quiche.cs.mcgill.ca (Patrick WONG) Organization: SOCS, McGill University, Montreal, Canada Lines: 12 I would like to thank everyone who responded to my call for help. I had problems trying to figure out how to copy a pascal string in Think C. Some of the useful suggestions were writing my own function to copy the string, using the c library function strncpy or memcpy, and using the toolbox command BlockMove. I decide the simpliest way for me was to use strncpy. Thanks -- patrick wong | McGill University | \\// monching@quiche.cs.mcgill.ca | School of Computer Science | || | Montreal, Quebec | --