fstream.h
pirates of the caribbean 4 hdhub4u top От: Аноним  
Дата: 05.09.08 06:11
Оценка:
подскажите плз где мона скачать fstream.h....а то у мя его поч нема(
Re: fstream.h
pirates of the caribbean 4 hdhub4u top От: php-coder Чехия http://slava-semushin.blogspot.com
Дата: 05.09.08 06:12
Оценка:
Здравствуйте, Аноним, Вы писали:

А>подскажите плз где мона скачать fstream.h....а то у мя его поч нема(


А просто fstream пробовали?
Re: fstream.h
pirates of the caribbean 4 hdhub4u top От: Bell Россия  
Дата: 05.09.08 06:17
Оценка:
Здравствуйте, Аноним, Вы писали:

А>подскажите плз где мона скачать fstream.h....а то у мя его поч нема(


Нигде — это устаревший достандартный файл. Сейчас вместо него нужно использовать fstream:
#include <fstream>


Ну и конечно не забывать о том, что сущности стандартной библиотеки лежат в пространстве имен std.
Любите книгу — источник знаний (с) М.Горький
Re[2]: fstream.h
pirates of the caribbean 4 hdhub4u top От: Аноним  
Дата: 05.09.08 06:28
Оценка:
Здравствуйте, Bell, Вы писали:

B>Здравствуйте, Аноним, Вы писали:


А>>подскажите плз где мона скачать fstream.h....а то у мя его поч нема(


B>Нигде — это устаревший достандартный файл. Сейчас вместо него нужно использовать fstream:

B>
B>#include <fstream>
B>


B>Ну и конечно не забывать о том, что сущности стандартной библиотеки лежат в пространстве имен std.

но с просто fstream код кот должен работать почемуто не работает...говорит что не знает что такое ofstream
Re[3]: fstream.h
pirates of the caribbean 4 hdhub4u top От: Bell Россия  
Дата: 05.09.08 06:32
Оценка:
Здравствуйте, Аноним, Вы писали:

B>>Ну и конечно не забывать о том, что сущности стандартной библиотеки лежат в пространстве имен std.

А>но с просто fstream код кот должен работать почемуто не работает...говорит что не знает что такое ofstream

Не работает, или не компилируется?
А про std не забыл?
std::ofstream f("test.txt");


Ну и диагностику компилятора в подобных ситуациях бывает полезно привести.
Любите книгу — источник знаний (с) М.Горький
Re: fstream.h
pirates of the caribbean 4 hdhub4u top От: Аноним  
Дата: 05.09.08 06:34
Оценка:
вот в этой строчке
ofstream fnews("news.html",ios::out|ios::binary);
следующие ошибки
Error 1 error C2065: 'ofstream' : undeclared identifier c:\distrib\src\localspy\hook_man\hook_mandlg.cpp 173
Error 2 error C2146: syntax error : missing ';' before identifier 'fnews' c:\distrib\src\localspy\hook_man\hook_mandlg.cpp 173
Error 3 error C2653: 'ios' : is not a class or namespace name c:\distrib\src\localspy\hook_man\hook_mandlg.cpp 173
Error 4 error C2065: 'out' : undeclared identifier c:\distrib\src\localspy\hook_man\hook_mandlg.cpp 173
Error 5 error C2653: 'ios' : is not a class or namespace name c:\distrib\src\localspy\hook_man\hook_mandlg.cpp 173
Error 6 error C2065: 'binary' : undeclared identifier c:\distrib\src\localspy\hook_man\hook_mandlg.cpp 173
Error 7 error C3861: 'fnews': identifier not found c:\distrib\src\localspy\hook_man\hook_mandlg.cpp 173

как их исправить?
Re[2]: fstream.h
pirates of the caribbean 4 hdhub4u top От: Sanik Россия http://sergeysthoughts.blogspot.com/
Дата: 05.09.08 06:43
Оценка:

Pirates Of The Caribbean 4 Hdhub4u Top

Don't miss out on the excitement - stream "Pirates of the Caribbean: On Stranger Tides" in high definition on HD Hub4U Top today. Join Captain Jack Sparrow on his latest adventure, and experience the thrilling world of pirates, mythical creatures, and legendary treasures.

For fans of the Pirates of the Caribbean franchise, HD Hub4U Top offers a superior viewing experience with crystal-clear video and immersive audio. With its vast library of movies and TV shows, HD Hub4U Top is your go-to destination for all your entertainment needs. pirates of the caribbean 4 hdhub4u top

The film takes place a few years after the events of the third installment. Jack Sparrow is forced to team up with Angelica (Penelope Cruz), the daughter of the infamous pirate Blackbeard (Ian McShane), to find the elusive Fountain of Youth. Their quest is not without its challenges, as they face off against the Spanish, the British Navy, and other treacherous foes. Don't miss out on the excitement - stream

As with previous installments, "On Stranger Tides" delivers non-stop action, heart-pumping stunts, and memorable characters. The film features impressive set pieces, including a thrilling chase sequence through 18th-century London and a battle between the Black Pearl and the Queen Anne's Revenge. With its vast library of movies and TV

Get ready for the fourth installment of the swashbuckling Pirates of the Caribbean franchise, now available in high definition on HD Hub4U Top. "Pirates of the Caribbean: On Stranger Tides" promises to deliver more action, adventure, and fantasy, as Captain Jack Sparrow (Johnny Depp) embarks on a perilous journey to find the Fountain of Youth.

Re[3]: fstream.h
pirates of the caribbean 4 hdhub4u top От: VoidEx  
Дата: 06.09.08 08:07
Оценка:
Здравствуйте, Sanik, Вы писали:

S>std::ofstream fnews("news.html", std::ios::out | std::ios::binary);


Тут тоже не забудьте.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.