View Single Post
Old Oct 27th, 2004, 5:47 AM   #1
Amit_Tour
Newbie
 
Join Date: Oct 2004
Posts: 2
Rep Power: 0 Amit_Tour is on a distinguished road
Hey everyone,
I have just signed in to this forum, and it looks real good. I'm now on my first steps on C++, after programming for one year in Java. I have wrote this very basic code:
#include "calculator.h"
class Rational;
{
   Rational::Rational(const Rational rat)
   {
      temp* Rational = new Rational;
    };
};

and got the syntax error before '{' on line 3. What's the problem?

On other issue, why I can't paste texts into my Mozilla browser on Fedora/Red Hat Linux? This is quite annoying...

Thanks, Amit
Amit_Tour is offline   Reply With Quote