cs Sept 15, 2014
system stats file
in the home directory look at .profile using ls -a . Download the .profile from blackboard and replace this one..
rm *.zip
rm texlive*.gz
src2latex comments
/*{\section{Specification}
}*/
/*{\section{Design}
}*/
/*{\section{Implementation}
}*/
class Name_pairs
{
};
int main(){
}
/*{\section{Test}
}*/
interface in .h file and implementation in .cpp file
.h
class Name_pairs
{
vector<string> names;
vector<double> ages;
};
ADT -- Abstract data type -- data members, member functions.
cp ../lab1/packages.tex .
create lab2 directory
editor name_pairs.mp
_matauml_defaults_mp := 1;
string metauml_defaultFont;
metauml_defaultFont :="cmr10";
input metaum1;
beginfig(0);
Class.N("Name Pairs")()();
drawObjects();
endfig;
end
mpost name_pairs.mp
src2latex working for lab2..
pdflatex -- packages.tex not found

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home