Thread: Current Book?

  1. #1
    Registered User FourAngels's Avatar
    Join Date
    Aug 2015
    Location
    Canada
    Posts
    130

    Current Book?

    Programming Principals by Stroustrup, now on page 323. This is a book that I can not group with the O’Reilly books. I read P.P. today, it is really good but the reading was not as energetic as the O’Reilly option until a couple hours in, I finally made some adjustments and was able to get on track. At this point in the book, I have learned quite interesting things but I am not able to start a serious program quite yet. It seems that c++ is an up hill battle but I now have a few more ideas to go on in chapter 9.

    I would say that this book is not entirely friendly with Linux, but maybe that is because I am using Ubuntu which has the Gnome desktop widgets. I am basically forced to read this whole book just like I am forced to play an instrument, but than one day you realize that it all sounds good and I can actually enjoy this instead of just going through the motions. Never surrender 3.

    I have learned about another new addition to c++, called the enum class. It should be useful and I would like to use it, so I will keep it in mind when I decide on what I want, although doesn't Linux have a tool for everything already? It actually all comes down to having the power to do something and than waiting until lightning strikes. This is definitely a book for at home, and after chapter 7 things are easier instead of more difficult. I wondered if I was going to be able to keep reading it, and than the pace just slackened to a marching pace. If I would have known that than I would not have taken a week off from this book.

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    OS doesn't matter. C++ is platform agnostic. Just installer IDE/compiler and you're ready to go. If you want an IDE, I know Code::Blocks exists. Take a look at that. As for compiler, go with clang.
    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.

  3. #3
    spaghetticode
    Guest
    What Elysia said. You seem way too concerned about your Linux thing. You're at the basics of C++ - all you learn at this step is platform independent. And while *some* introductory books refer to Windows programming in the last one or two chapters, Stroustrup most certainly doesn't, because he's into the language, his language, not into any platform specific library oder toolkit.

    However, reading clever books is not enough though. You're not gonna learn German, or French, or Spanish, by only reading tutorial books. You need practice. Forget about serious programs for a while. Think of programs you'd like to do and do them with all the knowledge you have so far. It doesn't matter if they aren't half as secure as a real world application. It doesn't matter if they are written in poor style. What matters is the practice you gain.

    Go on and write programs, as many as you can think of. Show your source codes in the forum and take all the input you get from the great guys here. Don't take criticism as a bully, but as a chance to improve. That way you will find you'll progress very quickly.

  4. #4
    Registered User FourAngels's Avatar
    Join Date
    Aug 2015
    Location
    Canada
    Posts
    130
    Everything is okay, I have gcc and the Qt creator IDE. I see that Qt creator lets you open an ordinary C or C++ project, which is not the same as a Qt C or a Qt C++ project. I have heard about clang, it is the BSD c/c++ compiler. The Qt Creator does give you the option of which compiler that you want to use to compile the source code, so I actually could use either gcc or else clang, but I only have gcc installed at the moment. I was just joking about everything but it is slightly frustrating that I have to wait a few more weeks in order to get enough information gathered about the language definition before I start to write a program. It's not that big of a deal though.

  5. #5
    Registered User
    Join Date
    May 2003
    Posts
    1,619
    Quote Originally Posted by spaghetticode View Post
    Go on and write programs, as many as you can think of. Show your source codes in the forum and take all the input you get from the great guys here. Don't take criticism as a bully, but as a chance to improve. That way you will find you'll progress very quickly.
    Agreed with this. Everybody needs to write a whole heaping lot of bad code in order to get to the point where they can write good code. Don't worry about learning every possible thing about a language, just learn some, dive in, and make mistakes.

    I wish I had my earliest C programs still, but that was almost 25 years ago and many hard drives past. I remember they were spaghetti code, poorly documented, and half of my pointer operations were created by trial and error.
    You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Get Current File Name
    By goldentoa11 in forum C++ Programming
    Replies: 1
    Last Post: 05-30-2011, 11:23 PM
  2. USB Current Leakage
    By SMurf in forum Tech Board
    Replies: 11
    Last Post: 05-05-2011, 05:14 AM
  3. What are your current project(s)?
    By ulillillia in forum A Brief History of Cprogramming.com
    Replies: 22
    Last Post: 02-25-2008, 06:00 AM
  4. current date
    By cnu_sree in forum C Programming
    Replies: 5
    Last Post: 06-05-2007, 11:50 PM
  5. How do you get the current date?
    By cerial-killer in forum C++ Programming
    Replies: 4
    Last Post: 03-18-2003, 03:50 PM