Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Problem!

Options
  • 20-08-2004 12:41pm
    #1
    Registered Users Posts: 2,601 ✭✭✭


    Hi everyone. I have a problem with not being able to compile Objects in Command Promt on my PC. I dunno if its an update i need or what. :confused: Help! Please!


Comments

  • Registered Users Posts: 2,781 ✭✭✭amen


    language ?


  • Registered Users Posts: 1,865 ✭✭✭Syth


    KittyKat wrote:
    Hi everyone. I have a problem with not being able to compile Objects in Command Promt on my PC. I dunno if its an update i need or what. :confused: Help! Please!
    You really should provide more information. No-one can help you with the level of detail (or lack thereof) that you provided in that post. Here are some of the following things that you really should include whenever your looking for programming help:
    * Programming language (Very Important!)
    * Compiler & compiler version.
    * Operating System & version
    * The relevent code your trying to compile
    * The error messages you're getting


  • Registered Users Posts: 2,601 ✭✭✭MidnightQueen


    Syth wrote:
    * Programming language (Very Important!)
    * Compiler & compiler version.
    * Operating System & version
    * The relevent code your trying to compile
    * The error messages you're getting

    Language = Java
    Not sure what compiler version i think its a MS DOS Prompt if thats any help.
    Windows XP Inspirion 8600.
    Heres the code:

    public class arrays2
    {
    public static void main(String args[])
    {

    int[] num =new int[10];

    num[0]=Console.readInt("Enter a number");
    num[1]=Console.readInt("Enter a number");
    num[2]=Console.readInt("Enter a number");
    num[3]=Console.readInt("Enter a number");
    num[4]=Console.readInt("Enter a number");
    num[5]=Console.readInt("Enter a number");
    num[6]=Console.readInt("Enter a number");
    num[7]=Console.readInt("Enter a number");
    num[8]=Console.readInt("Enter a number");
    num[9]=Console.readInt("Enter a number");

    System.out.println("num[0]");
    System.out.println("num[1]");
    System.out.println("num[2]");
    System.out.println("num[3]");
    System.out.println("num[4]");
    System.out.println("num[5]");
    System.out.println("num[6]");
    System.out.println("num[7]");
    System.out.println("num[8]");
    System.out.println("num[9]");

    }
    }


    I'm not getting any error message.

    Cheers for any help! :)

    Oh and by the way yes i have searched google but didnt know what exactly i was looking for because i didnt know what the problem was. So try not to call people dumb lazy fcuks!! :mad:
    I have other problems!!


  • Registered Users Posts: 22,317 ✭✭✭✭Esel


    From my reading of this thread, you are the only person saying 'lazy dumb fcuk'?

    Not your ornery onager



  • Registered Users Posts: 2,601 ✭✭✭MidnightQueen


    esel wrote:
    From my reading of this thread, you are the only person saying 'lazy dumb fcuk'?

    I got it as a comment in my reputation. I'm now down 3 points! :mad:


  • Advertisement
  • Closed Accounts Posts: 79 ✭✭zt


    If you are running javac and receive no error messages maybe the code is compiling correctly? Have you tried running it with java?


  • Registered Users Posts: 2,601 ✭✭✭MidnightQueen


    Cheers! Thanks a mill thats was my problem i wasnt running the Java Application! *bangs head off wall a hundred times* :o

    Thanks again! ;):)


  • Closed Accounts Posts: 17,208 ✭✭✭✭aidan_walsh


    If ever I saw a case of RTFM... *sigh*


  • Registered Users Posts: 2,601 ✭✭✭MidnightQueen


    So so so so so sorry!! :o


  • Registered Users Posts: 1,865 ✭✭✭Syth


    KittyKat wrote:
    So so so so so sorry!! :o
    You can get back some hacker karma by helping out others.


  • Advertisement
Advertisement