[Settings] [Home] [Contact] [Catalog] [Search] [Thread list] [Report] [Watcher] [PMs] [Admin]
[Return]

Report a post

Preview
>>140336
That's really shitty code. He should've used an associative array like


#include <stdio.h>
int main () {
char * a[] = {
['A'] = "Excellent",
['B'] =
...
};
printf(a[grade]);
return 0;
}
[/grade]
[grade][/grade]
Post number No.140656
Board Off-Topic@Heyuri
Optional. Describe what's wrong with it.