Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Тестовые примеры / ch7 / test_devfile
.C #include "devfile.h"
int main()
{ // Example for devfile
devfile ndev("/dev/tty", ios::out, 0755); // open the device file for write
ndev << "This is a sample output string\n"; // write data to the device file
ndev.close(); // close the device file
return 0;
}
Соседние файлы в папке ch7