Aktualizovat du3/program.c
This commit is contained in:
parent
e0873bf98d
commit
1be39d3a8f
@ -58,11 +58,6 @@ int main()
|
|||||||
|
|
||||||
while (fgets(line, SIZE, stdin) != NULL)
|
while (fgets(line, SIZE, stdin) != NULL)
|
||||||
{
|
{
|
||||||
//ak nacitany input JE nespravny...
|
|
||||||
if (line[0] != '\0' || line[0] != '\n')
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
if (sscanf(line, "%127[^\n]", strBuffer) == 1)
|
if (sscanf(line, "%127[^\n]", strBuffer) == 1)
|
||||||
{
|
{
|
||||||
bool isLineInvalid = false;
|
bool isLineInvalid = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user