Learn an IDE or an editor:
gvim
emacs
kdevelop
eclipse
Download a compiler or apt-get it or what ever you want.
Read online tutorials, find a language you like. Buy a book.
Have a goal for something to program. Make it short and small and work from there.
Name:
Anonymous2006-05-11 14:56
Protips:
1. Install KDE and use Kate. vi, vim, gvim, emacs, xemacs, and anything that sounds like "vi" or "emacs" sucks balls.
2. Start with a simple structured language, like Pascal, to learn to program; DO NOT START WITH AN OBJECT-ORIENTED LANGUAGE. Then move onto C (NOT C++) to understand how things really work. Then move onto scripting languages, for example Python, to learn the rest.
Name:
Anonymous2006-05-11 15:01
>>1
1) Start off with any generic "C for n00bs" book, I didn't like "Learn C in 24 hours", others here probably do, though.
2) Once you're comfortable with that, get "Beginning Linux Programming" by Richard Stones and Neil Matthew
3) Read real code, modify shit and run it. Do NOT use GNU code; the GNU coding standards are made of lose and fail. An alternative might be to grab some simple BSD programs, modify and compile them (eg run "apt-get source pmake" or "apt-get source nvi" if you're using debian).
Consider getting VMPlayer and/or Qemu and installing FreeBSD on a virtual machine; that way you can install the source for the whole OS in one place and then poke around, modifying crap, breaking it, and fixing it.
With FreeBSD you get a whole shitload of code for the entire OS (wide variety to choose from) which has been tested to compile and interoperate with each other (no weird surprises from gnu-foo.tar.gz conflicting with gnu-bar.tar.gz) so you can focus on just fucking with stuff.
Name:
Anonymous2006-05-11 15:02
Of course I assumed you were just learning C, sorry for that bias in my post :(
Tells the truth, and the Beatles were wrong, all you need is C. Linux is the perfect environment for it.BSD is great too.
I learned C by myself with the 2nd edition of K&R, some people will tell you it's not very beginner-oriented, maybe they are right, but if I didn't failed with it, you won't. It will teach you good habits to think and write smart and efficient code.
After that, update yourself to C99 and do what number 6 told you.
When you have reached a certain level, C Unleashed is also a good reference.
Name:
Anonymous2006-05-11 16:20
>>10
Linux is a kernel, get it straight. GNU/Linux is the Kernel, the OS and the environment.
Oops, it's GNAA/weed (it's the drug, the hippie and the love environment). I'm an insensitive clod.
Name:
!XOkji06ATU2006-05-11 18:31
Wow, that's a lot of good tips. Thanks all, I'll get started on it.
Except for the downloading part, I'll have to do that later. Dial-up, ykonw.
Just the books for me for now.
Name:
Anonymous2006-05-11 19:42
>>16
Linux is definitely not for dial-up users, if you can't be connected 24/7 you won't have much fun.
Name:
Anonymous2006-05-12 4:27
>>17
I'm on dialup, I get by. You get *real* aquainted with wget -c and patience, tho!
Name:
Anonymous2006-05-12 9:53
For some reason linux does really bad at dialup. Even after mucking around with QoS, I just can't seem to get decent half-latency if I'm also leeching something at the time. :/
Name:
Anonymous2006-05-12 15:10
Sorry linux is just the kernel faggots.
GNU/LINUX
Name:
Anonymous2006-05-12 15:21
>>20
Sorry nobody gives a fuck about that, GNAA faggot. We'll still call it /[Ll](?:(u)|i)n(?(1)i|u)x/.
GNAA/LUNIX
Name:
Anonymous2006-05-12 15:22
>>21
BTW, that was an obfuscated regular expression example using a powerful feature (testing if something had matched). I could have written that like /[Ll](?:inux|unix)/ too, but this is less fun.
Name:
Anonymous2006-05-12 16:14 (sage)
GNAA doesn't support free software. GNU supports free software. GNAA is also dead and depakote is fat. GNAA has been overrun by CHAN retards like yourself who are too interested in naruto and kiddie porn to get down to some real trolling.
SUICIDE SYNTAX RULES:
1 THERE ARE NO COMMENTS, ALL TEXT IS COMPILED
2 VARIABLE NAMES HAVE MAX 1 CHAR
3 YOU CANNOT DECLARE VARIABLES, THEY MUST APPEAR IN PROGRAM FLOW
4 EQUALS AND ASSIGNMENT ARE SAME OPERATOR ':=='
5 NO FUNCTION CALLS, GOTO ONLY
6 INT IS THE ONLY DATA TYPE AND IT VARIES BY PLATFORM
7 ALL CONSTANTS ARE MODIFIABLE AND APPEAR IN PROGRAM TEXT WHEN COMPILED
8 EACH LINE ENDS WITH A '&' TO MARK END OF LINE
9 THERE IS NO MULTIPLY OR DIVIDE OPERATOR
10 NO END STATEMENT, PROGRAM MUST LOOP ENDLESSLY TO HALT
>>36
how is I/O performed? let's make this a reality
Name:
Anonymous2006-05-16 11:50
>>39
Since this is one of those languages designed to be impossible to actually use, we should use an unusable I/O model. In the spirit of not reimplementing the wheel, I propose the use of monads.
Name:
Anonymous2006-05-16 22:40
I/O WILL BE PERFORMED WITH OPERATORS
C/C++ LIEK OPERATORS, SUICIDE IS OBSESSIVE WITH THEM
<int1> << <int2>
int1 reads data from file handle int2, returns read data
<int1> >> <int2>
int1 writes data to file handle int2, returns operation status (-1 good, 0 bad)
0=stdout, 1=stdin, 2=stderr
<string-constant> <> <int>
opens file named <string-constant> as new file handle <int>, returns -1 if did it, 0 if fail
>< <int>
closes file handle <int>
<-> <int>
seeks file handle <int> to position 0, returns -1 if did it, 0 if fail
*<int>*
returns -1 if <int> is EOF, 0 if not
REMEMBER, NO PREDECLARATION.
EXAMPLE (writes stdin to "Cool Text File.txt")
"Cool Text File.txt" <> 3 &
if not ( *1* ) { &
do { &
exitflg :== (A << 1) &
if (!exitflg) continue &
exitflg :== (A >> 3) &
} while ( *1* || !exitflg ) &
} &
endwith 0 &
SINCE SUICIDE HAS NO FUNCTION CALLS, BUT STILL MUST "RETURN VALUES" TO LEGACY OPERATING SYSTEMS, WE USE EXCLUSIVE SUICIDE KEYWORD endwith
Name:
Anonymous2006-05-16 22:42
WHOOPS FORGOT ABOUT THE ONE CHARACTER LIMIT ON VARIABLE NAMES
"Cool Text File.txt" <> 3 &
if not ( *1* ) { &
do { &
X :== (A << 1) &
if (!X) continue &
X :== (A >> 3) &
} while ( *1* || !X ) &
} &
endwith 0 &
Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy