[an error occurred while processing this directive]
Хм..
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено -=ВН=- 20 января 2006 г. 17:13
В ответ на: Ну пожалуй тут нечего дискутировать (+) отправлено SM 20 января 2006 г. 16:54

5.1.2.1 Freestanding environment
In a freestanding environment (in which C program
execution may take place without any benefit of an operating
system), the name and type of the function called at program
startup are implementation-defined.
....
The effect of program termination in a freestanding
environment is implementation-defined.
5.1.2.2 Hosted environment
A hosted environment need not be provided, but shall
conform to the following specifications if present.
5.1.2.2.1 Program startup
The function called at program startup is named main.
The implementation declares no prototype for this function.
It shall be defined with a return type of int and with no
parameters:
int main(void) { /* ... */ }
or with two parameters (referred to here as argc and argv,
though any names may be used, as they are local to the
function in which they are declared):
int main(int argc, char *argv[]) { /* ... */ }
or equivalent;
or in some other implementation-defined
manner.

Составить ответ  |||  Конференция  |||  Архив

Ответы


Отправка ответа

Имя (обязательно): 
Пароль: 
E-mail: 
NoIX ключ Запомнить

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 

URL изображения: 


Rambler's Top100 Рейтинг@Mail.ru
Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание

E-mail: info@telesys.ru