This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:spring2016:mmalik1:journal [2016/04/05 16:01] – mmalik1 | blog:spring2016:mmalik1:journal [2016/05/03 15:56] (current) – mmalik1 | ||
---|---|---|---|
Line 247: | Line 247: | ||
We just made a program which uses pipes. It's really cool. The program takes in one input, which is a string. Basically, this program will take that string and pipe it from a child process to the main process or something like that. | We just made a program which uses pipes. It's really cool. The program takes in one input, which is a string. Basically, this program will take that string and pipe it from a child process to the main process or something like that. | ||
+ | |||
+ | ====April 12, 2016==== | ||
+ | |||
+ | Today we are learning about shared memory. Essentially, | ||
+ | |||
+ | Using this idea of shared memory, we have created several programs. The first program simply uses shared memory to access different chars and stuff like that. Everyone in the class had read and write access to a certain file and it was pretty crazy. | ||
+ | |||
+ | The next program we began to create was a (really messy) instant messaging program. Basically, using shared memory, we were able to share messages back and forth. | ||
+ | |||
+ | ====April 21, 2016==== | ||
+ | |||
+ | Today we played around with ncurses. Ncurses is a C library which allows the user to play around with the terminal and basically do really cool things with it, including make games. This is how games such as tetris-bsd or hangman are created. Using basic printf statements and stuff like that would take ages to create a game of that calibre, so this library does the hard stuff for us. | ||
+ | |||
+ | ====April 26, 2016==== | ||
+ | |||
+ | Today we are playing around with ncurses more. We are working on creating a program which will logically turn one screen into multiple screens, so that we can manipulate it in cool ways. | ||
+ | |||
+ | So far we have made it so that a bunch of dots fill up the screen in three different parts of the screen. A random color will appear in each row and bold dots will show up in the second part of the screen. | ||
+ | |||
+ | We made this neat program with ncurses which takes in user input to display different neat things to the screen. It's cool. | ||
+ | |||
+ | ====May 3, 2016==== | ||
+ | |||
+ | I missed class on Thursday unfortunately because yolo. I guess we started doing pacman like things so yea. We are continuing that today. | ||
+ | |||
+ |