User Tools

Site Tools


journal:fall2019:bmather2:week12

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
journal:fall2019:bmather2:week12 [2019/11/07 14:03]
bmather2
journal:fall2019:bmather2:week12 [2019/11/13 15:35] (current)
bmather2
Line 8: Line 8:
 This allows you to search for any group of characters and replace them.\\ This allows you to search for any group of characters and replace them.\\
 It is AMAZING for making a program similar to an old one, you can just copy the whole thing over and change a few variables.\\ It is AMAZING for making a program similar to an old one, you can just copy the whole thing over and change a few variables.\\
 +
 +
 +__**For trees:​**__\\
 +
 +When grabbing, find the node, go left, then find the greatest (go right till you cant anymore).\\
 +If this Node has a left, you need to do grab that one as well before you promote it to where the original grab was.\\
  
 =====discrete week12===== =====discrete week12=====
Line 16: Line 22:
 In encode I needed to read all of argv[4] through an atoi()\\ In encode I needed to read all of argv[4] through an atoi()\\
 In decode I needed to store the control byte as an unsigned char rather than just a char.\\ In decode I needed to store the control byte as an unsigned char rather than just a char.\\
 +
 +Cnv0 was much easier than I thought, I practically got the whole thing done at home.\\
journal/fall2019/bmather2/week12.1573153421.txt.gz · Last modified: 2019/11/07 14:03 by bmather2