Pshawn5
10-14-2003, 11:55 AM
anyone know any good turtorials out there on C++ ? specifically object orientated programing.. i find the book im using to be a lil sucky :D
Centurion
10-14-2003, 12:50 PM
Bless you - for you go where nto anyone knows much. Take food with you!
sorry Pshawn - I tried learning a little years ago - and left it to those that think faster.
C :) :)
Nukes
01-14-2004, 10:54 AM
You can think as slow as you like, so long as you do it in a structured fashion :D
If you know C, then I'd pick up one of the "C++ made simple" sort of books, to get you up to speed with most of the differences. As for thinking in OO terms, there isn't much that can help you with that, its all bent on how you choose to apply it.
It will either click, or it won't. At first all of it seems pretty pointless, but when you go to write bigger programs using it, you'll see more and more ways it can save you time.
davidw
01-14-2004, 11:36 AM
I've got a really good book that has taught me a lot (I used this in college). Starting out with C++, 3rd edition.
I liked Borland C++ Builder 6 series in my day, myself! For C/C++, that is... I like Borland Delphi 7.1 fully-customized, the best.
Still this is about C++ so... Borland C++ Builder, it shall be, for the C++ choice out of me.
Man! It truly is easy to use, is simply why - built fast code, well, F A S T!
Much like VB (more like Delphi)... the help files alone in BORLAND stuff almost makes it so you don't NEED a book to go alongside it, or a tutorial! Especially considering the examples they ship with the compiler are a "better tutorial" than you can imagine (& large tracts of Borland Compilers come with source to their controls & more too - great way to learn to do "tricky code" by the by)!
:)
... & builds fast as well as runs fast!
Coding, to me, after 25 yrs. of it total time? Syntax no longer matters (it's principals of building style that matter more & knowing the questions to ask, in any language):
**********************************
* APK Doctor Who ScreenSaver 2008++ : *
**********************************
http://farm3.static.flickr.com/2183/2437089139_23a46a1365_m.jpg
http://www.drwhodaily.com/community/index.php?showtopic=386
**********************************
My latest creation (multithreaded design for today's multicore systems (2-6 threads depending on stage of operation it's in), single-monolithic file executable .scr, that is even virus proofed, via self-check on FileSize & CRC-32 @ startup - if altered? App shuts down!)
http://farm4.static.flickr.com/3036/2437089145_574a8e9ba2_m.jpg
It's fully err-trapped Object-Oriented code, & override for abends/errs in it are (over the std. structured errhandlers built into Delphi) CLOSE (perfect for the type of code it is for -> A ScreenSaver!)).
http://farm4.static.flickr.com/3196/2437089147_b9685bd8ce_m.jpg
It is also "1 moving part" only design (& INTERNALLY stores the .avi it plays back, the new series intro. every episode has, (via resource storage API techniques & Win32 PE structure usage to advantage), of the NEW 2005-2008 Dr. Who Sci-Fi series - From RAM no less, not disk, for the most in efficiency + speed, via data pointers use!)
http://farm3.static.flickr.com/2142/2437089149_5dda4f882a_m.jpg
(Just a 100% FREE multithreaded, multitasking decently engineered Tribute from a longtime fan of a series (more of the concept of the show actually) to the longest running Sci-Fi show there is or ever has been to date, bar-none, & afaik - huge fan here!).
http://farm3.static.flickr.com/2165/2437089151_768645c185_m.jpg
* If you like the Sci-Fi Series, as I do (hence the free tribute, right?)? Well, you'll probably dig it, as it truly is "ONLY THE BEST SUPERIOR DALEK ENGINEERING & DESIGN!!!" only in this one, speaking technologically...
APK
P.S.=> Heck, even its WinRar self-extracting 1-click easy installer is also virus & corruption protected via Rar Locking + 5% recovery record built-in!
:)
All via Object-Oriented proven mostly privatized calls & variables & constants + objects members from Highly optimized Borland Delphi 7 (fastest there is, beat MSVC++ & VB in, of all places, Visual Basic Programmer's Journal Sept. 1997 in fact) that was BOTH highly compiler optimized & hand-tuned via Inline Assembler used after multimedia hi-res timer profiling it, & then Win32 for fine-tuning on many things in it... proven calls (basically C/C++ run thru Delphi) w/ Inline Assembler sprinkled in for the "hot-rod" effect that works- apk
macguy
05-19-2008, 11:41 PM
01-14-2004, 10:36 AM
:rofl:
:rofl:
What's so funny?
(Maybe I'm a "bit thick" today, but, I don't "get it"....)
:(
* Is it something I personally said? If so, I am glad I brightened your day... if not, then see subject-line...
APK
P.S.=> Oh well, what can you do? Perhaps I need more coffee today... apk
macguy
05-22-2008, 5:35 PM
lol... sorry, I was just looking at the date of the last post and wondering how people manage to get the time to look at 5 year old threads. :D
I am sorry, nothing against you at all! :)
lol... sorry, I was just looking at the date of the last post and wondering how people manage to get the time to look at 5 year old threads. :D
That section of your forums must not get a lot of "travellers" in it, because it was near the top (I must have sorted by DATE wrong, or something)... I just responded to it is all!
:)
* Heh, the lad probably has his bachelors in comp. sci. by now, if not work towards his masters degree in it!
I am sorry, nothing against you at all! :)
No biggie... I just didn't get it is all, & NOW? I see your point... I don't pay attention to dates, only to subject material!
APK
P.S.=> I think you can tell WHY I have an interest in this particular section of these forums... it's what I do for a living (well, that & network administration + security oriented work in this field etc. et al)... apk
Win2Kuser
05-24-2008, 4:51 AM
Jeeze, just looked at that Dr Who site, they are a friendly bunch! I would have told that Dr. Jono where to get off.
Hats off to you though APK, I would love to be able to program like that, but you've either got it, or you haven't, and I haven't :)
Hats off to you though APK
Thanks... it was a "labor of love", lol - I do like this science fiction series is why!
NOW - What I like about THIS particular program though, is its design!
(See, because 'in a way', in how it is designed, IS "terminator like", per my signature I use here, lol, & THIS analog based on a quote from the film TERMINATOR 1):
------
"The terminator's an infiltration unit: Part man, part machine - Underneath, it's a hyper alloy combat chassis - Microprocessor controlled, fully armored, VERY tough! BUT, Outside it's living human tissue (flesh, skin, hair, blood - grown for the cyborgs)... The 600 series had rubber skin, we spotted them easy... BUT, these are new, they look human (sweat, bad breathe, everything) VERY HARD TO SPOT!"
------
& she is "FULLY ARMORED, & VERY TOUGH" (Via self-checking itself using FileSize + CRC-32 check code, vs. viral (or corruption otherwise) infestation, in its own code PLUS that of its installer also)... + as a program, naturally, it is "microprocessor controlled", lol, of course!
NOW - above all else: I do NOT do bogus stuff' in it, though - my program up there's benign... HOWEVER, my point here, is that this type of programmatic architecture COULD be misused (for BAD programs, & deliver hellishly terrible ones - think about this)
For example - IF trojans that wanted to foist rootkits (most dangerous threat there is nowadays imo) upon others??
THIS would be the method/architecture to use... as, imo @ least? MOST if not ALL virus, spyware, rootkit type scanners would NOT pick up on it, is my guess!
(Simply because, the "hidden malicious data &/or code in them", stored as data accessible resources (how I playback the .avi in this one, from INSIDE OF ITSELF) via data access pointers? Well, imo? IT would NOT be found)
E.G.-> Data such as a BIOS image file PLUS PnP driver for BIOS flashing, is a worst-case scenario that they COULD do, since BIOS flashing from Windows IS now possible!
(That programmatic architecture? Imo @ least?? It could be VERY "Terminator like", if put into a BADWARE & mainly because THE MALICIOUS CODE COULD BE 'HIDDEN IN PLAIN SIGHT', yet remain undetected via this type of design (the 'terminator' "hyper alloy combat chassis" part) by "living human tissue" (an actual LEGIT & GOOD PROGRAM that stores the bad stuff, potentially, inside of itself, as I do with this screensaver's .avi file it animates (so it is "1 piece/1 moving part only" design))...
* Food 4 thought!
I would love to be able to program like that
Heh, you can man... "every journey starts with a SINGLE step", & sometimes (even 1 of my "technical/intellectual heroes" in Mr. John Carmack of IDSoftware said this)
'Sometimes in this life? It's BEST to take a "hard left turn" & get into something else'
(As he has w/ Armadillo Aerospace)...
HOWEVER, imo @ least, first? You have to have the means (usually time OR financial constraints get in folks' faces though, this is life).
Anyone can though - It's not ALL "rocket science" & today's online codebases make it MUCH simpler than when I started in it (early to mid 90's on PC's @ least, much earlier circa the 1980's on midranges/mainframes)... that, & today's wealth of prebuilt components (programming addons, better than objects alone) + better compilers today & their helpfiles & documentation, also, help A LOT, today... especially for new folks!
It is MUCH better this way, today, by far, than when I got into this game. Now, of course, there IS a 'downside' too - you do NOT learn the TRUE "nuts & bolts" of how this stuff works, being dependent on controls etc. et al too!
Anyhow/anyways:
Programming? Like anything else in this life - It just takes TIME, & a lot of it, hands-on - actually DOING it, no questions, this IS the "only way" to get 'good' (purely relative term) @ it!
(& me? I'm NOT that good, I can "get the job done" (most of the time) & that is my estimation of myself + my abilities in it!)
Personally speaking?
E.G.-> I'm NOT (or, @ least when I started) a "natural" @ it... but, you learn a pattern of thought/mindset I suppose, & it DOES (or can) change you in SOME ways (this I will 'warn' anybody about, it can make you a "geek", lol, for lack of a better expression here is all I am trying to say).
I.E.-> Imo @ least - I am NOT "left-brained" enough by nature (more emotional guy really), if you catch my point here, to be "brilliant @ it" (for whatever that means, purely relative term)!
(It is WORK to me, many times (unless I really LIKE what I am doing, such as the program above, OR if I am "into it" (this is toughest on the job, where sometimes I am NOT 'into the task @ hand' (boring stuff, MIS/IS/IT programming, mostly databasing (the 'steady-eddy' money end of this field, as everyone's data IS different as well as their way of managing/massaging it))))).
Jeeze, just looked at that Dr Who site, they are a friendly bunch!
LOL! Trust me, I did * THINK * about that, but... it wouldn't have been wise/prudent...
(Sometimes? Even "the best of us", kiss a bit of butt, now & then, hehe, to get what WE want to go thru, to go thru!)
It made me realize that even forums mods out there today are "watching it" with stuff folks put up for others to enjoy/use that is good (because of the bogus stuff going on, in the way of virus/spyware/trojans/rootkits etc. et al).
I would have told that Dr. Jono where to get off.
I almost did but... see my subject-line above, the paragraph in my reply right just above this one, first of all, & realize:
I really DID need them to help me out!
(I.E.-> To spread word of it to others, which forums ARE great for, to folks who are 'fellow fans of this series' as I am & have been, literally for 3++ decades now)
PLUS? He really only was JUST DOING HIS JOB as a forums admin there when you come down to it, & he noted that...
(He was just protecting his fellow forums members)...
& MOST OF ALL? He did apologize to me for it. That imo @ least? Publicly?? Takes more of a man, than most are out there.
APK
P.S.=> Sorry for late reply: Busy guy here (@ times)... my guess though, about the misuse of this type of programmatic architecture? Is that (another quote from this film):
"LISTEN, & understand: That terminator is out there... & it can't be bargained with, it can't be reasoned with - it doesn't feel pity, or remorse, or fear (& IT ABSOLUTELY WILL NOT STOP, EVER, until you are DEAD!)"...
Or, robbed, or id-theft'd, etc. et al... pretty sad statement on humanity that, in folks making spywares/viruses/trojans/rootkits etc. et al...
I say this, because if I have thought of it? Someone else has, before me... imo, there is truly, VERY LITTLE "original thought" is why I state that... apk
sohel003
08-19-2008, 1:25 PM
I'd pick up one of the "C++ made simple" sort of books, to get you up to speed with most of the differences. As for thinking in OO terms, there isn't much that can help you with that, its all bent on how you choose to apply it.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.