Search Results

Search: Posts Made By: chihuyu
Forum: Programming 09-02-2018
4,428
Posted By chihuyu
Why does fflush(stdin) fail to work ?
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
double number;
while (scanf("%lf", &number) != 1)
{
printf("Error\n");

...
1,708
Posted By chihuyu
Why awk print is strange when I set FS = " " instead of FS = "\t"?
Look at the following data file(cou.data) which has four fields separated by tab.

Four fields are country name, land area, population, continent where it belongs.

As for country name or...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 10:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy