Создан заказ №3466292
16 декабря 2018
Удаление комментариев на си
Как заказчик описал требования к работе:
Задачу сделать как можно проще с комменатриями и пояснениями
Примеры обработки файлов:
Данные входного файла "input1.c":
int myproc1()
{
const char* nc = " Don't touch text /* inside */ quoted strings ";
// This is comment
printf(" This is // not comment ");
printf(" This is /* not
comment */ too");
myproc2(); // This is comment
/* This is comment too */ myproc3();
myproc4();
/* This is
multiline comment */
myproc5();
// This is "cut-line" \
and prolongation of single-line comment
myproc6();
printf( " This is multiline \
string constant \
without /* comment. Don't /* \
touch me. */ please" );
/* This is multiline comment
// this is single-line comment inside multiline */
myproc7();
/* This is multiline comment ...
/* prolongation ....
end of comment here -> */
myproc8();
return 1;
}
Данные выходного файла "input1.wc":
int myproc1()
{
const char* nc = " Don't touch text /* inside */ quoted strings ";
printf(" This is // not comment ");
printf(" This is /* not comment */ too");
myproc2();
myproc3();
myproc4();
myproc5();
myproc6();
printf( " This is multiline \
string constant \
without /* comment. Don't /* \
touch me. */ please" );
myproc7();
myproc8();
return 1;
}
подробнее
Заказчик
заплатил
заплатил
20 ₽
Заказчик не использовал рассрочку
Гарантия сервиса
Автор24
Автор24
20 дней
Заказчик принял работу без использования гарантии
17 декабря 2018
Заказ завершен, заказчик получил финальный файл с работой

5

Удаление комментариев на си.jpg
2019-07-31 14:11
Последний отзыв студента о бирже Автор24
Общая оценка
5

Положительно
Все очень профессионально сделано и в срок.
Кроме того получил необходимые разъяснения и консультации.