Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
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
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:51 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC