SE250:April 10

From Marks Wiki
Jump to navigation Jump to search

SOFTENG 250 Meeting 10 April 2008

Agenda

  • The code for lab5 does not standardly compile on anything(as far as i am aware) bar gcc on cygwin. The problem seems to be with math.h. It can be fixed on linux with gcc by adding the -lm and -std=gnu99 flags, to effectively manually link in math.h functions, and then allow use of log2(if i understand it correctly). What is the reason for this, and does this kind of thing extend to other often used libraries? Why does it work on cygwin without these flags?
  • yesterday you said that if we pick the wrong values for sample space, size of the table ...etc...we will get the wrong results. So whats things do we need to consider in order to chose suitable values for these???