Author Topic: To iago:  (Read 37993 times)

0 Members and 3 Guests are viewing this topic.

Offline iCeD

  • Newbie
  • *
  • Posts: 5
  • I haven't visited my profile!
    • View Profile
To iago:
« on: January 02, 2005, 06:19:03 pm »
Hey I want to get started programming and have had C++ and Java suggested as languages to start with.  I've decided to learn Java and heard you are good at with it.  Could you give me a few resources to get me started?  I found the eBook Thinking In Java 2nd Edition.  Also if this is not a good language to learn as your first please go ahead and tell me.  Thanks :).

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: To iago:
« Reply #1 on: January 02, 2005, 07:25:05 pm »
You're going to start with Java or C++?! I'd start with Visual BASIC, it's most like English and easiest to start with. C++ is by far the hardest IMO, and Java is confusing. iago will tell you to just start with Java since he's a sellout like that, but whatever :P
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline iCeD

  • Newbie
  • *
  • Posts: 5
  • I haven't visited my profile!
    • View Profile
Re: To iago:
« Reply #2 on: January 02, 2005, 07:32:02 pm »
I was thinking about Visual Basic but then heard it gives you bad programming habits, and was suggested C++ or Java.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: To iago:
« Reply #3 on: January 02, 2005, 08:58:56 pm »
If you're willing to do work, then learn Java or C first.  I personally don't like C++, but that's another story.

I learned Java at school, and at work, so I don't know what to recommend in terms of books.  I have my textbook, but it isn't good or bad.  Mythix just purchased a couple Java books, I'll point him this way, maybe he'd know more than me.

Offline Mythix

  • The Dude
  • x86
  • Hero Member
  • *****
  • Posts: 1569
  • Victory
    • View Profile
    • Dark-Wire
Re: To iago:
« Reply #4 on: January 02, 2005, 09:16:45 pm »
Now that my permissions set I can give you a little bit of support.


Through my time of diving into different OOP languages (C++, PERL, PHP) now java. I went on ebay and bought a couple of good java books (which retailed at around 70$ a piece) for under 10$ with shipping.


Introduction to java an OOP langauge is what i'm currently reading, it's a good read, doesn't make it feel like you're reading hebrew. I would also recommend googling some stuff, the internet is a fantastic place to find awesome information and tutorials.
Philosophy, n. A route of many roads leading from nowhere to nothing.

- Ambrose Bierce


Offline iCeD

  • Newbie
  • *
  • Posts: 5
  • I haven't visited my profile!
    • View Profile
Re: To iago:
« Reply #5 on: January 02, 2005, 09:38:49 pm »
Aight thanks hopefully I won't have much trouble understanding this stuff.  I'm very cautious purchasing books cause I don't wanna end up paying a chunk of money for something I can't even understand because it claims to be for beginners.

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: To iago:
« Reply #6 on: January 02, 2005, 09:39:08 pm »
doesn't make it feel like you're reading hebrew.

Sometimes Hebrew's easier to read then Java ;)
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline wires

  • Pwnage
  • x86
  • Hero Member
  • *****
  • Posts: 1103
  • cocaine is fun!
    • View Profile
    • Weapon Of Mass Destruction
Re: To iago:
« Reply #7 on: January 03, 2005, 02:23:04 am »
I was thinking about Visual Basic but then heard it gives you bad programming habits, and was suggested C++ or Java.

Haha, Visual Basic 4 lyfe!

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: To iago:
« Reply #8 on: January 04, 2005, 04:40:20 pm »
WiReS, I should kill you.  VB sucks.

Offline wires

  • Pwnage
  • x86
  • Hero Member
  • *****
  • Posts: 1103
  • cocaine is fun!
    • View Profile
    • Weapon Of Mass Destruction
Re: To iago:
« Reply #9 on: January 04, 2005, 04:55:50 pm »
WiReS, I should kill you.  VB sucks.

Quit using it then!

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: To iago:
« Reply #10 on: January 04, 2005, 05:14:20 pm »
I'm trying, but I still can't get sockets working in C++, so if I wish to continue making web-based programs, I must use VB6.

Offline Tagban

  • Newbie
  • *
  • Posts: 16
  • Snail fight 2020
    • View Profile
    • BNET.cc
Re: To iago:
« Reply #11 on: January 06, 2005, 06:40:35 pm »
I'd really like to see more bot like applications in C and C++. Visual Basic seems slower to me than the others. Of course I don't know C or C++ so it doesn't matter really. :(

Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: To iago:
« Reply #12 on: January 06, 2005, 07:24:42 pm »
I'm trying, but I still can't get sockets working in C++, so if I wish to continue making web-based programs, I must use VB6.
Sockets are easy. I can write 'em decently in x86 assembly, too!
« Last Edit: January 06, 2005, 07:26:47 pm by Newby »
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: To iago:
« Reply #13 on: January 08, 2005, 05:19:02 pm »
Yeah, well I get compilation errors in winsock2.h, so go die!

Quote
--------------------Configuration: winsock2hsucksballs - Win32 Debug--------------------
Compiling...
srcMain.cpp
d:\program files\microsoft visual studio\vc98\include\winsock2.h(99) : error C2011: 'fd_set' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(134) : warning C4005: 'FD_SET' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(83) : see previous definition of 'FD_SET'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(143) : error C2011: 'timeval' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(199) : error C2011: 'hostent' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(212) : error C2011: 'netent' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(219) : error C2011: 'servent' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(226) : error C2011: 'protoent' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(310) : error C2011: 'in_addr' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(368) : error C2011: 'sockaddr_in' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(378) : error C2011: 'WSAData' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(430) : warning C4005: 'SO_DONTLINGER' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(391) : see previous definition of 'SO_DONTLINGER'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(483) : warning C4005: 'AF_IPX' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(449) : see previous definition of 'AF_IPX'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(506) : warning C4005: 'AF_MAX' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(468) : see previous definition of 'AF_MAX'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(512) : error C2011: 'sockaddr' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(521) : error C2011: 'sockproto' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(560) : error C2011: 'linger' : 'struct' type redefinition
d:\program files\microsoft visual studio\vc98\include\winsock2.h(573) : warning C4005: 'SOMAXCONN' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(533) : see previous definition of 'SOMAXCONN'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(598) : warning C4005: 'FD_READ' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(551) : see previous definition of 'FD_READ'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(601) : warning C4005: 'FD_WRITE' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(552) : see previous definition of 'FD_WRITE'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(604) : warning C4005: 'FD_OOB' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(553) : see previous definition of 'FD_OOB'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(607) : warning C4005: 'FD_ACCEPT' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(554) : see previous definition of 'FD_ACCEPT'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(610) : warning C4005: 'FD_CONNECT' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(555) : see previous definition of 'FD_CONNECT'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(613) : warning C4005: 'FD_CLOSE' : macro redefinition
        d:\program files\microsoft visual studio\vc98\include\winsock.h(556) : see previous definition of 'FD_CLOSE'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1427) : error C2375: 'accept' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(707) : see declaration of 'accept'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1448) : error C2375: 'bind' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(710) : see declaration of 'bind'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1467) : error C2375: 'closesocket' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(712) : see declaration of 'closesocket'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1486) : error C2375: 'connect' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(714) : see declaration of 'connect'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1507) : error C2375: 'ioctlsocket' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(716) : see declaration of 'ioctlsocket'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1528) : error C2375: 'getpeername' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(718) : see declaration of 'getpeername'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1549) : error C2375: 'getsockname' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(721) : see declaration of 'getsockname'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1572) : error C2375: 'getsockopt' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(724) : see declaration of 'getsockopt'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1593) : error C2375: 'htonl' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(727) : see declaration of 'htonl'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1610) : error C2375: 'htons' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(729) : see declaration of 'htons'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1627) : error C2375: 'inet_addr' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(731) : see declaration of 'inet_addr'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1644) : error C2375: 'inet_ntoa' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(733) : see declaration of 'inet_ntoa'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1662) : error C2375: 'listen' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(735) : see declaration of 'listen'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1680) : error C2375: 'ntohl' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(737) : see declaration of 'ntohl'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1697) : error C2375: 'ntohs' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(739) : see declaration of 'ntohs'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1717) : error C2375: 'recv' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(741) : see declaration of 'recv'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1742) : error C2375: 'recvfrom' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(743) : see declaration of 'recvfrom'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1768) : error C2375: 'select' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(746) : see declaration of 'select'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1792) : error C2375: 'send' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(749) : see declaration of 'send'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1817) : error C2375: 'sendto' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(751) : see declaration of 'sendto'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1843) : error C2375: 'setsockopt' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(754) : see declaration of 'setsockopt'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1865) : error C2375: 'shutdown' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(757) : see declaration of 'shutdown'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1885) : error C2375: 'socket' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(759) : see declaration of 'socket'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1908) : error C2375: 'gethostbyaddr' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(763) : see declaration of 'gethostbyaddr'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1927) : error C2375: 'gethostbyname' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(766) : see declaration of 'gethostbyname'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1945) : error C2375: 'gethostname' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(768) : see declaration of 'gethostname'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1964) : error C2375: 'getservbyport' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(770) : see declaration of 'getservbyport'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(1983) : error C2375: 'getservbyname' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(772) : see declaration of 'getservbyname'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2001) : error C2375: 'getprotobynumber' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(775) : see declaration of 'getprotobynumber'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2018) : error C2375: 'getprotobyname' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(777) : see declaration of 'getprotobyname'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2038) : error C2375: 'WSAStartup' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(781) : see declaration of 'WSAStartup'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2056) : error C2375: 'WSACleanup' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(783) : see declaration of 'WSACleanup'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2073) : error C2375: 'WSASetLastError' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(785) : see declaration of 'WSASetLastError'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2090) : error C2375: 'WSAGetLastError' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(787) : see declaration of 'WSAGetLastError'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2107) : error C2375: 'WSAIsBlocking' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(789) : see declaration of 'WSAIsBlocking'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2124) : error C2375: 'WSAUnhookBlockingHook' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(791) : see declaration of 'WSAUnhookBlockingHook'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2141) : error C2375: 'WSASetBlockingHook' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(793) : see declaration of 'WSASetBlockingHook'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2158) : error C2375: 'WSACancelBlockingCall' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(795) : see declaration of 'WSACancelBlockingCall'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2180) : error C2375: 'WSAAsyncGetServByName' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(797) : see declaration of 'WSAAsyncGetServByName'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2207) : error C2375: 'WSAAsyncGetServByPort' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(802) : see declaration of 'WSAAsyncGetServByPort'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2233) : error C2375: 'WSAAsyncGetProtoByName' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(806) : see declaration of 'WSAAsyncGetProtoByName'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2258) : error C2375: 'WSAAsyncGetProtoByNumber' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(810) : see declaration of 'WSAAsyncGetProtoByNumber'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2283) : error C2375: 'WSAAsyncGetHostByName' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(814) : see declaration of 'WSAAsyncGetHostByName'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2310) : error C2375: 'WSAAsyncGetHostByAddr' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(818) : see declaration of 'WSAAsyncGetHostByAddr'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2333) : error C2375: 'WSACancelAsyncRequest' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(822) : see declaration of 'WSACancelAsyncRequest'
d:\program files\microsoft visual studio\vc98\include\winsock2.h(2353) : error C2375: 'WSAAsyncSelect' : redefinition; different linkage
        d:\program files\microsoft visual studio\vc98\include\winsock.h(824) : see declaration of 'WSAAsyncSelect'
D:\Program Files\Microsoft Visual Studio\MyProjects\rabbitbot2\srcMain.cpp(9) : error C2065: 'socketDescriptor' : undeclared identifier
D:\Program Files\Microsoft Visual Studio\MyProjects\rabbitbot2\srcMain.cpp(9) : error C2440: '=' : cannot convert from 'unsigned int (__stdcall *)(int,int,int)' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
Error executing cl.exe.

winsock2hsucksballs.exe - 60 error(s), 11 warning(s)

Now go die.

Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: To iago:
« Reply #14 on: January 08, 2005, 07:01:13 pm »
LEARN TO PROGRAM IN C/C++ :).
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT.