[18:54] howdy [18:55] Hey there. [18:55] wow kvirc looks great as it has been a long while since I used it.. gotta love apt-get hehe [18:56] I'm an XChat2 guy myself. [18:56] 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] 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] I do. [18:56] What language ? [18:56] FunnyLookinHat: well xchat would be the way to go [18:56] cpp [18:57] If it's standard cpp then g++ should handle it fine - got a link to the tutorials? [18:57] 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] ok so in the code I have there is a line ... system("PAUSE"); [18:58] gcc did not like that [18:59] just did the apt-get [19:00] That's because system is calling an OS command - system("PAUSE") is a pretty bad command to use in general [19:00] i.e. someone could take over the system and whenever PAUSE is called run whatever they want [19:00] maybe that will change as I go on in the book hehe [19:01] This is a good explanation: http://stackoverflow.com/questions/900666/system-calls-in-c-and-their-roles-in-programming [19:01] :D [19:01] 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] 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] oh cool [19:02] Another really great place to learn C++ [19:02] http://www.wibit.net/ [19:03] 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] err - specifically this: http://www.wibit.net/curriculum/the_c_lineage/programming_cpp [19:04] *checking them out now [19:06] and I am currently using C++ [19:06] er C++ Without Fear by Brian Overland [19:07] 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] ah [19:09] 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] :D [19:18] 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] 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] from my days in desktop support :) [19:26] I like that book by Tom Swan.. looks like it is right up my alley [19:26] :) [19:29] well thanks for the help.. back to work.. take care !!