Thread: where do i get started

  1. #16
    Registered User
    Join Date
    Dec 2011
    Location
    Eindhoven, Noord-Brabant, Netherlands
    Posts
    54
    Quote Originally Posted by Kuro Tensai View Post
    what is the latest edition of accelerated c++? I've got myself the pdf, but i don't know which edition it is. As a matter of fact, i don't know how many editions of this books exist. Can someone please answer this question?
    2nd. Many people recommend thinking in c++ By Eckel, but i've found 3 books with this tittle.
    the 1st was: Thinking in c++ by Eckel, introduction to standard c++, volume one (2nd edition), written in 2000.
    The 2nd was: thinking in c++, volume 2 : pratical programming, by Eckel and chuck allison, written in 2003.
    The third was: thinking in c++, written by Eckel, released in 1995.
    Which one of these 3 books is thinking in c++ which is recommended by many people?

  2. #17
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Honestly, I suggest that you just start with Accelerated C++. If you find that you cannot learn with it, then look for alternatives. Don't go looking for alternatives first, or you'll never get started with learning.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #18
    Registered User
    Join Date
    Dec 2011
    Location
    Eindhoven, Noord-Brabant, Netherlands
    Posts
    54
    Quote Originally Posted by laserlight View Post
    Honestly, I suggest that you just start with Accelerated C++. If you find that you cannot learn with it, then look for alternatives. Don't go looking for alternatives first, or you'll never get started with learning.
    thx, but i'm currently adding the books i need to read to my collection. I've already got most of the suggested books, except 2. Thats y i' m askin, so, no offense and with all the respect, here goes my question again, please help me if you can, i need 2 more books and if I find the one i'm referring 2 in this question, i'll only have 1 left to find. So here goes my question again:

    2nd. Many people recommend thinking in c++ By Eckel, but i've found 3 books with this tittle.
    the 1st was: Thinking in c++ by Eckel, introduction to standard c++, volume one (2nd edition), written in 2000.
    The 2nd was: thinking in c++, volume 2 : pratical programming, by Eckel and chuck allison, written in 2003.
    The third was: thinking in c++, written by Eckel, released in 1995.
    Which one of these 3 books is thinking in c++ which is recommended by many people?

  4. #19
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Kuro Tensai View Post
    ...Can i program hardware with c++?
    Yes, you can.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #20
    Registered User
    Join Date
    Dec 2011
    Location
    Eindhoven, Noord-Brabant, Netherlands
    Posts
    54
    Quote Originally Posted by Elysia View Post
    Yes, you can.
    so, i can make an entire os using c++ only?

  6. #21
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    No, you can't. Nor can you with C.
    There are some parts, such as context switching, that must be done in assembly.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #22
    Registered User
    Join Date
    Dec 2011
    Location
    Eindhoven, Noord-Brabant, Netherlands
    Posts
    54
    Quote Originally Posted by Elysia View Post
    No, you can't. Nor can you with C.
    There are some parts, such as context switching, that must be done in assembly.
    I've heard ppl sayin combining asm and c++=natural disaster. But i wanna make my own OS. So u r tellin me i can combine c++ with asm?
    Thx in advance, Elysia.

  8. #23
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Some things simply cannot be done in C++, such as saving and restoring registers. This needs to be done in assembly.
    But you don't want to write the entire OS in assembly. That would be a fallacy.
    So write what you need in assembly and the rest in C++. C++ is a low-level language in some parts, like C, such that it allows you to mix and match assembly. It needs be done carefully, but it is possible, and for an OS, it is absolutely critical that you do it.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #24
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by Kuro Tensai View Post
    combining asm and c++=natural disaster.
    not true at all. most C++ compilers actually allow you to add inline assembly language right in your C++ source files. look at the documentation to learn how.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just getting started
    By reubenhyman in forum C++ Programming
    Replies: 2
    Last Post: 04-11-2012, 11:28 AM
  2. Please help me get started!
    By the_lumin8or in forum C++ Programming
    Replies: 10
    Last Post: 03-13-2006, 06:34 AM
  3. Help getting started with C
    By hr_prc in forum C Programming
    Replies: 10
    Last Post: 12-14-2005, 08:30 PM
  4. Getting Started
    By bumfluff in forum Windows Programming
    Replies: 1
    Last Post: 11-12-2005, 11:44 AM
  5. Getting started
    By Necrofear in forum Windows Programming
    Replies: 3
    Last Post: 02-05-2005, 01:56 PM