Page 24: Failed at the first Hurdle!
After following the instructions on page 24, I created First.exe.
However, when I try to run First.exe from the command prompt I get errors.
Here is the code:
Any clues?
Thanks
Ken
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>csc c:\First.cs
Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>csc First.exe
Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1
Copyright (C) Microsoft Corporation. All rights reserved.
error CS2015: 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\First.exe'
is a binary file instead of a text file
error CS1504: Source file 'c:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\First.exe' could not be opened ('Unspecified error ')
Last edited by ken evans; December 15th, 2010 at 02:25 PM..
|