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

What endline statement is portable

Options
  • 14-11-2005 9:43pm
    #1
    Registered Users Posts: 7,498 ✭✭✭


    Hey

    Just doing a college project in java and it has to be portable between windows and linux.

    Just wondering is the endline statement \n portable to linux if not what is?


    **edit stupid spelling lol and word mistakes


Comments

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


    Yes, it is. \n is parsed as part of a Regular Expression.


Advertisement