PC Review


Reply
Thread Tools Rate Thread

Console and Files

 
 
Allen Maki
Guest
Posts: n/a
 
      21st Jul 2007






How come line 1 will output garbage to the screen, but line 2 will output a
good number to a file?

How can I make line 1 out put a good number to the screen







String* dayStr = System:ateTime::Now.ToString("dd");

Int32 dayInt = System::Int32::Parse(dayStr);

Console::WriteLine("the day is {0}", __box(dayInt) ); // Line 1



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Recovery Console files Jose Windows XP General 1 11th Jul 2009 07:08 PM
Re: Recovery Console files ju.c Windows XP General 0 11th Jul 2009 05:53 PM
Output files from a Console App Build =?Utf-8?B?QWxleCBNYWdoZW4=?= Microsoft Dot NET Framework 2 11th Jun 2007 07:39 AM
Creating log files from Console App Rathtap Microsoft C# .NET 1 12th Nov 2003 04:12 PM
How to use recovery console to copy files? Swade Microsoft Windows 2000 CMD Promt 1 31st Aug 2003 04:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:53 AM.