Сообщение /* stdin */
сообщает, что оно ждет ввода на stdin.
Сначала я нашел оригинал, но теперь несуществующий проект here. Похоже, что более новая версия, на которую ссылается в вопросе, имеет приличную документацию. Если выполнить cproto --help
печатает следующее заявление об использовании:
cproto: invalid option -- '-'
usage: cproto [ option ... ] [ file ... ]
Options:
-a, -t Convert function definitions to ANSI or traditional style
-b Rewrite function definitions in both styles
-c Enable comments in prototype parameters
-e Output "extern" keyword before global declarations
-f n Set function prototype style (0 to 3)
-l Generate output in lint-library style
-o file Redirect output to file
-O file Redirect errors to file
-p Disable formal parameter promotion
-q Disable include file read failure messages
-s Output static declarations also
-S Output static declarations only
-T Output type definitions
-v Output variable declarations
-x Output variables and functions declared "extern"
-m Put macro around prototype parameters
-M name Set name of prototype macro
-d Omit prototype macro definition
-P template Set prototype format template " int f (a, b)"
-F template Set function definition format template " int f (a, b)"
-C template Set format for function definition with parameter comments
-D name[=value] Define C preprocessor symbol
-U name Undefine C preprocessor symbol
-I directory Add #include search directory
-E command Run specified C preprocessor command
-E 0 Do not run any C preprocessor
-V Print version information
Вы должны предоставить дополнительный аргумент опции -f
(или просто удалить его). Например:
C: \ Users \ Admin \ Desktop \ cproto-4.7c-бен \ Bin> cproto -f3 fileExec.c
или
C: \ Users \ Admin \ Desktop \ cproto-4.7c -bin \ bin> cproto fileExec.c
Я не уверен, почему этот вопрос приостановлен ... мне очень ясно, что меня спрашивают, и я ответил на вопрос. Что конкретно мог бы сделать один из тех, кто уложил это в состояние, чтобы улучшить ситуацию в вопросе? – rkersh