"System" namespace does not exist?

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
I copied the example from Visual studio C++ examples for DateTime
but it compiles with error: <font size=1>
<font size=3>error C2871: System : a namespace with this name does not exist</font>
<font size=3>after comment out the DateTime declaration, turns out this sentence is not accepted by the compiler:</font> <font color="#0000ff
<font size=3>using</font></font><font size=3> <font color="#0000ff namespace</font> System;</font>
<font size=2>why this sentence is not OK? any help? </font></font>

View the full article
 
Back
Top