Results 1 to 9 of 9

Thread: Nooby Qeustion

  1. #1

    Thread Starter
    Hyperactive Member Iron Skull's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    325

    Nooby Qeustion

    I just started with C# and i Wrote This "Hello World" program .
    When i press Build ill get this error: "fatal error CS2008: There its no importcommand given up" (I Translated it i dont know for Sure that "There its no importcommand given up" is right )

    The Code From my Hello World Program:
    Code:
    /*
     *
     * User: Robin Vossen
     * Date: 21-10-2005
     * Time: 20:36
     * 
     * To change this template use Tools | Options | Coding | Edit Standard Headers.
     */
     using System;
     sdfsdf
     public class HelloWorld
     
     {
         public static void Main()
         {
             Console.WriteLine("Hello World!");
         }
     }
    Can you guys/girls help me out here?
    Thanks Already

    506C65617365205261746520506F7374732E2E2E

  2. #2
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196

    Re: Nooby Qeustion

    "sdfsdf" where did that come from?
    Code:
    using System;
    
    namespace test
    {
    	class MainClass
    	{
    		public static void Main(string[] args)
    		{
    			Console.WriteLine("Hello World!");
    		}
    	}
    }

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Nooby Qeustion

    What compiler/IDE are you using? Most will insert all that for you, all you should need to add is the Console.WriteLine() call.

    P.S. DeadEyes 1000 posts, congrats

  4. #4

    Thread Starter
    Hyperactive Member Iron Skull's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    325

    Re: Nooby Qeustion

    sdfsdf is wrong i wanted to Comment that But i forgot XD
    I use SharpDevelop.

    506C65617365205261746520506F7374732E2E2E

  5. #5
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Nooby Qeustion

    Aaack. For your own sake, try VC# Express 2005

  6. #6

    Thread Starter
    Hyperactive Member Iron Skull's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    325

    Re: Nooby Qeustion

    Visual C# Express Edition Beta 2 :S

    Is that Free?
    Is there a None Beta version?
    Last edited by Iron Skull; Oct 23rd, 2005 at 10:26 AM.

    506C65617365205261746520506F7374732E2E2E

  7. #7
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196

    Re: Nooby Qeustion

    "Fatal error cs2008:No Inputs specified" appears if you call csc.exe with no arguments. Try compiling the program in DOS and see does that make any difference. Remember the PATH variable may not be set.

    P.S. Thanks penagate, now on to the next thousand starting with this one.

  8. #8
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Nooby Qeustion

    C# Express is in second Beta phase. If you don't like betas, the RTM version will be out later this year, although the current Beta is actually very stable and close to the final product. And yes, it is free.

  9. #9

    Thread Starter
    Hyperactive Member Iron Skull's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    325

    Re: Nooby Qeustion

    It doesnt work on my Windows 98 Computer

    506C65617365205261746520506F7374732E2E2E

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width