| delorie.com/archives/browse.cgi | search |
| Message-ID: | <38A21537.72B22E1A@geocities.com> |
| From: | Sahab Yazdani <beyonder69 AT geocities DOT com> |
| Organization: | PheonixSoft Inc. |
| X-Mailer: | Mozilla 4.7 [en] (Win98; I) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: program works on my comp but not on others... |
| References: | <389F3A9D DOT B579912D AT geocities DOT com> |
| Lines: | 22 |
| Date: | Wed, 09 Feb 2000 20:32:39 -0500 |
| NNTP-Posting-Host: | 209.103.51.144 |
| X-Complaints-To: | abuse AT sprint DOT ca |
| X-Trace: | newscontent-01.sprint.ca 950146698 209.103.51.144 (Wed, 09 Feb 2000 20:38:18 EST) |
| NNTP-Posting-Date: | Wed, 09 Feb 2000 20:38:18 EST |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
okay thanks to everybody for all their help.. I have managed to "traceback" the bug to a seemingly harmless line of code: sprintf( bob, "Active Tank: %s", player1->GetName() ); bob is initialized like this: char *bob = new char[80]; and Player1->GetName() returns "Sahab" whether its on my computer or someone elses (via a fprintf(stderr) call to check the debugging info the procedure Player1->GetName() works returning Sahab...). So why would this line of code be so offensive on other computers, but not my own??? -- *********************************************************** * Sahab Yazdani * "We are all who we are, no more and no * * Thornhill S.S * less" - al'Lan Mandragoran * *********************************************************** * http://pheonixware.8m.com/ * ***********************************************************
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |