User profile: Smac89

User info
User name:Smac89
Number of posts:1531
Latest posts:

lowest common multiple
There is a method for finding the lcm of numbers which makes use of prime factorization

Overloading Input Operator
[code]istream& operator>>(istream& ins, rational& frac) { ins >> frac.numerator; while (ins.get()...

Overloading Input Operator
Your function should be returning an istream object not a rational object

algorithm into assembly language
Looks like intel code. Using gcc, I was able to generate this: [code] .file "file.c" .intel_syntax...

algorithm into assembly language
What assembly language? There is MIPS, Intel, etc. Which one are you trying to convert it to?