>I want to print the current time on the screen. After research I managed to
>run the codes below in regular C++. But I could not make it to run in .NET
>Framework environment. Can anybody tell me how to make these codes to work
>in .NET Framework or show me an alternative codes?
System.DateTime.Now will return the current time, and
System.Console.WriteLine will let you print it.
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.