// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include <iostream>
#include <tchar.h>
using namespace std;
// TODO: reference additional headers your program requires here
А это cpp файл:
// pt4.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
string user_name;
return 0;
}
Компилируется без ошибок.
Вопрос: почему компилятор (.NET) не ругается на отсуствие заголовочного файла <string.h>?