/srv/irclogs.ubuntu.com/2012/04/12/#ubuntu-us-co.txt

AlmostCoolGeekhowdy18:54
FunnyLookinHatHey there.18:55
AlmostCoolGeekwow kvirc looks great as it has been a long while since I used it.. gotta love apt-get hehe18:55
FunnyLookinHatI'm an XChat2 guy myself.18:56
AlmostCoolGeekanyone here code for a living? have some basic questions about code I have for tutorials in Windows and want to do them in linux18:56
FunnyLookinHatMostly because I have a ton of servers/channels saved as auto-joins and logins that I don't want to setup again.18:56
FunnyLookinHatI do.18:56
FunnyLookinHatWhat language ?18:56
AlmostCoolGeekFunnyLookinHat: well xchat would be the way to go18:56
AlmostCoolGeekcpp18:56
FunnyLookinHatIf it's standard cpp then g++ should handle it fine - got a link to the tutorials?18:57
FunnyLookinHati.e. you should be able to get away with "sudo apt-get install build-essential" and from there be able to do "g++ whatever.cpp -o whatever" and then run it with "./whatever"18:57
AlmostCoolGeekok so in the code I have there is a line ... system("PAUSE");18:58
AlmostCoolGeekgcc did not like that18:58
AlmostCoolGeekjust did the apt-get18:59
FunnyLookinHatThat's because system is calling an OS command - system("PAUSE") is a pretty bad command to use in general19:00
FunnyLookinHati.e. someone could take over the system and whenever PAUSE is called run whatever they want19:00
AlmostCoolGeekmaybe that will change as I go on in the book hehe19:00
FunnyLookinHatThis is a good explanation: http://stackoverflow.com/questions/900666/system-calls-in-c-and-their-roles-in-programming19:01
FunnyLookinHat:D19:01
FunnyLookinHatI personally recommend this book if you want to learn via book: http://www.amazon.com/Swans-Linux-Professional-Dev-Guide/dp/078972153819:01
FunnyLookinHatIt's not a great resource on current standards - but it reads pretty easily and helps you adjust the C++ in the *nix world19:02
AlmostCoolGeekoh cool19:02
FunnyLookinHatAnother really great place to learn C++19:02
FunnyLookinHathttp://www.wibit.net/19:02
FunnyLookinHatThey do video tutorials with code samples and lessons - it's REALLY good to get started - but won't take you much further than basic OO stuff.19:03
FunnyLookinHaterr - specifically this: http://www.wibit.net/curriculum/the_c_lineage/programming_cpp19:03
AlmostCoolGeek*checking them out now19:04
AlmostCoolGeekand I am currently using C++19:06
AlmostCoolGeeker C++ Without Fear by Brian Overland19:06
AlmostCoolGeekand I like it as I am SOOO not a programmer but I support a modeling tool so I am talking to more devlopers now than before when I supported a CM tool19:07
FunnyLookinHatah19:07
AlmostCoolGeekplus being a hacker at heart, would like to be able to read code that bad guys use for exploits and understand them more...19:09
FunnyLookinHat:D19:17
FunnyLookinHatI think being able to read code at a basic level is more or less a requirement of most non-IT computer jobs these days.19:18
AlmostCoolGeekwell if you are a legal secretary, why would you never need to read code? unless you had to do something with an IT case.. most end users dont even want to know why something was broken just that it got fixed19:23
AlmostCoolGeekfrom my days in desktop support :)19:23
AlmostCoolGeekI like that book by Tom Swan.. looks like it is right up my alley19:26
AlmostCoolGeek:)19:26
AlmostCoolGeekwell thanks for the help.. back to work.. take care !!19:29

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!