Timeline for Very Simple Triangles
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 30, 2015 at 10:05 | history | edited | MarcDefiant | CC BY-SA 3.0 | added 37 characters in body |
| Mar 25, 2015 at 9:48 | history | edited | MarcDefiant | CC BY-SA 3.0 | don't count newline, use int* instead of char* |
| Mar 25, 2015 at 9:32 | comment | added | FUZxxl | @MarcDefiant Were you able to pass an int**? | |
| Mar 25, 2015 at 8:13 | comment | added | MarcDefiant | @steveverrill fixed it, but I needed to lenghten the code. Couldn't find a solution with a global n or c that's shorter either. | |
| Mar 25, 2015 at 8:11 | history | edited | MarcDefiant | CC BY-SA 3.0 | program now fulfills the requirement that only two lines should be outputted if `1` is passed to the program |
| Mar 25, 2015 at 7:36 | comment | added | MarcDefiant | @FUZxxl unfortunately this doesn't work :-( error: expected declaration specifiers before ‘*’ token main(c,v)**v;{ | |
| Mar 25, 2015 at 0:45 | comment | added | Level River St | I was wondering if you could save something by having c or n as a global variable, so you don't have to pass that parameter to r(). I don't think your answer complies with Note that for 1 the output is two lines long but otherwise it's three. This is required. | |
| Mar 24, 2015 at 22:01 | comment | added | FUZxxl | You could declare main as main(c,v)**v; if that works. | |
| Mar 24, 2015 at 13:31 | history | answered | MarcDefiant | CC BY-SA 3.0 |