[18:54] <AlmostCoolGeek> howdy
[18:55] <FunnyLookinHat> Hey there.
[18:55] <AlmostCoolGeek> wow kvirc looks great as it has been a long while since I used it.. gotta love apt-get hehe
[18:56] <FunnyLookinHat> I'm an XChat2 guy myself.
[18:56] <AlmostCoolGeek> anyone here code for a living? have some basic questions about code I have for tutorials in Windows and want to do them in linux
[18:56] <FunnyLookinHat> Mostly because I have a ton of servers/channels saved as auto-joins and logins that I don't want to setup again.
[18:56] <FunnyLookinHat> I do.
[18:56] <FunnyLookinHat> What language ?
[18:56] <AlmostCoolGeek> FunnyLookinHat: well xchat would be the way to go
[18:56] <AlmostCoolGeek> cpp
[18:57] <FunnyLookinHat> If it's standard cpp then g++ should handle it fine - got a link to the tutorials?
[18:57] <FunnyLookinHat> i.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:58] <AlmostCoolGeek> ok so in the code I have there is a line ... system("PAUSE");
[18:58] <AlmostCoolGeek> gcc did not like that
[18:59] <AlmostCoolGeek> just did the apt-get
[19:00] <FunnyLookinHat> That's because system is calling an OS command - system("PAUSE") is a pretty bad command to use in general
[19:00] <FunnyLookinHat> i.e. someone could take over the system and whenever PAUSE is called run whatever they want
[19:00] <AlmostCoolGeek> maybe that will change as I go on in the book hehe
[19:01] <FunnyLookinHat> This is a good explanation: http://stackoverflow.com/questions/900666/system-calls-in-c-and-their-roles-in-programming
[19:01] <FunnyLookinHat> :D
[19:01] <FunnyLookinHat> I personally recommend this book if you want to learn via book: http://www.amazon.com/Swans-Linux-Professional-Dev-Guide/dp/0789721538
[19:02] <FunnyLookinHat> It's not a great resource on current standards - but it reads pretty easily and helps you adjust the C++ in the *nix world
[19:02] <AlmostCoolGeek> oh cool
[19:02] <FunnyLookinHat> Another really great place to learn C++
[19:02] <FunnyLookinHat> http://www.wibit.net/
[19:03] <FunnyLookinHat> They 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] <FunnyLookinHat> err - specifically this: http://www.wibit.net/curriculum/the_c_lineage/programming_cpp
[19:04] <AlmostCoolGeek> *checking them out now
[19:06] <AlmostCoolGeek> and I am currently using C++
[19:06] <AlmostCoolGeek> er C++ Without Fear by Brian Overland
[19:07] <AlmostCoolGeek> and 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 tool
[19:07] <FunnyLookinHat> ah
[19:09] <AlmostCoolGeek> plus being a hacker at heart, would like to be able to read code that bad guys use for exploits and understand them more...
[19:17] <FunnyLookinHat> :D
[19:18] <FunnyLookinHat> I 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:23] <AlmostCoolGeek> well 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 fixed
[19:23] <AlmostCoolGeek> from my days in desktop support :)
[19:26] <AlmostCoolGeek> I like that book by Tom Swan.. looks like it is right up my alley
[19:26] <AlmostCoolGeek> :)
[19:29] <AlmostCoolGeek> well thanks for the help.. back to work.. take care !!