SE250:lab-7:tsen009

From Marks Wiki
Revision as of 05:20, 3 November 2008 by Mark (Sọ̀rọ̀ | contribs) (14 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

lol... stop stealing my CODEZ!!!

LAB 7

Startup

the lab-7.c code needed to be compiled and run... found out that it cant be done through Emacs the hard way. after hours (lol, well im allowd to exagurate) of messing around, i figured out that it needs to be done through the Cygwin. sadly enuff, by this time, its almost at the end of the lab, so i stoppd there...

The End...

hehe just kidding... :P

following gets you to your working directory on cygwin

cd /cygdrive/h/.../lab7/

compile

gcc lab-7.c -o lab7 && ./lab7

riight, thats all the bash shell for dummies done... lets move on...

Playing Around

Yeah, it was fun playing around the tree...

Did You know? that if you Insert multiple words, they come out as a tree in here? lol...

hah...

ITS MAGIC I TELL YOU!!!!

Tasks (Paying Around continued)

Problem #01 Found

well, nothing much to record here. followed through the lab tasks, and am confident on how to use those commands etc... so that is all from me today...




problems

1

right... i openly say that this code is badly written, and horrible...

>i 1
>i 2
>i 3
>i 10

we would expect

1
..2
...3
....10

but we get

..10
1
..2
...3

meaning 10 < 1

*PHAIL*

Conclution

1 > 10

that is all...