Interview Question in Visual Studio 2005
Interview Question :: C++: Why is DateTime not working |
The C++ following code (in Visual Studio 2005) generates the error message, "DateTime: undeclared identifier" when i try to compile. Am I using the namespace incorrectly? Why would this not work? Microsoft indicates that DateTime can be used if you use the System.IO namespace...
using namespace System;
using namespace System::IO;
#include "stdafx.h"
void MyProgramDlg :: OnBnClickedUpdate()
{
DateTime x;
} |
|
|
|

Loading ...