Leave feedback or report an issue

If you’re visiting this page, you may have found something wrong with the site. Leave a comment below and we’ll try to fix it! If the comment section isn’t working, try the contact form.

Or you may have general feedback about the tutorial series (e.g. missing topics) or site (e.g. things you wish the site did that it doesn’t do). Leave a comment below and let us know how we can improve!


If you have feedback on a specific lesson (e.g. a typo or incorrect example), please leave a comment on the lesson itself.

Thanks for helping to make the site better for everyone.

328 comments to Leave feedback or report an issue

  • p

    Hey, I found out that the site's mobile view is not working too well (the left sidebar makes the main page content shrink so much that one's unable to normally read the page). I remember it used to work some time ago, so might be related to mentioned backup restore

    • Alex

      It could be. Let's take this one to email and see if we can debug there. Can you contact me using the form on the About / Contact page? (please include a real email address, so I can contact you back)

  • philipp

    Hi Alex,
    first thank you for this great site. When I increase the zoom factor, the grey bars at the side increase their width making the visible white section smaller. The text is really small for me since I can't zoom in without that issue. You probably defined the width of the grey bars in pixels, if you define them in % of available width that problem should be fixed.

    Thank you

  • ryder

    Issue report:

    I just could not find this comment on your site:

    Not sure what's going on here.

    I'm reviewing nascardriver's reply but I could not find the commment anymore.

    On  Feb-13-2019

    nascardriver replied to your comment on post 12.6 — Pure virtual functions, abstract base classes, and interface classes.

    • Alex

      Yup, as noted on a different thread, the server crashed and had to be restored from backup. A few days of comments have gone missing. I'm trying to see if I can find/restore them.

  • Akram Hassan

    All images are broken here

    and in some other places

  • Nicole

    Aesthetic issue noticed, all 'Rules' on don't come in your nicely color coded boxes that you normally use.

  • Kushal

    In section 1.8 the insertion operator is given as >> while in section 1.5, the insertion operator is given as <<. Can you please confirm which one is true?

  • Tobi

    First of all: Great work! I just started learning C++ and really enjoy your work. And since you put so much work in this project, I want to give something back - even if it is just a small "bug report" ;)

    In Chapter 1.10 in the section "Multiply by 2" underneath the Visual Studio error message it reads:


    We ran into a compile error!

    First, since the program compiled before we made this latest update, and doesn’t compile now, the error must be in the code we just added (lines 7 and 8). That significantly reduces the amount of code we have to scan to find the error. Line 7 is pretty straightforward (just a variable definition), so the error probably isn’t there. That leaves line 8 as the likely culprit.

    Second, this error message isn’t very easy to read. But let’s pick apart some key elements: The compiler is telling us it ran into the error on line 8. That means the actual error is probably on line 8, or possibly the preceding line, which reinforces our previous assessment. Next, the compiler is telling you that it couldn’t find a ‘&lt&;lt&’ operator that has a left-hand operand of type std::istream (which is the type of std::cin). Put another way, operator<< doesn’t know what to do with std::cin, so the error must be either with our use of std::cin or our use of operator<&lt.


    It seems, the numbering of the lines hasn't been updated. Furthermore there are some errors with the display of << and >> in the second paragraph.

    I hope it helps :) I found some more inconsistencies probably caused by restructuring the pages and examples but couldn't find them adhoc.

  • Kushal

    The main page says " is currently in the process of being restored. We'll be back soon. ". When can we expect to have this site back? I highly rely on this to learn c++. Also, thank you for making such wonderful cpp lessons. Helps a lot.

  • fleabay

    Very irritating that the code darkens every other line when you hover over it. Super distracting.

  • Smidge

    all chapter 0 from 0.1 to 0.11 shows a blank page

    • Alex

      The upgrade to PHP 7.2 unexpectedly broke one of the plugins that these pages were relying on, and I didn't notice due to caching. Sorry bout that. It's fixed now.

  • Kaleb

    Every "deleted link" I visit says the following "Sorry, but you are looking for something that isn't here." Please help!

  • Slim

    Hi Alex,

    Thank you for making this awesome website. I am learning a lot. However, I need some recommendation for my practice.
    Do you know of or have any website/resources that we can solve the "Problem" for programming?
    Things I learn in this website is great but it would be better if there are some Actual programming "problem" rather than just calculation examples.

    In short, I need some resource on more programming examples.

  • Joe

    Hello and thank you so much for your website which I really enjoy a lot, allowing me to learn so much, to fulfill a dream -learning coding- and to escape from daily routine. I am still at the very beginning of your lessons, but as I thought I’d try to build a new solution, and leave the helloworld I did on its own, I created a new project in vs17, but I am not sure that I specified to turn off precompiled headers in that process. I have therefore looked up for this term in your index and could not find a link to that advice to turn them off under letters P or H, as header only returned to lessons I still did not read. Thank you very much again, merci beaucoup!

    • Alex

      Thanks for pointing out this omission. I added a "precompiled headers" item to the index, referencing the lessons that discuss how to disable precompiled headers.

  • Ryder

    For someone who is Emacs org-mode user, this org-mode file might help you to manage your notes while study this website.

    * Chapter 1: C++ Basics

    ** [[][1.1 Structure of a program]]


    ** [[][1.3 A first look at variables, initialization, and assignment]]

    ** [[][1.3a A first look at cout, cin, and endl]]

    ** [[][1.4 A first look at functions and return values]]

    ** [[][1.4a A first look at function parameters and arguments]]

    ** [[][1.4b Why functions are useful, and how to use them effectively]]

    ** [[][1.4c Keywords and naming identifiers]]

    ** [[][1.4d A first look at local scope]]

    ** [[][1.5 A first look at operators]]

    ** [[][1.6 Whitespace and basic formatting]]

    ** [[][1.7 Forward declarations and definitions]]

    ** [[][1.8 Programs with multiple files]]

    ** [[][1.8a Naming conflicts and the std namespace]]

    ** [[][1.9 Header files]]

    ** [[][1.10 A first look at the preprocessor]]

    ** [[][1.10a Header guards]]

    ** [[][1.10b How to design your first programs]]

    ** [[][1.11 Debugging your program (stepping and breakpoints)]]

    ** [[][1.11a Debugging your program (watching variables and the call stack)]]

    ** [[][1.12 Chapter 1 comprehensive quiz]]

    * Chapter 2: Variables and Fundamental Data Types

    ** [[][2.1 Fundamental variable definition, initialization, and assignment]]

    ** [[/][2.2 Void]]

    ** [[/][2.3 Variable sizes and the sizeof operator]]

    ** [[/][2.4 Integers]]

    ** [[/][2.4a Fixed-width integers]]

    ** [[/][2.5 Floating point numbers]]

    ** [[][2.6 Boolean values and an introduction to if statements]]

    ** [[/][2.7 Chars]]

    ** [[/][2.8 Literals]]

    ** [[][2.9 Const, constexpr, and symbolic constants]]

    ** [[/][2.10 Chapter 2 comprehensive quiz]]

    * Chapter 3: Operators

    ** [[/][3.1 Operator precedence and associativity]]

    ** [[/][3.2 Arithmetic operators]]

    ** [[/][3.3 Increment/decrement operators, and side effects]]

    ** [[/][3.4 Sizeof, comma, and conditional operators]]

    ** [[/][3.5 Relational operators (comparisons)]]

    ** [[/][3.6 Logical operators]]

    ** [[/][3.7 Converting between binary and decimal]]

    ** [[/][3.8 Bitwise operators]]

    ** [[/][3.8a Bit flags and bit masks]]

    ** [[/][3.x Chapter 3 comprehensive quiz]]

    * Chapter 4: Variable Scope and More Types

    ** [[/][4.1 Blocks (compound statements)]]

    ** [[/][4.1a Local variables, scope, and duration]]

    ** [[/][4.2 Global variables and linkage]]

    ** [[/][4.2a Why global variables are evil]]

    ** [[][4.3 Static duration variables]]

    ** [[][4.3a Scope, duration, and linkage summary]]

    ** [[][4.3b Namespaces]]

    ** [[][4.3c Using statements]]

    ** [[/][4.4 Implicit type conversion (coercion)]]

    ** [[/][4.4a Explicit type conversion (casting)]]

    ** [[/][4.4b An introduction to std::string]]

    ** [[/][4.5 Enumerated types]]

    ** [[/][4.5a Enum classes]]

    ** [[][4.6 Typedefs and type aliases]]

    ** [[/][4.7 Structs]]

    ** [[/][4.8 The auto keyword]]

    ** [[/][4.x Chapter 4 comprehensive quiz]]

    * Chapter 5: Control Flow

    ** [[/][5.1 Control flow introduction]]

    ** [[/][5.2 If statements]]

    ** [[/][5.3 Switch statements]]

    ** [[/][5.4 Goto statements]]

    ** [[/][5.5 While statements]]

    ** [[/][5.6 Do while statements]]

    ** [[/][5.7 For statements]]

    ** [[/][5.8 Break and continue]]

    ** [[/][5.9 Random number generation]]

    ** [[][5.10 std::cin, extraction, and dealing with invalid text input]]

    ** [[][5.11 Introduction to testing your code]]

    ** [[/][5.x Chapter 5 comprehensive quiz]]

    * Chapter 6: Arrays, Strings, Pointers, and References

    ** [[/][6.1 Arrays (Part I)]]

    ** [[/][6.2 Arrays (Part II)]]

    ** [[/][6.3 Arrays and loops]]

    ** [[/][6.4 Sorting an array using selection sort]]

    ** [[/][6.5 Multidimensional arrays]]

    ** [[/][6.6 C-style strings]]

    ** [[/][6.7 Introduction to pointers]]

    ** [[/][6.7a Null pointers]]

    ** [[/][6.8 Pointers and arrays]]

    ** [[/][6.8a Pointer arithmetic and array indexing]]

    ** [[/][6.8b C-style string symbolic constants]]

    ** [[/][6.9 Dynamic memory allocation with new and delete]]

    ** [[/][6.9a Dynamically allocating arrays]]

    ** [[/][6.10 Pointers and const]]

    ** [[/][6.11 Reference variables]]

    ** [[][6.11a References and const]]

    ** [[/][6.12 Member selection with pointers and references]]

    ** [[/][6.12a For each loops]]

    ** [[/][6.13 Void pointers]]

    ** [[][6.14 Pointers to pointers and dynamic multidimensional arrays]]

    ** [[/][6.15 An introduction to std::array]]

    ** [[/][6.16 An introduction to std::vector]]

    ** [[][6.x Chapter 6 comprehensive quiz]]

    * Chapter 7: Functions

    ** [[][7.1 Function parameters and arguments]]

    ** [[][7.2 Passing arguments by value]]

    ** [[][7.3 Passing arguments by reference]]

    ** [[][7.4 Passing arguments by address]]

    ** [[][7.4a Returning values by value, reference, and address]]

    ** [[][7.5 Inline functions]]

    ** [[][7.6 Function overloading]]

    ** [[][7.7 Default parameters]]

    ** [[][7.8 Function Pointers]]

    ** [[][7.9 The stack and the heap]]

    ** [[][7.10 std::vector capacity and stack behavior]]

    ** [[][7.11 Recursion]]

    ** [[][7.12 Handling errors, cerr and exit]]

    ** [[][7.12a Assert and static_assert]]

    ** [[][7.13 Command line arguments]]

    ** [[][7.14 Ellipsis (and why to avoid them)]]

    ** [[][7.x Chapter 7 comprehensive quiz]]

    * Chapter 8: Basic object-oriented programming

    ** [[][8.1 Welcome to object-oriented programming]]

    ** [[][8.2 Classes and class members]]

    ** [[][8.3 Public vs private access specifiers]]

    ** [[][8.4 Access functions and encapsulation]]

    ** [[][8.5 Constructors]]

    ** [[][8.5a Constructor member initializer lists]]

    ** [[][8.5b Non-static member initialization]]

    ** [[][8.6 Overlapping and delegating constructors]]

    ** [[][8.7 Destructors]]

    ** [[][8.8 The hidden “this” pointer]]

    ** [[][8.9 Class code and header files]]

    ** [[][8.10 Const class objects and member functions]]

    ** [[][8.11 Static member variables]]

    ** [[][8.12 Static member functions]]

    ** [[][8.13 Friend functions and classes]]

    ** [[][8.14 Anonymous objects]]

    ** [[][8.15 Nested types in classes]]

    ** [[][8.16 Timing your code]]

    ** [[][8.x Chapter 8 comprehensive quiz]]

    * Chapter 9: Operator overloading

    ** [[][9.1 Introduction to operator overloading]]

    ** [[][9.2 Overloading the arithmetic operators using friend functions]]

    ** [[][9.2a Overloading operators using normal functions]]

    ** [[][9.3 Overloading the I/O operators]]

    ** [[][9.4 Overloading operators using member functions]]

    ** [[][9.5 Overloading unary operators +, -, and !]]

    ** [[][9.6 Overloading the comparison operators]]

    ** [[][9.7 Overloading the increment and decrement operators]]

    ** [[][9.8 Overloading the subscript operator]]

    ** [[][9.9 Overloading the parenthesis operator]]

    ** [[][9.10 Overloading typecasts]]

    ** [[][9.11 The copy constructor]]

    ** [[][9.12 Copy initialization]]

    ** [[][9.13 Converting constructors, explicit, and delete]]

    ** [[][9.14 Overloading the assignment operator]]

    ** [[][9.15 Shallow vs. deep copying]]

    ** [[][9.x Chapter 9 comprehensive quiz]]

    * Chapter 10: An introduction to object relationships

    ** [[][10.1 Object relationships]]

    ** [[][10.2 Composition]]

    ** [[][10.3 Aggregation]]

    ** [[][10.4 Association]]

    ** [[][10.5 Dependencies]]

    ** [[][10.6 Container classes]]

    ** [[][10.7 std::initializer_list]]

    ** [[][10.x Chapter 10 comprehensive quiz]]

    * Chapter 11: Inheritance

    ** [[][11.1 Introduction to inheritance]]

    ** [[][11.2 Basic inheritance in C++]]

    ** [[][11.3 Order of construction of derived classes]]

    ** [[][11.4 Constructors and initialization of derived classes]]

    ** [[][11.5 Inheritance and access specifiers]]

    ** [[][11.6 Adding new functionality to a derived class]]

    ** [[][11.6a Calling inherited functions and overriding behavior]]

    ** [[][11.6b Hiding inherited functionality]]

    ** [[][11.7 Multiple inheritance]]

    ** [[][11.x Chapter 11 comprehensive quiz]]

    * Chapter 12: Virtual Functions

    ** [[][12.1 Pointers and references to the base class of derived objects]]

    ** [[][12.2 Virtual functions and polymorphism]]

    ** [[][12.2a The override and final specifiers, and covariant return types]]

    ** [[][12.3 Virtual destructors, virtual assignment, and overriding virtualization]]

    ** [[][12.4 Early binding and late binding]]

    ** [[][12.5 The virtual table]]

    ** [[][12.6 Pure virtual functions, abstract base classes, and interface classes]]

    ** [[][12.7 Virtual base classes]]

    ** [[][12.8 Object slicing]]

    ** [[][12.9 Dynamic casting]]

    ** [[][12.10 Printing inherited classes using operator<<]]

    ** [[][12.x Chapter 12 comprehensive quiz]]

    * Chapter 13: Templates

    ** [[][13.1 Function templates]]

    ** [[][13.2 Function template instances]]

    ** [[][13.3 Template classes]]

    ** [[][13.4 Template non-type parameters]]

    ** [[][13.5 Function template specialization]]

    ** [[][13.6 Class template specialization]]

    ** [[][13.7 Partial template specialization]]

    ** [[][13.8 Partial template specialization for pointers]]

    ** [[][13.x Chapter 13 comprehensive quiz]]

    * Chapter 14: Exceptions

    ** [[][14.1 The need for exceptions]]

    ** [[][14.2 Basic exception handling]]

    ** [[][14.3 Exceptions, functions, and stack unwinding]]

    ** [[][14.4 Uncaught exceptions, catch-all handlers, and exception specifiers]]

    ** [[][14.5 Exceptions, classes, and inheritance]]

    ** [[][14.6 Rethrowing exceptions]]

    ** [[][14.7 Function try blocks]]

    ** [[][14.8 Exception dangers and downsides]]

    ** [[][14.x Chapter 14 comprehensive quiz]]

    * Chapter 15: Move semantics and smart pointers

    ** [[][15.1 Intro to smart pointers and move semantics]]

    ** [[][15.2 R-value references]]

    ** [[][15.3 Move constructors and move assignment]]

    ** [[][15.4 std::move]]

    ** [[][15.5 std::unique_ptr]]

    ** [[][15.6 std::shared_ptr]]

    ** [[][15.7 Circular dependency issues with std::shared_ptr, and std::weak_ptr]]

    ** [[][15.x Chapter 15 comprehensive review]]

    * Chapter 16: The Standard Template Library

    ** [[][16.1 The Standard Template Library (STL)]]

    ** [[][16.2 STL containers overview]]

    ** [[][16.3 STL iterators overview]]

    ** [[][16.4 STL algorithms overview]]

    * Chapter 17: std::string

    ** [[][17.1 std::string and std::wstring]]

    ** [[][17.2 std::string construction and destruction]]

    ** [[][17.3 std::string length and capacity]]

    ** [[][17.4 std::string character access and conversion to C-style arrays]]

    ** [[][17.5 std::string assignment and swapping]]

    ** [[][17.6 std::string appending]]

    ** [[][17.7 std::string inserting]]

    * Chapter 18: Input and output (I/O)

    ** [[][18.1  Input and output (I/O) streams]]

    ** [[][18.2 Input with istream]]

    ** [[][18.3 Output with ostream and ios]]

    ** [[][18.4 Stream classes for strings]]

    ** [[][18.5 Stream states and input validation]]

    ** [[][18.6 Basic file I/O]]

    ** [[][18.7 Random file I/O]]

    * Appendix A: Miscellaneous Subjects

    ** [[/][A.1  Static and dynamic libraries]]

    ** [[/][A.2 Using libraries with Visual Studio Express 2005]]

    ** [[/][A.3 Using libraries with Code::Blocks]]

    * Appendix B: C++ Updates

    ** [[][B.1 Introduction to C++11]]

    ** [[][B.2 Introduction to C++14]]

    ** [[][B.3 Introduction to C++17]]

    * Appendix C: The end
    ** [[][The end?]]

  • Mike

    The site seems to have been going offline randomly over the past few days (checked on isitdown sites and confirmed). Everything ok?

  • jack

    The google search textbox extends paste its container and overlaps some of the content. Changing the textbox html to following fixes it for me:
    <input type="text" name="q" size="16" maxlength="255" value="" id="sbi" style="width: 90%;">

  • CodeLyokoXteam

    if lessons are updated we have to re-check that lesson for understood its better we can see site change-log(New tab for it), because we can read it easily and go to changed part in lesson.

    • Alex

      Fair point. Unfortunately WordPress doesn't have a easy solution for this out of the box for non-administrators. I'll keep it in mind though, in case I run across anything that seems suitable.

  • Clemens

    Hey, this tutorial has been great so far! I am using an adblocker but will be donating something to keep it running, thanks!  
    One thing that's not optimal though is the design or the template of the website when used on "half-window" mode on windows 10. When I put the website on the right half and Visual Studio on the left half of my screen, almost a third of the right half are taken up by grey space which causes the code snippets and text to be "squeezed" together.  
    I can provide screenshots if you like. It would be cool if you could fix that as I often like having Visual Studio and your site open at the same time, when typing code snippets, etc.

  • Ryan

    Hello! I was creating a progress checklist for myself, and noticed there are some inconsistencies in the formatting of page URL's. There were also a couple which seemed to be typos. I'm not sure if this is something you care about, or maybe might have intentionally done, but I made a list in case it could be of use!

    I noticed two kinds of formats for non-quiz parts (Chapter-Part; ChapterPart), and two for quizzes (ChapterPart; Chapter-x). The majority of non-quiz parts were in 'ChapterPart', so I'll list the ones in 'Chapter-Part': 1.3a, 1.4a, 1.4b, 1.4d, 1.8a, 1.10a, 1.10b, 2.1, 2.2, 2.9, 3.8a, 4.1a, 4.2a, 4.3a, 4.3b, 4.3c, 4.4a, 4.4b, 4.5a, 4.8, 5.10, 5.11, 6.7a, 6.8, 6.8a, 6.8b, 6.9a, 6.11a, 6.12a, 6.14, 6.15, 6.16, 7.4a, 7.10, 7.11, 7.12a, 8.5a, 8.5b, 8.6, 8.7, 8.8, 8.15, 8.16, 9.2a, 9.12, 9.13, 9.14, 10.1, 10.4, 10.5, 10.7, 11.6, 11.6a, 11.6b, 12.2a, 12.8, 12.9, 12.10, 13.5, 13.8, 14.6, 14.7, 15.1, 15.2, 15.3, 15.4, 15.5, 15.6, 15.7, 16.1, 16.2, 16.3, 16.4, 17.1, 17.2, 17.3, 17.4, 17.5, 17.6, 17.7, b1, b2, b3, c

    Parts with lettered subsections tended to be in the dashed format, but 1.4c, 1.11a, and 2.4a are not.

    For quizzes, the vast majority are in 'Chapter-x', so I'll list 'ChapterPart': 1.12, 2.10

    These couple are the ones which seemed to be typos, or were just unchanged after having their part number changed: 8.x (which is the chapter quiz and otherwise 17th part) says '8-15', and 12.7 says '128'.

    I hope it can help!

    • Alex

      Thanks so much for pointing out the various inconsistencies. WordPress changed the default url generator sometime after starting this blog, so there is a bit of inconsistency in the style. And then as articles got moved around, I've clearly missed a couple of places that needed updates.

      I'm in the process of starting a new stylistic update to correct many of these issues and make it easier to further add lessons without a ton of manual work to modify/renumber everything, including removing numbers from the lesson URLs (but probably not the titles themselves). But this is a most excellent enumeration of issues that I need to ensure get addressed, so I thank you heartily!

  • The site index is missing templates.
    The link in "If you find any errors, please report them here." on the site index redirects to the http version even when using https.

    • Alex

      Thanks Nascardriver!

      It appears I never finished building the index for all of the articles (it's being constructed by hand, perhaps someday with a few more site upgrades I'll be able to auto-generate it). Thanks for reminding me that I need to finish that. :)

  • it is better to put a "changelog box" in main page that tells what new change you did or what new lesson you added to site like siteblog.

  • Sagar

    As you had upgraded to HTTPS, I recommend if there is availability of storing last session. So, that we can easily get back to resume from where we had paused last.

    • Alex

      I'm not sure I understand the context of your ask. What do you mean by "session"? You want the site to remember the last page you visited and make it easy to get back to?

      • Sagar Parmar

        Yes, I mean something like website keeps a record of our progress with learning c++. Storing session means it keep record of how much a user had covered learning the tutorials.

        • Alex

          Okay, I see what you mean. How do you imagine this working? The site would keep track of the farthest lesson you've visited, and on the main page remind you where you left off?

          • Robert

            Perhaps there could be a button at the bottom of a lesson. When a user presses this button it marks that lesson as completed. When viewing the main page it could display a checkmark next to lessons that are completed.

            This is just a thought and realistically I don't think this kind of feature is particularly helpful. If someone doesn't remember their place visit to visit they are probably not paying attention or spending too much time away.

  • Matt

    Whenever I edit a question I've posted with formatted code segments, the code formatting breaks after I've saved the edit. The only solution I've found is to delete the post and copy and paste it in to a new post.
    For example:

    Edit - So I've just realised that the broken formatting is fixed when refreshing the page, sorry!

    • Alex

      Yep, unfortunately the code formatting plugin only runs when the page is first being loaded. It wasn't designed (afaik) to do dynamic formatting updates to an existing page. So this is a limitation I'm not sure how to address.

  • Joe

    Hi there,
    I have been using this site for a while to teach myself C++, so thank you for making and maintaining it. I noticed that it is coming up as "Not Secure" in Google Chrome and Microsoft Edge. I don't remember noticing this before so I thought you might want to know and, if possible, fix it. Again thanks for all you do.

    • Alex

      This is occurring because the site uses http and not https. In reality, that's fine, because the site is designed to be used anonymously. I do intend to migrate to https at some point.

  • Lukas

    The site for chapter 9.7 doesnt work!
    It shows me a Content-Encoding-Error

    • Alex

      Seems okay to me. Are you still encountering an issue? If so, try clearing your browser cache or using a different browser, as it's possible your browser is pulling from a corrupted cache.

  • Quoxa

    Hi, for Question 4 of 2.10 — Chapter 2 comprehensive quiz,

    I think "initial height of the ball" or "height of the tower" is more suitable than "initial height of the tower".

    "initial height of the tower" seems to imply that the height of the tower is changing.


    • Alex

      Fair point. Wording updated. Thanks!

      In the future, if you have comments about a specific lesson, you can leave the comment on that particular lesson.

  • tommy

    Thank you for the fantastic website. I have learned a lot from your works. I am now going to learn Java and I wonder whether there is a website like this one for Java. Can you recommend one for me? Thank you very much in advance.

    • Alex

      I don't have any recommendations for you, unfortunately. :( I don't program in Java so I haven't been out exploring what's available as far as Java resources go.

    • Quoxa

      Hi, if you still need a website for learning Java, try

  • Luis

    Thank you for the fantastic job.
    Is it possible to convert to pdf this site?

  • Mark

    Your tutorial is impossible to follow using Visual Studio 2017.  I can't even get to a window where I can start typing C-code

    • Peter Baum

      Where did you get stuck?  When I bring up Visual Studio 2017 I get a start page. Then:
      1. In the middle of the page is a section called “New project”.  Click on “Windows Console Application”
      2. On this new webpage, fill out the Name and Location at the bottom.
      3. Click OK and you should be at a place where you can put in code.

      • Mark

        I got stuck because I did not realize that Visual Studio has to go through a big initialization process the first time it is installed and run.  Once that happened, I was able to get to a code viewing window.  Thanks for your understanding

  • Hi Alex:

    I often find myself asked some stupid questions on your website, but you always response those questions. It makes me lazy. Why you do this?

    For example:

    I was not understand the meaning of ''const T& x''. I thought it should be "const T &x", but after checked ''611-references'', I knew that ''const T& x'' is just a const reference.

    What a simple question, but I was about to ask you on that page.

    I think I should do some extra work before I ask in the future.

    • Alex

      > I often find myself asked some stupid questions on your website, but you always response those questions. It makes me lazy. Why you do this?

      I'm not sure whether I'm supposed to respond to this. :)

Leave a Comment

Put all code inside code tags: [code]your code here[/code]