This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
user:ahorton8:portfolio [2015/09/09 23:56] – ahorton8 | user:ahorton8:portfolio [2015/09/11 03:05] (current) – ahorton8 | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Portfolio====== | ======Portfolio====== | ||
- | =====Data Structures===== | ||
- | |||
- | ====August 30th, 2015==== | ||
- | I've begun working on dsi0. So far, all I've done is customized my Opus, connected to irc, and subscribed to the mailing list. Definitely didnt use my @corning-cc.edu email at first. Totally. I wouldnt do that. But right now, I need to go through and review some C/C++ before starting the actual coding portion of dsi0, since, I really dont remember how to do much of anything... My repository //should// still be set up. Need to double check it at some point. | ||
- | |||
- | ====September 2nd, 2015==== | ||
- | I began working on the coding portion of dsi0. I barely remember C, and am not entirely sure how to do an array without a starting size, so I decided to just start small and try to make an array that can fit 20 characters, and see if I could get it to work with stopping at -1. Yeah... instead I got a segmentation fault, woo! I'll look more into it at another time, but I at least wanted to try a little bit of it tonight. | ||
- | |||
- | ====September 9th, 2015==== | ||
- | After far too much procrastination and avoiding my work, I've done more with dsi0. Yesterday, I did a little bit of work on it, just creating the menu for the program, and allowing the user to input their choice. Today however, I got a bit farther into it. After many segmentation faults, missing characters (got a segmentation fault because I missed an & somewhere...), | ||
- | |||
- | The menu appearing twice has been fixed. When scanning for your choice with fscanf, it was picking up something else (an ENTER somewhere maybe?), so all that needed to be done is an fscanf function thatll assign it to some useless variable before the choices function is run. I began making clear, which works, but I cant get it to display correctly. I had to make a different display function for it because the current display function goes until its -1. However, if clear is run, the first element is going to be -1, so thats all that would display, when I wanted it to display the entire array. Soo I made a displayall function that will run instead of display if the first element is -1. It.. works? buut its in an infinite loop, and Im really not sure why. It'll display the entire array correctly, then go back and display it again, and again, and again... Soo that' | ||
=====cprog===== | =====cprog===== |