Is There Even a difference? To declare a pointer in C++, you would use an asterisk symbol next to your pointer name. To illustrate this, when declaring a regular int scalar variable, you might enter the following: int a; When declaring a pointer “b”, you’ll proceed by entering: int* b; As you can see, the pointer variable contains the asterisk symbol. Let’s look at the memory to see what just happened. For the scalar variable int “a”, 4 bytes of memory were reserved. If you look at the representation below, you’ll see that int “a” was in fact assigned 4
Category: Programming
Git Ready to git started with git. This article is meant to get you started with GIT fast. There won’t be too much clutter as this article can be used as a reference later on. The following installation will focus mainly on Windows users. 1 — Download Git: https://git-scm.com/download 2 — Install Git leaving everything as default 3 — Open the newly installed Git Bash Shell. You’ll also notice Git CMD and Git GUI have been installed. Git CMD and Git Bash will essentially have the same Git commands. Git GUI is a graphical way of using Git. 4 —
Hindsight is 20/20 When you’re a first time developer, everything is exciting and scary at the same time. You look at your Senior Software Engineering counterparts and wonder if you’ll ever make it to that level. It takes a few years to understand the ins-and-outs of the business, but once you’re there you realize how hard on yourself you actually were. These are the 10 Programming Tips I wish someone told me. 1. You Can’t Learn Everything You don’t know what you don’t know. It seems like you can just keep studying and you’ll know everything there is to know
Sometimes it’s better to think highly. C is a great programming language if you want to work closer with the machine. A couple of decades ago, C was considered a high-level programming language; look at how times have changed. We’ve been babied with programming languages like Java, C#, JavaScript, PHP, Python, you name it. You can pull a car using the frame machine, but we’re going to do it with a hammer and a chain. Why? Just to prove that we can. There are other reasons for studying C; the primary being the speed of the program. Understanding how everything