Làm cách nào để tăng dòng trong một tệp trong C?

/**
 * Program to process specified files and determine statistics about the
 * longest line.
 *
 * Output is one line per file, with colon [:] delimited fields:
 *
 *  length:filename:line_number:line_contents
 *
 * No output is produced for input arguments that do not correspond to valid
 * files. 
 *
 * Written by Sam Huang, Spring 2009 for CMSC 212
 */

#include 
#include 

#define MAX_LINE_LENGTH 4096

static void process_file[char *filename];

int main[int argc, char **argv] {
  int q;

  /* Quit if no arguments are passed. */
  if[argc 

Chủ Đề