This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
user:afervan:portfolio [2014/01/20 10:19] – external edit 127.0.0.1 | user:afervan:portfolio [2014/09/09 14:37] (current) – [Portfolio] afervan | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Portfolio====== | ======Portfolio====== | ||
+ | First set of notes. (Tue Sep 2,2014) | ||
+ | |||
+ | Went over a new project for, just for kicks. | ||
+ | |||
+ | Started to play with the class chat. | ||
+ | |||
+ | Went over this: | ||
+ | |||
+ | screen -ls | ||
+ | if "no socket" | ||
+ | --> | ||
+ | |||
+ | irssi | ||
+ | /server irc | ||
+ | /join csci | ||
+ | / lab46 | ||
+ | ---------- | ||
+ | * POINTERS | ||
+ | ---------- | ||
+ | |||
+ | int a; (pointers are used to show were everything is located) | ||
+ | |||
+ | Spent a little time learning the differences between 32 bit and 64 bit systems. | ||
+ | |||
+ | int a; (gives you a part of memory) | ||
+ | int b; (also give you the amount you want but it might not be the one right aft$ | ||
+ | |||
+ | int *c; (*- dereferencing operator) | ||
+ | |||
+ | Pointers are the same size but we can choose how much memory we want. | ||
+ | int a=5; | ||
+ | int *c; | ||
+ | c=&a; | ||
+ | |||
+ | Pointers are no more than just stomething that contains an address to something$ | ||
+ | |||
+ | int *g=(int*)malloc(siveof(int)*4) | ||
+ | Went over a new project for, just for kicks. | ||
+ | |||
+ | Started to play with the class chat. | ||
+ | |||
+ | Went over this: | ||
+ | |||
+ | screen -ls | ||
+ | if "no socket" | ||
+ | --> | ||
+ | |||
+ | irssi | ||
+ | /server irc | ||
+ | /join csci | ||
+ | / lab46 | ||
+ | ---------- | ||
+ | * POINTERS | ||
+ | ---------- | ||
+ | |||
+ | int a; (pointers are used to show were everything is located) | ||
+ | |||
+ | Spent a little time learning the differences between 32 bit and 64 bit systems. | ||
+ | |||
+ | int a; (gives you a part of memory) | ||
+ | int b; (also give you the amount you want but it might not be the one right aft$ | ||
+ | |||
+ | int *c; (*- dereferencing operator) | ||
+ | |||
+ | Pointers are the same size but we can choose how much memory we want. | ||
+ | int a=5; | ||
+ | int *c; | ||
+ | c=&a; | ||
+ | |||
+ | Pointers are no more than just stomething that contains an address to something$ | ||
+ | |||
+ | int *g=(int*)malloc(siveof(int)*4) | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Third Set of Notes (Tue Sep 9, 2014) | ||
+ | |||
+ | Learned about structs and how they work. | ||
+ | Structs have layers and so do onions. | ||
=====cprog===== | =====cprog===== | ||
* [[user: | * [[user: |