A
Artur1987
Мне нужно чтобы после запуска программы создавался и сразу открывался текстовый файл. Вот в конструкторе CView я прописал:
CPushAraII_26aView::CPushAraII_26aView()
{
// TODO: add construction code here
file.Open((LPCSTR)"Bloknot.txt",CFile::modeCreate|CFile::modeRead,NULL);
}
Файл Bloknot.txt создаётся, но почему-то не открывается , хотя я написал , чтобы он открывался для чтения. Что не так,подскажите, плз
CPushAraII_26aView::CPushAraII_26aView()
{
// TODO: add construction code here
file.Open((LPCSTR)"Bloknot.txt",CFile::modeCreate|CFile::modeRead,NULL);
}
Файл Bloknot.txt создаётся, но почему-то не открывается , хотя я написал , чтобы он открывался для чтения. Что не так,подскажите, плз
