If you’re anything like me, while searching around the Internet for help and tutorials on coding you’ve probably come across some interesting code you’d like to run but didn’t want to make a full VS project to run the code.
Well doing some research into C# arrays, I came into the same problem on the page below.
If you have been following my twitter lately you’ve probably seen a tweet or two about this company called “SmartFile”. They are a file sharing company located in Indianapolis, IN and are targeting file sharing for businesses. They allow for not only the upload and download of files, but the creation of new users, along with the management of specific permissions for each of them.
Over the past couple months they have been sponsoring a software programming competition in which myself and a friend were involved in. The “Bake Off” as it was called consisted of 52 teams from colleges all over the Indiana State. Myself in one called the “Paradox Duo”. We placed 4th beaten behind some juniors and seniors, however as freshman we believe we did very well and can’t wait to try again next year.
My team mate Travis Cunningham and I built an open source application that would allow any client or employee to view their SmartFile file’s with-in a small desktop application. Below is a picture if your interested in the UI. I encourage you to check out our work at kissync.com which is our domain and be sure to check out our code. We wrote over 20,000 lines in two weeks alone. Currently it is only packaged for Ubuntu but coming soon should be the Mac and then the Windows versions.
P.S. The application also syncs your files locally…
A pointer is commonly known as a reference to a location in memory. You can use it to locate a section of memory that you forgot the variable too or you can use it to exchange data between two locations in memory.
How do we declare a pointer value?
To declare a pointer value all one must do is place an asterisk between the data type and the identifier of a variable; like so.
int a = 5;
int* pointerA = &a;
printf("value of a: %d \n", a);
printf("value OF pointerA: %d \n", pointerA);
Woa! Hold up, what is that & sign there for? The & sign is specified as an Address Operator which goes and gets the address in memory of integer a and returns it to the pointerA variable. The result of this program if you printed out what a and pointerA equals on my machine it will come up with:
That was cool. Now you know how to create a pointer, and how to assign an address to it.
Tip: If you are assigning an pointer to an array you do not need the asterisk because the array’s identifier already points to the address of the array.
How do I get a value from a pointer? Simple just place an asterisk in front of the identifier you are trying to get. You can read this as “The Value of” such as in the context below… Just append the line of code underneath to your file in the scope of main.
printf("value at pointerA: %d \n", *pointerA);
Me reading the above line out loud:
“Print the value at pointer A to the console.” – Taylor Brazelton
Now you realize the point of pointers in C and C++ hopefully you aren’t summoned upon to use these skills but every now and then someone is. Enjoy the tutorial and use it to your benefit.
After going through first semester with my ultrabook I have uncovered several pro’s and con’s with it. However that is for another day possibly. For now I shall try to stay focused and tell you about my adventure. First off you need to know I own a Samsung Series 9 Ultrabook I purchased for school work back in the summer of 2012.
It started off as a great buy, then half way through my first semester I realized I only have 4 GB of space left on my HD. I searched for programs to uninstall, movies to delete, and music to move to my external drive but just couldn’t push any away from myself that I’d need for classes. With only my 128GB SSD(solid state drive) to assist me I was able to drive my way through till the end of the semester with only the 4GB available.
This semester I have taken it upon myself to buy a new, better, bigger hard drive. At first I drove over to Fryers which is an Electronic store near Indianapolis, IN. I purchased a SSD in which they recommended for my laptop however it ended up not fitting. They had given me a 2.5” HD while my ultrabook could only fit a mSATA drive inside it’s self. Finally I took the plunge this weekend to get a mSATA drive, after I returned the 2.5” to fry’s first.
Looking online I was able to find a very good deal on a Crucial M4 256 GB for only $200 even with free shipping. The SSD has SATA 3 connections that provided 6GB/sec connection along with a 3 year warranty from the manufacture. I can’t wait for the hard drive to arrive so I can install it in my laptop and lets its space be filled in by on mind projects. I might even take a few pictures and maybe a small video clip or two as well. Be sure to keep a look out for my next post or two!
Just thought I would let everyone know, as long as make a reminder for myself… The MVC 4 Basic Project Type is the same as the MVC 3 Empty Project Type. MVC 4 Empty Project Type is literally empty. Do not be mistaken when you are doing a MVC 3 tutorial in a MVC 4 project.
Over the past few years I have solely relied on YouTube as my main source of hosting for the videos I have wanted to place online. However, after coming home for winter break I have realized that maybe YouTube isn’t the right choice. Now I am not sure if I am going to personally switch sites right yet. But I am going to take a tour and try out other sites and post my thoughts about them. Check back for videos from each site, and if you have a suggestion feel free to submit your idea in the comments section below.