---
title: "C++ for programmers"
url: "https://osherove.com/blog/2003/7/27/c-for-programmers.md"
canonical: "https://osherove.com/blog/2003/7/27/c-for-programmers.html"
published: "2003-07-27T06:20:00"
updated: "2003-07-27T06:20:00"
tags: [".Net Original"]
author: "Roy Osherove"
description: "The past week has been quite interesting. As part of my new job I’m supposed to learn C++. When I heard that someone is actually gonna make me learn that language I was totally excited. I’ve been trying to learn C++ on…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# C++ for programmers

By Roy Osherove July 27, 2003 In [.Net Original](https://osherove.com/blog/category/net-original)

**Historical article** · Originally published July 27, 2003; technical details may be outdated.

The past week has been quite interesting.

As part of my new job I’m supposed to learn C++. When I heard that someone is actually gonna make me learn that language I was totally excited. I’ve been trying to learn C++ on my own for quite a while now, but have never been able to come to terms with all the language’s features on my own. It’s simply one of those things that are very hard to learn without someone with real-life experience in that language helping you out on the sidelines. The fact that you’re doing it without it being your duty, but only as a side note, is even harder, since discipline is all up to you.

Enter my savior.

One of the most important C++ learning discoveries I’ve made was to find one of the best books I have ever read that tried to teach me this language:

[Thinking in C++, by Bruce Eckel](http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html). Not only is this one of the best C++ books around for beginners in C++(and I’ve read many…), it is also available totally free for download, in two volumes. You can also [buy the printed version on Amazon](https://www.amazon.com/exec/obidos/ASIN/0139798099/ref=ase_bruceeckelA/iserializable-20).

I won’t do a full review here, as I’m not yet fully done with the book yet, but:

If you are already a programmer and all you want to do is learn C++, this is the book for you.

It actually does what the cover promises: it makes you **think** in C++, so once you hit something you don’t know, you’re likely to solve it or understand it because this book also teaches you all the “why”s, not just the “how”s.

Since this is all about .Net, I’ve decided to put Visual Studio .Net to the test.

For each program I wrote and compiled on VS 6, I created a solution in VS.Net 2003 and did exactly the same program, compiled it and ran it.

I can say this:

**With Vs.net around, why is anyone still using VS6?**

Since C++.net allows you to create totally CLR free C++ programs, there’s no reason you shouldn’t import most of your current C++ workspaces and start using Vs.net right away. You get great benefits:

\-         A much better IDE, including better Intellisense, collapsible code, tool tips and all the other productivity enhancements in Vs.Net.

\-         The world’s best debugger. You know it.

\-         You can even do straight out C programming in Vs.net, (All C++ compilers support this)

o       Actually, my wife is currently writing her homework for the university(a course in the C language) in Vs.Net

Other books people tell me are a “must read”:

[Effective C++](https://www.amazon.com/exec/obidos/ASIN/0201924889/qid=1059295555/sr=2-1/ref=sr_2_1/iserializable-20)

[More effective C++](https://www.amazon.com/exec/obidos/ASIN/020163371X/qid=1059295555/sr=2-2/ref=sr_2_2/iserializable-20)

[Effective STL](https://www.amazon.com/exec/obidos/tg/detail/-/0201749629/qid=1059295607/sr=1-1/ref=sr_1_1/002-0888422-1902418?v=glance&s=books)

**Update:**

[SBC](http://weblogs.asp.net/sbchatterjee) recommends more books:

[Modern C++ Design: Generic Programming and Design Patterns Applied](https://www.amazon.com/exec/obidos/ASIN/0201704315/iserializable-20)

[Advanced C++ Programming Styles and Idioms](https://www.amazon.com/exec/obidos/ASIN/0201548550/iserializable-20)

and Dana says that it's not always feasible to do a full workspace converstion. I do wonder what problems you encountered. Anyway, here's a link to an MSDN article explaining the [importing issues between VS6 and VS.Net](http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_vc_porting_home.asp)

## More in .Net Original

[All posts in .Net Original](https://osherove.com/blog/category/net-original)

- Jul 28, 2003

    ### [Filling typed datasets using Data Access Application Block v.2.0](https://osherove.com/blog/2003/7/28/filling-typed-datasets-using-data-access-application-block-v.html)

- Jul 28, 2003

    ### [Checking for NULL values](https://osherove.com/blog/2003/7/28/checking-for-null-values.html)

- Jul 23, 2003

    ### [Scripting .Net](https://osherove.com/blog/2003/7/23/scripting-net.html)

- Jul 23, 2003

    ### [Skill Evaluation](https://osherove.com/blog/2003/7/23/skill-evaluation.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
