Problems when adding a new source code
From: Maya (escalante_at_vif.com)
Date: 08/01/04
- Next message: Alwyn: "Re: Problems when adding a new source code"
- Previous message: Francis Glassborow: "Re: cin.get() does not work if there is a previous cin?"
- Next in thread: Alwyn: "Re: Problems when adding a new source code"
- Reply: Alwyn: "Re: Problems when adding a new source code"
- Reply: Francis Glassborow: "Re: Problems when adding a new source code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 01 Aug 2004 05:27:25 -0700
I really think that this is one of those problems where the solution is
yelling at you while pointing out where the problem is, but I just can't
get it together, I mean, it's a long weekend here in Canada and I am
still trying to find out where the problem is.
I have a class parser called Url, the program runs perfectly. However, I
need to plug this class in another class as an object called 'url',
which goes like this
001 namespace jme{
002 class boo{
003 jme::MyString str;
004 jme::Url ur;
005 std::string something;
006 int foo;
.....
When I try compiling the program I get an error that reads:
MyNewClass.hpp: 4: error: syntax error before ';' token
I really don't know what the problem could be, I have written several
classes and have used them in the very same way with out any problems.
I hope that one of you have had this kind of problem befor and is able
to recognize the error message.
Note: The Makefile file is okay, the source code is okay, I mean, it
compiles and runs without any problem in test program!! It is only when
I try to crate an object of the class Url in the other class that I get
the error.
I am using GCC on Windows XP under the cygwin environment.
Thanks folks!!
- Next message: Alwyn: "Re: Problems when adding a new source code"
- Previous message: Francis Glassborow: "Re: cin.get() does not work if there is a previous cin?"
- Next in thread: Alwyn: "Re: Problems when adding a new source code"
- Reply: Alwyn: "Re: Problems when adding a new source code"
- Reply: Francis Glassborow: "Re: Problems when adding a new source code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|