5 ms·
How about SCL?: include header file stdio.h, searching system paths first. describe function main that returns a value of type integer, and has argumen
by qwertyuiop924 10y ago
How about SCL?:
include header file stdio.h, searching system paths first.
describe function main that returns a value of type
integer, and has argument of type integer argc, and
argument of type pointers to pointers to characters argv.
begin function body
call function printf with the single argument of type
string "hello world" with a newline appended.
begin new statement.
return the integer value 0.
- 6502nerdface 10y ago> array of pointers to pointers to characters Wouldn't that be char ***argv? (with three stars)
- qwertyuiop924 10y agoFor some reason, I thought it was: char **argv[] It isn't. I've been away from C too long. Fixed in GP.
- pcr0 10y agoAn array of anything decays to a pointer though, if I'm not mistaken.
- qwertyuiop924 10y agoYeah, I know. I've already fixed it.
- deleted 10y ago[deleted]