View Full Version: Learning C++ and other misc. stuff

C++ Learning Community > C++ in General > Learning C++ and other misc. stuff


Title: Learning C++ and other misc. stuff


FHCandyman - August 8, 2003 07:37 AM (GMT)
Just had to say I'm on day 9 of sams 21 day C++ book(and its actually been only 9 days :lol: ) The language is a lot easier then i expected. I grew up(I'm 14 now) thinking that C++ was some godly language that is near impossible to learn. That's the last time I listen to my brothers <_< I'm only a little past pointers, but its all pretty easy so far. I guess Sams just does a good job of teaching it. I'm wondering though, 1. what is C# 2. what is Visual C++, and 3. is OOP going to be 10 times harder then anything i could ever imagine? I think its pretty cool there's a a C++ newbie forum :) , though I wish it were a bit more active. :ph43r:

Sam Fisher vs Solid Snake - August 8, 2003 02:29 PM (GMT)
1.C# is another computing language, it is like c++ with added features
2.Visual C++ is a compiler by Microsoft
3.you are all ready using it, c++ is OOP(object oriented programming)

ih8censorship - August 8, 2003 05:23 PM (GMT)
c++ doesnt have to be oop it is most of the time but doesnt have to be.

Sam Fisher vs Solid Snake - August 8, 2003 06:00 PM (GMT)
yeh, my book covers oop c++ though

FHCandyman - August 8, 2003 09:41 PM (GMT)
yeah im not at OOP yet, i know its part of C++, but thats about it. Looking forward to learning it though. So if C# is C++ with added features, does that make C# better? where does C# come from anyway, I know that C++ was named like that since ++ is increment and C++ was an increment to C(figuratively), but #? thats like CPreprocessor :huh:

Sam Fisher vs Solid Snake - August 8, 2003 09:47 PM (GMT)
# stands for sharp, and i havent read that book much, and i dont own it, but i will try to get back to you on why their different, and C# has other features and coding, but actually i think it is not c++ add-on but basically another type of code like Pascal or Delphi

FHCandyman - August 8, 2003 10:20 PM (GMT)
# means sharp? damn book lied to me! :lol: i might take a look at C# later, much much later, once i have the 7 or 8 language im already looking to learn are done.

Sam Fisher vs Solid Snake - August 8, 2003 10:24 PM (GMT)
# within c++ has a separte meaning

FHCandyman - August 8, 2003 10:48 PM (GMT)
ok...then what is the within C++ meaning, preprocessor :huh: well i know its a command that tells the preprocessor to do something, i dont know the actual meaning.

Sam Fisher vs Solid Snake - August 8, 2003 10:51 PM (GMT)
same here, nobody has told me what the heck it is, i know it has to do with the directive preprocessor

FHCandyman - August 8, 2003 11:09 PM (GMT)
i geuss its pretty unimportant, all you need to know is it tells the preprocessor to do something. maybe it doesnt have any meaning like that, and it really does just stand for 'sharp'. which would make sense i guess: C, C incremented, and C sharp. just seems like a good progression.

Sam Fisher vs Solid Snake - August 8, 2003 11:11 PM (GMT)
yup lol :lol:

dr voodoo - August 10, 2003 09:07 PM (GMT)
# works like // except it tells that the rest of the line is preprocessor code (preprocessor is not C++). What is passed to the compiler is one big C++ line containing all the code. So we need the preprocessor to remove formating of our code, remove comments and execute macros. Mainly you only need 2 preprocessor commands "include" and "define".

Dragon - August 11, 2003 03:41 AM (GMT)
#include "someheader.h"
#define MyID 1

etc.




* Hosted for free by InvisionFree