# Lab46 Wiki

### Sidebar

content

user:afervan: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” –>screen

irssi /server irc /join csci / lab46

1. ———

* POINTERS *

1. ———

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” –>screen

irssi /server irc /join csci / lab46

1. ———

* POINTERS *

1. ———

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.