All theese stupid guides are written at the collage level!
ex: http://www.steveheller.com/cppad/Output/dialogTOC.html
Is there any online site thats geared towards high schoolers?
It's just too hard when they go over the frekaing bionary system. ><;;
It would be nice if I could find an online tutor or something.
ID:276160
![]() Jun 10 2005, 9:01 pm
|
|
Heh. If you don't want to deal with low-level concepts, C++ is not the programming language for you, I'm afraid. =) (I can sympathise; in my opinion C++ is the ugliest programming language in widespread use. Except perhaps assembly.)
|
Heh. If you don't want to deal with low-level concepts, C++ is not the programming language for you, I'm afraid. =) (I can sympathise; in my opinion C++ is the ugliest programming language in widespread use. Except perhaps assembly.) C++ is a high level language. It abstracts a whole lot from the developer along with doing various stuff behind your back to make things work(like the virtual table) causing extra bloat in both execution time and executable size. And unless you use inline asembly you aren't directly exposed to any low level stuff like the good old registers, stack, and a bunch of other direct hardware manipulation stuff. Which makes it by far look worse than C++ being next to completly unreadable without good use of lots of commenting. The only reason why some C++ code looks daunting is the fact that the syntax is very lax allowing for some real fun. Though without garbage collection like some of the newer languages proper clean up of data in complex structures can get real nasty. |
Your best bet would be to take some computer science college courses. Most of what I learned before attending college was bad habits. Granted this was probably because I taught myself BASIC on a computer in which line numbers were required for every line with no fancy stuff like real subroutines and functions. Getting information about programming off the net is good after you already have a good foundation and can tell the difference between crap and decent information as there is plenty of crap on the net.
|
I just knew you'd find a bone to pick, Theodis. Can't ya leave a guy alone? =P
Yes, C++ is a high-level language. But it does require knowledge of low-level concepts, because it's so easy to (accidentally and not) break through its abstractions. Whether this is a good or a bad thing may depend on your perspective, but I consider it a bad thing. Mind you, much of my dislike of C++ is probably due to the fact I was using a largely unsupported compiler. (Mingw, the Windows port of gcc. Why was I using it, you ask? Because it's free.) And yeah, I don't like having to clean up after myself. It's a waste of time when there are other, better languages that could do it for me. =) And don't start telling me about the merits of C++, I already know about them, C++ is a perfectly good language, I just don't happen to like it. Thank you for not arguing the point. |
I'll try and explain binary:
Our decimal system is "base 10". That means that it has ten digits (0-9). Binary is "base 2", meaning that it has two digits (0-1). In binary, a single numeral is called a bit. In decimal, because it's a base 10 system, every time that you go a digit to the left, that digit's value multiplies by 10. Likewise, in binary, because it's a base 2 system, every time you go a bit to the left, it's value multiplies by two; it doubles. Let's evaluate some numbers in binary: 0001 -- That's simple enough: this is equal to 1, of course! 0010 -- A little bit trickier. The first bit to the right is a 0, so while it acts as a placeholder, and is therefore important, its value is 0 because any number multiplied by 0 is equal to 0. In this case, 1 is being multiplied by 0 because that digit is in the ones place. The second digit is a 1, and it's in the twos place, so we multiply 1 by 2, and we get 2. Since everything else in that nibble (a 4-bit long binary number) is 0, we can safely say that 0010 is equivalent to 2. 0110 -- The first bit to the right -- the ones place -- is a 0. 1 times 0 is zero, so let's go on to the twos place -- the second bit to the right. That's equal to 1, and 1 times 2 is equal to 2, so we know that 2 will be a part of the nibble's value. Now, lets go to the right again. We're now at the fours place. 1 times 4 is equal to 4, so we know that 4 will be a part of the nibble's value. Now, to get the value of the nibble, we add 2 to 4, and we get 6: 2 plus 4 equals 6. Does this help? Do you understand now? =) |
You need to head to your local library, they have plenty of simple books that start from scratch and assume you have no programming knowledge, just make sure you don't pick out Visual C++ or one that automatically starts you out programming windows window applications. I've been programming in the command prompt, once i've mastered that I will move onto more advanced things like windows windows and all that evil stuff that takes tons of math knowledge. =X
|
I have a few other tutorials that I cant give here, you know what my AIM is though....I think