| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Problem in C++ |
RM> char c[6] = {"abcde"}; // note 1 char bigger to allow for \0
And why would you want to do that? And even if you did want the
terminating NUL, why bother putting the "6" there? I forgot to
check for "void main" or stupid return values from main, so no
abuse this message! :-) BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9) |
|
| 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™.