| |||||||
| Register | FAQ | Gaming | VB Image Host | Search | Today's Posts | Mark Forums Read |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| Banned ![]() ![]() ![]() Join Date: Jun 2003
Posts: 3,596
Grams: 1,733.51 Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
| Post any comments/questions about any computer languages you know or would like to learn more about. This includes C, C++, Assembly, any hex stuff you know, whatever. Just not java, that's for the java thread ![]() |
| | |
| Marijuana.com Sponsor | |
Advertisement | |
| | #2 |
| Jr. Member Join Date: Oct 2000
Posts: 369
Grams: 695.30 Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
| Python is supposed to be a good first language to learn. But I think PHP is easier. But then again, I actually used to know a little bit of PHP. Oh, and poking at your memory is lots of fun! Especially when you find interesting stuff, like where what you see on your monitor is written to (goes from that area of memory to the screen, on my old 586 I think it was 0x8000 or so). Mostly, though, it's really good for crashing programs or operating systems.So... I'm trying to learn Python, PHP, and mIRC scripts, and hopefully will be converting to Linux soon (in which case I can forget about the mIRC scripts since mIRC is for Windows). Here, for anyone who's interested, is what my first Python program looks like. Notice how you can send only one line to the remote host. I haven't figured out yet how to send more than one, and it would almost certainly involve checking for a living connection, which I also haven't figured out yet (I have a lot to learn still. And North America has a lot of molecules in it.). I'm going to look at this one day, laugh, and then edit it to make it look like I was smarter than this: import socket print "You are currently on", socket.gethostname() addr = raw_input("What hostname or address? ") port = int(raw_input("Which port? ")) sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((addr, port)) sock.send(raw_input("Connected, please leave a message: ")) print sock.recv(65536) sock.close() Oh yeah, and you asked for comments: # PROGRAM DOES NOT WORK
__________________ It's so great, being able to come to a site like this and pretend we all smoke pot... |
| | |
| | #3 |
| Web Developer ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2003
Posts: 6,123
Grams: 5,550.83 Groans: 3
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 57 Times in 33 Posts
| I've always been interested in computer languages. The first language I learned was Assembly, and then I tinkered with calculator programming (both basic and assembly). I know QBASIC, BASIC, C++, CGI/Perl, HTML/DHTML, JavaScript, Java, Visual Basic, PHP (my favorite), and it's pretty easy to pick up on other languages because they all follow they same format pretty much. I know databases too, mySQL is my favorite when it comes to that. ActiveScript is something else I know, that's Flash related, so I guess I can include Flash. Oh yeah, I self-taught these to myself by just reading books, looking at scripts, and working with them. I find it near impossible to learn a language from a teacher. I took a Computer Science class in HS and he tried to teach us C++ but I had to teach it to myself, just easier I guess.
__________________ Crucial Web Hosting · Garden's Cure · Marijuana Recipes · Drug Testing Facts Dilution · Substitution · Urine Testing · Hair Testing · Drug Testing FAQ |
| | |
| | #4 |
| Jr. Member Join Date: Aug 2001
Posts: 441
Grams: 686.90 Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
| i'd kill myself if i had to learn assembly. python is the shizznit. runs script and compiled! ahhh, the ease of testing...
__________________ -(A)- INSERT ANARCHIST CLICHE HERE -(A)- |
| | |
| | #5 | |
| Web Developer ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2003
Posts: 6,123
Grams: 5,550.83 Groans: 3
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 57 Times in 33 Posts
| Quote:
What a ***** of a language though, all those numbers and jumping around! | |
| | |
| Marijuana.com Sponsor | |
Advertisement | |
| | #6 |
| New Member Join Date: Apr 2004
Posts: 33
Grams: 600.00 Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
| I know HTML (if that counts), Visual Basic 6, and .NET. The language was changed so much in the transition that I count it as two. ^_^ |
| | |
| Marijuana.com Sponsor | |
Advertisement | |