| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | CONVERTING CHAR TO |
NH> Yes.
NH> char str[10] = {'a'};
NH> guarantees the str[1] thru str[9] are all hex zeroes. But this is C,
NH> not C++.
MB> What is it in C++ ?
MB> i suppose it's
MB> char str[10] = {'a',};
No, it's unchanged in C++. The only point I think Neil was making is that
this could just as easily have been answered in the C_ECHO echo rather than
C_PLUSPLUS.
---
---------------
* Origin: Tanktalus' Tower BBS (1:250/102) |
|
| SOURCE: echomail via exec-pc | |
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™.