Forum: Geek Forum Topic: C is cool!!! started by: LiNeY Posted by LiNeY on Jul. 27 2001,18:26
Wow I managed to get through the first 7 lessons of my "Teach yourself C in 21 days" book... that means I already have done a third!!! Now I know enough basics to experiment with writing simple programs... I love it! If anyone has some good advice for me, especially concerning my compiler (Microsoft Visual C++ 5.0, I have no idea how to deal with all this workspace and project stuff), please tell me. Posted by MattimeoZ80 on Jul. 27 2001,20:42
you need to learn c++ now... i have a good book at home, i'll post the title when i get there. when i got it it came with a learning edition of msvc6. but learn how to mod half-life
Posted by DuSTman on Jul. 27 2001,22:07
I concur, I like the ability to do object-oriented architecture in C++..and would this book be called "Teach youself C++ in 21 days" by any chance? This message has been edited by DuSTman on July 28, 2001 at 06:24 PM Posted by Spydir on Jul. 27 2001,22:43
if you're planning on actually doing real programming, continue with the C stuff. Almost all the languages made after 1972 are based on it. Anything made before that sucks, except C itself . C++ is ok, but really only usable if whatever you're doing is a good c++ thing (games... that's all I can thing of...). Other wise, doing something like a text editor in C++ is a waste of source code, libs, and all sorts of stuff... ------------------ Posted by CatKnight on Jul. 29 2001,14:03
code:#!/usr/bin/perl try running that and see what happens This message has been edited by CatKnight on July 30, 2001 at 09:12 AM Posted by demonk on Jul. 29 2001,16:41
code: Nice try though. Your script won't even run. Mine will. And it will till the end of time. ------------------ This message has been edited by demonk on July 30, 2001 at 11:42 AM Posted by Spydir on Jul. 29 2001,18:01
... you're a dipshit, ck. I know perl. You mixed some VB in there or something. I dunno, but that was ugly. Now, lets see you code some INTERCAL or BrainFuck and I'll stop calling you a dipshit republican.------------------ Posted by demonk on Jul. 29 2001,18:06
No you won't. You'll always call him a dipshit republican.------------------ Posted by Spydir Web on Jul. 29 2001,19:41
True datedit - IE sucks. Chooses the wrong usernames... and it sucks... and stuff... ------------------ This message has been edited by Spydir Web on July 30, 2001 at 02:42 PM Posted by CatKnight on Jul. 30 2001,12:43
Posted by Spydir on Jul. 30 2001,15:07
------------------ Posted by RenegadeSnark on Jul. 30 2001,16:13
We need to execute this script:
quote: Posted by Werlwind on Jul. 31 2001,10:42
wow i am thinking of learning c. as they said u now need to learn c++.------------------ Posted by Dark Knight Bob on Jul. 31 2001,22:01
-------------------quote: right so anywayz so much for that attempt. ------------------ < Where's your self re-cocking-spect > This message has been edited by Dark Knight Bob on August 01, 2001 at 05:02 PM Posted by damien_s_lucifer on Aug. 01 2001,05:13
Actually, the call to MainLoop in CK's code just shows he does a lot of work with the Tk toolkit - which means he's more 1337 than most of you Liney, learn MORE C. If you've only made it thru the first 7 lessons, you have a lot more reading to do Posted by demonk on Aug. 01 2001,05:58
True, but if he was truely good at perl and uses Tk alot, then he would have instictually put the "use Tk;" command at the top of the file. He did not. Like I said before, he's code will not run without modification, neither will RenegadeSnark's no matter how funny it is.------------------ Posted by Nikita on Aug. 01 2001,18:45
So, you're learning C, eh? < http://www.ucomics.com/foxtrot/viewft.cfm?uc_fn=1&uc_full_date=20010719&u c_daction=X&uc_comic=ft > This message has been edited by Nikita on August 02, 2001 at 01:50 PM Posted by RenegadeSnark on Aug. 01 2001,20:20
Somehow writing a "bill" function or defining package CatKnight seemed like it would be excessive for one little joke.
Posted by Rhydant on Aug. 02 2001,17:10
< http://shop.barnesandnoble.com/booksearch/isbnInquiry.asp?userid=1A7XOO1BVN&mscssid=UDS5EHW5VH449K2M5QABAJ12JERLAQSB&isbn=0672315157 > you should of gotten that book... as soon as my life goes back to not.... hell, ill buy that and steal a copy of Visual C (or whatever) from the office. i have no idea what C++ is, but im thinking ive got to learn it if i want to keep up with the other geeks. you know? ------------------ Posted by Beldurin on Aug. 07 2001,19:19
Be carful when buying programming "how to" books. I wanted to learn how to write Windows Apps so I picked up a Visual C++ programming book and all it taught me how to do was write more Win32 console apps. They tend to be pretty lean on the actual MFC programming (windowing, etc.) aspects.As for namespaces, I could never get a straight answer from my professors, but if you have everything installed in default location, I was told to use: "using namespace std;" Hope that helps! Posted by CatKnight on Aug. 08 2001,13:53
quote:
I forgot the use tk; though Posted by CatKnight on Aug. 08 2001,13:58
code: Posted by chmod on Aug. 08 2001,15:00
Has anyone ever seen Perl poetry? It's pretty weird but still fun to read. There's even a whole chapter on it in Programming Perl (the o'reilly book).
Posted by damien_s_lucifer on Aug. 08 2001,22:54
And yes, CK, you DID forget the use Tk; but that's okay. We Perl programmers aren't required to define everything code: For those of you who are just learning programming, that code basically says "if it ain't O'Reilly, it's crap." Which is *very* true. If you want to learn a language, get the "Learning ________" and "______ in a Nutshell" books from O'Reilly. You won't need anything else If you DO know Perl, don't badger me if I got the reference handling wrong. References in Perl 5 are downright maddening. /me drools in anticipation of Perl 6... Posted by CatKnight on Aug. 09 2001,05:48
code: wow that was a lovely waste of time This message has been edited by CatKnight on August 09, 2001 at 12:51 PM |