Results 1 to 7 of 7

Thread: Libcod

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Dont edit your .sh file on windows, it adds a \r\n at the end of each line, whereas linux expects a \n only.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  2. The Following User Says Thank You to IzNoGoD For This Useful Post:

    nerdiiii (25th March 2019)

  3. #2
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Quote Originally Posted by IzNoGoD View Post
    Dont edit your .sh file on windows, it adds a \r\n at the end of each line, whereas linux expects a \n only.
    i think dos2unix cant fix it
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  4. #3
    ... connecting
    Join Date
    Jul 2019
    Posts
    9
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Notepad++ is every developers friend on Windows - your basic free lightweight replacement for quick edits with some power functions. Linux files? Just right click on 'Windows (CR LF)' on the right bottom of the screen and click 'Unix (LF)'. Problem solved!

    You must be into SM if you like to use VIM (or into a lesser extend Nano) on your Linux terminal. Windows is my daily driver and sometimes I wonder what the hell I'm doing in those terminals and VIM where I just can launch open Notepad++ directly from SSH on my Windows machine. I guess I'm into SM .

Posting Permissions

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