Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!usc!cs.utexas.edu!uunet!unsvax!arrakis!willey From: willey@arrakis.nevada.edu (James P. Willey) Newsgroups: comp.lang.c Subject: problem with cc compiler Message-ID: <712@unsvax.NEVADA.EDU> Date: 23 Jul 89 04:28:46 GMT Sender: news@unsvax.NEVADA.EDU Reply-To: willey@arrakis.uucp (James P. Willey) Organization: Univ of Nevada System Computing Services - Las Vegas Lines: 20 Recently, I wrote a bubble sort in C for a class I was taking. Sounds easy enough, right? Wrong. The sort worked fine, but my function to read the data in interfered with the execution of the code. I kept getting an error in getchar(), not in my code. I checked with several other syudents and the professor, but nobody could figure it out. I finally realized that the function name "read" was the culprit. Are there other function names to avoid with the cc compiler, or any others for that matter? Thanks. ____ We're happy little worms, We love to squish and squirm, We catch the big ones every time, Because we're hooked on you. Cadillac of worms. We're the Cadillac of worms. We're the Cadillac of worms. We're the Cadillac of worms. So remember, Red Wrigglers, the Cadillac of worms.