Skip to main content

Posts

What is a Pointer in C?

Create a variable Let's create a variable and give it a value of 3. int a; a = 3 ; Variable  a 's info Name a Value 3 Data Type The data type  of a variable tells you what kind of data it will hold. We can see in the code above that variable a is an int. int = holds an integer (aka a whole number) char = holds a single character pointer = holds a memory address Variable  a 's info Name a Data Type int Value 3 Memory Address The  a  variable is stored somewhere in your computer's memory. Just like humans have an address, variables have an address too. ( 0x00008130 is just an example address, your variable will probably have a different address) Pointers A pointer holds this memory address-- so basically it POINTS to where a variable is located. Let's create a pointer that will point to where our a variable is located. To create a pointer, we need the data type of the variable we will...

What tools do software developers use? (My Current Setup - Jan 2016 Edition)

What tools a developer will use will greatly vary based on what kind of projects they do. With that said, many new software developers have asked me about my setup so they could have an example. So here's what I'm currently using.      Main Work       Visual Studio Professional 2015  - This is the main area where you write your code. SQL Server Management Studio - For working with the database.       Comparison Tools       I use Araxis for comparing code , Redgate for comparing databases . Araxis Merge : My current favorite merge/diff utility. I've tried quite a few. Overall the UI is much more pleasant and can display more data at a time. It's not cheap, but I tried out just about every free or cheap merge/diff utility and nothing came close to the 1-click merging abilities of Araxis. A good diff/merge utility is priceless and can save you a lot of time, so take the time to learn it well. Redgate Tools  ...

CodeCademy Explaination -- Javascript Search Text For Your Name 5/7

First, don't feel bad, this lesson's instructions are kind of confusing. You can skip to what you need if you want. 4 Posts: 1.) Explaining For Loops 2.) Exercise 5/7's if statement 3.) Exercise 5/7's inner loop 4.) Exercise 5/7's push statement 1.)  First you need to understand how  for loops  work. For loops are really useful for doing something over and over.  Example: For every horse in the barn, tell me the horse's name and it's age.  You'll be going to a horse over and over again to get it's name and age. But computers are stupid so you have to be reallyyyy specific about it, like this: For ( every horse in the barn starting at the one in the first stall; until you get to the 12th stall; go to the next stall) { This is what I want you to do at every stall. Get it's name and age.} Now for the computer to understand us we have to speak Javascript to it because it doesn't know English. In Javascript, that's a for loop...