| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | How do i learn `c` |
BB> KD> without doing pointer subtraction or making a copy of BB> KD> pointer to the array of strings :-) BB> **argv is every bit as legitimate as *argv[]. You'll forgive me if I did not quote the angry bits, I hope. I too, was mystified as to why one could not use ordinary array syntax with **argv and thus require pointer math. Obviously, array syntax is equally correct for accessing *argv[] as for **argv. They are functionally equivalent. It is only a different method of inscribing the same thing. You WOULD, however, require that the array be passed or another variable, a global, be assigned the value of **argv in order to access the data from a function other than main() no matter what notation were employed, since that is not an an issue of syntax, but of scope. --- > ]* Origin: *YOPS ]I[* 8.4 GIG * RA/FD/FE * Milwaukee, WI (1:154/750) SEEN-BY: 396/1 622/419 632/371 633/260 267 270 371 634/397 635/506 728 810 SEEN-BY: 639/252 670/213 218 @PATH: 154/750 222 396/1 633/260 635/506 728 633/267 |
|
| 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™.