was cleaning up my code before uploading it and didnt test it oops
This commit is contained in:
parent
639ef038b2
commit
16b99e9837
2 changed files with 1 additions and 0 deletions
BIN
day2/day2b
BIN
day2/day2b
Binary file not shown.
|
@ -42,6 +42,7 @@ int main ()
|
|||
// not neccesary to decide length when we know amount of ';'?
|
||||
// length = strchr(row, '\n') - &row[0];
|
||||
// change each ; to \0
|
||||
ptr = row;
|
||||
while(ptr = strchr(ptr, ';')) {
|
||||
ptr[0] = '\0';
|
||||
gameHands++;
|
||||
|
|
Loading…
Reference in a new issue