| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | C/c++ Compiler |
PF>Bad or NULL pointers jump right out at you under OS/2
>(especially under 16 bit os/2). And rather than creeping
>up on you long after the offending code corrupted memory,
>you usually find out right away under OS/2 (your program
>traps). When you compile with debug info, and run under a
>debugger, it will take you right to the offending line of
>code -- where your bad/null pointer will be staring you
>right in the face.
Not always. I once had this real bad C++ class who's code would
over-write the return pointer (the point where the program would
continue after returning from the function). It took me several days,
with a debugger to track that puppy down, because it did not trap at the
exact line, it wouldn't trap at all. It would return to the original
program in the WRONG place!
Michael Douglass
___
.Mike's Mail Internet: MICHAEL.DOUGLASS{at}LCHANCE.SAT.TX.US
--- Maximus/2 2.01wb
* Origin: The Rock BBS--410Meg, i486/33, ZyXEL v32bis. (1:387/31)SEEN-BY: 54/54 620/243 632/348 640/820 690/660 711/409 413 430 807 808 809 SEEN-BY: 711/934 712/353 623 713/888 800/1 2442/0 @PATH: 387/31 1102 3615/50 229/2 2442/0 711/409 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.