news
This commit is contained in:
parent
fea4c4881b
commit
18d993b1d3
@ -21,9 +21,8 @@ int main() {
|
||||
char pusto[256];
|
||||
int j = 0;
|
||||
for (int i = 0; line[i] != '\0'; i++) {
|
||||
if (!isspace(line[i]) ) {
|
||||
|
||||
pusto[j = j + 1] = line[i];
|
||||
if (!isspace(line[i])) {
|
||||
pusto[j++] = line[i];
|
||||
}
|
||||
}
|
||||
pusto[j] = '\0';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user