//convert.h
#pragma once
enum{ NULSTAT, CSTAT, EOFSTAT, CPPSTAT };
#define INPUT "input.c"
#define OUTPUT "output.c"
void convert_main();
//convert.c
#include<stdio.h>
#include"convert.h"
static int status = NULSTAT;
void do_null_stat(FILE *ipf,FILE *opf)
{
int c = fgetc(ipf);
switch (c)
{
case '/':
{
int s = fgetc(ipf);
switch (s)
{
case '*':
fputc('/', opf);
fputc('/', opf);
status = CSTAT;
break;
case '/':
fputc('/', opf);
fputc('/', opf);
status = CPPSTAT;
break;