Показать сообщение отдельно

  #948  
Старый 06.04.2008, 16:31
Amoura
Участник форума
Регистрация: 23.01.2008
Сообщений: 182
Провел на форуме:
2268999

Репутация: 410
По умолчанию

PHP код:
// TestVolume.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "windows.h"
#include "iostream.h"

void main()
{
    
char NameBuffer[MAX_PATH];
    
char SysNameBuffer[MAX_PATH];
    
DWORD VSNumber;
    
DWORD MCLength;
    
DWORD FileSF;

    if (
GetVolumeInformation("C:\\"NameBuffersizeof(NameBuffer),
            &
VSNumber, &MSLength, &FileSFSySNameBuffersizeof(SysNameBuffer));
    {
            
cout << NameBuffer << endl;
            
coun << SysNameBuffer << endl;
            
coun << SVNumber << endl;
    }

при компиляции вылетает ошибка, компилирую в Microsoft Visual Studio 2008:
Error 1 fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory c:\documents and settings\admin\my documents\visual studio 2008\projects\testvolume\testvolume\testvolume.cpp 6 TestVolume

Подскажите где взять этот модуль?

Последний раз редактировалось Amoura; 06.04.2008 в 16:52..
 
Ответить с цитированием