User Tools

Site Tools


blog:spring2016:dvarges3:journal

This is an old revision of the document!


C/C++ Programming Journal

January 19, 2016

  • What I learned in boating school today is how the class is going to operate and when our first project is due.
  • This is significant because it is the start of the process of learning how to do stuff in this course.
  • I have no idea how to write in c or c++.
  • Again my computer died and will be set back.

January 21, 2016

  • What I learned today in class is how to write a text file in the linux command and compile the program so that it does the function it is supposed to do.
  • This is significant because I have never made a program in any other programming language other than java.
  • I am slowly understanding c++ but I still don't understand it much.
  • A problem I am facing is finding a suitable computer to use at home.

January 22, 2016

  • I learned that the lab and the lecture of this class will be very different. Mainly because of the two different teachers and each uses a different operating system.
  • This is significant because I have never had a class with two teachers before, or in this case two operating systems so it will take some time to get used to.
  • I am slowly learning how both ways of recording my work can work together and have just one output.
  • I actually don't have any problems right now, I just jinxed myself so that should change soon.

January 25, 2016

  • I learned what my team in Joe's side of the class is today. We took a picture and now we are officially a team. Secretly our name will be “Prestige World Wide”.
  • This is significant because this will be my team for the rest of the semester.
  • I am getting there with understanding how everything in this class works, but I am still a noob.
  • Still living problem free but still waiting for something unexpected to happen.

January 26, 2016

  • Today I learned how to have a program print a desired output and how to get a program to accept user input.
  • This is significant because it will help with future projects.
  • I somewhat understand what I am typing into my programs I have made.
  • Had some trouble getting the program he had us type up working.

January 27, 2016

  • Today I learned how to fully get an input that will give out an output when the user types an input.
  • This is especially significant because I could barely do this is java but now I can do it in c++.
  • I am getting there with this whole programming thing. Next goal, math.
  • Had some trouble with getting the input/output to work, but I got it.

January 28, 2016

  • Went more in depth with input/output today.
  • This is helping me with my project for this class.
  • I am understanding how things work.
  • Had some trouble getting the program to show a number multiplied by itself.

January 29, 2016

  • Today I got my program to fully work with squaring numbers with 5 as the last digit. I had it working yesterday, in a different manner, but it stopped working. So I took a look at it and nearly rewrote it. I made it so when a number is typed by the user the program subtracts the 5 from the number, divides it by 10, then adds 1 to the remainder and multiplies it by the remainder before it had the 1 added to it.
  • This gave me a lot of trouble but it made it so now I understand more how things work in the code world.
  • With the method used in this program it only works with 2 digit numbers. There is a way to adapt the method to work on 3 and 4 digit numbers but it's more work than it's worth.
  • This program really stumped me for a bit.

February 1, 2016

  • Learned more about setting up programs in C++. Also learned how to play tetris on Linux.
  • This is important because now I can play tetris on the go when I have a computer.
  • I am slowly understanding how to write programs and getting them to compile with few to no errors.
  • Right now I am hunky dory with what I am learning.

February 2, 2016

  • Today I learned about if statements in C++.
  • This is important because with this I now can do more with programs that I couldn't before.
  • If statements are interesting and can do incredible things.
  • Having trouble finding out how to remove decimals from a number that is the output of another process.

February 3, 2016

  • When I try to put 2000 into my program, the program stops because it can't process anything bellow 2001.
  • It doesn't calculate anything under 2001 because I set it to subtract 2000 from the original year.
  • If I switched the amount subtracted to 1900 for when a 20th century year is typed the algorithm should work.

February 4, 2016

  • Today we worked with switches and more if statements.
  • This is definitely important because this gives us more options with working around problems.
  • I am liking this class a lot and understanding C++ more than java.
  • Had some small errors with my code but found they were small typing errors.

UNIX/Linux Fundamentals Journal

January 19, 2016

  • Today I used a linux based operating system for the first time. I learned how to sign in and browse the web like on other operating systems.
  • This is significant because with this I learned how to log in outside of class to work on work I need to get done.
  • I do not know at all how to use linux so it may give me some trouble in the future.
  • I just lost my gaming laptop to a failing hard drive so this will set me back until I get the money to buy a new one.

January 21, 2016

  • Today I learned how to submit my projects in the linux command line.
  • This is significant because this will lead into me being able to submit my work when I get it finished.
  • I am slowly understanding everything but still am unsure about how everything works.
  • I am still finding a reliable computer to work on at home so that is still giving me trouble.

January 26, 2016

  • Today I learned how to check what files are in each file with ls -l. I also learned how to delete files in my files on linux.
  • This is significant because I will create files that eventually need to be deleted and now I know how to do it.
  • I am getting there with learning how to use linux and slowly learning how to copy files to work on.
  • I found a reliable computer, eventually will by a new one.

January 28, 2016

  • Today I learned how to use touch to create a file. I also learned how to make a file unusable by changing its accessibility. Last I learned how to direct output and input.
  • This is significant because this will help me put data from different files into one file.
  • I am slowly understanding how to manipulate files and their content.
  • Had a problem copying the file for the project but found out how to do it.

February 2, 2016

  • Today I worked on the new project puzzlebox.
  • Viewing the file file.txt through the file function I recieved the output that the file contains ASC11.
  • Viewing the file file.txt through cat I recieved the output telling me the file is a simple text file containing ASC11 text.
  • Next I used the gzip compression tool then viewed the file using file. It gave the output that the file was compressed and the date it was last modified.
  • Even with the faster compression the file function still showed the same thing as before for the file when compressed with the gzip compression.When I checked it with the cat function and it spit out something different.
blog/spring2016/dvarges3/journal.1454687596.txt.gz · Last modified: 2016/02/05 15:53 by dvarges3