9 – Function Signatures 1

What is a function declaration, and why is it important? A function declaration has multiple pieces and this is a little easier to look at in code. Maybe let’s look at your tests normalize function. When you look at just the way the function is defined, there’s the bool and then the tests normalize and … Read more

8 – Two Functions Same Name

Something else I noticed interesting about methods or functions in C++. I actually found this one out by accident when I wrote two functions that had the same name. Let me see if I can find it. So I wrote two functions that were both called close enough, and one was meant to compare two … Read more

7 – Two Functions Same Name

>> You said the header files they have function declarations. They can have a lot more. If you wanted to define a type that was the grid type, instead of using this vector vector float. Because you get kind of tired of saying that. >> I was writing that a lot, yeah. >> You can … Read more

6 – Doubles Are Bigger

So I think I have some understanding of this, but if for example, doubles are more precise than floats, why not just always use doubles? Because they’re bigger. It doesn’t really matter if you’re doing a small program, but if you needed to do a program where you had a million variables, doubles are twice … Read more

5 – Static Vs Dynamic Typing

So in researching some C++ stuff, I kept seeing the term static typing and language is being referred to as statically typed, and C++ was one of those. Can you explain what does it mean for a language to be statically typed? When you go to C++, you’re going to have to tell the compiler … Read more

3 – Nd113 C3 L1 04 L Lesson Overview 2 V1

Now that you’re all set up, it’s time to start writing some code. But before we jump in, we should say a couple things about how these lessons are formatted. Right. And the goal of this course is simple in some ways: translate Python code to C++. Now there’s a good amount you’ll need to … Read more

2 – Lesson Overview C++

C++ is the language of self-driving cars. It’s also a programming language that’s a lot closer to what devices like the NVIDIA PX2 understand than a higher level language like Python. So if you want to get a job in this field, it’s something you’re going to have to learn. And while C++ is in … Read more

12 – Nd113 C Basics Last Video V1

Great job. You’ve reached the end of the lesson and you don’t have to memorize all the things you learned here and you can look them up. But it’s good that you get an understanding of how functions work and C++ and similar constructs. So pat yourself at the shoulder. Okay. You got to this … Read more

10 – Function Signatures 2

So with the Test-Normalized function we had the return-type bold, the name Test-Normalized, open and closed parenthesis, but I imagine this isn’t the total picture because this function didn’t take any arguments. That’s true. And if it was in a header file instead of that open curly brace you would have a semicolon to say … Read more

1 – Introduction

Now we’re going to go to C++. C++ is the language of choice for embedded systems like the stuff that runs on small processors inside a self-driving car. Now in the beginning it’ll be scary to see a complete different syntax, a different language almost go from Chinese to Japanese is hard. But as you … Read more