Re: Does Vector is not supported by VC++ 6.0??
Mike Wahler wrote:[color=blue]
> "Michael Groys" <michaelg@alzt. tau.ac.il> wrote in message
> news:c05moo$oau $1@news.iucc.ac .il...
>[color=green][color=darkred]
>>>vector<vecto r<int> > obj;
>>>
>>>is the normal way to solve the problem. I couldn't imagine anyone would
>>>write a compiler in which this does not work. Anyhow, you claim that
>>>VC++ 6 does not support the insertion of a space but a quick google
>>>search suggests it does.
>>>
>>>Mike[/color]
>>
>>I didn't do any search in Google concerning this problem, but I did
>>write programs in VC6 and I got an error.[/color]
>
>
> OK post the *exact* code you tried, and the exact text of any error
> messages.
>
> -Mike
>
>[/color]
Ok, SP 4 indeed fixed this problem, but in initial Version of VC 6
the following code, didn't work
class MyClass: public MyClassT<vector <int> >
{
public:
// with any number of spaces on the next line.
MyClass(int i): MyClassT<vector <int> > (i)
{...}
};
And this has nothing to do with standard.
Don't worry be happy, Michael
Mike Wahler wrote:[color=blue]
> "Michael Groys" <michaelg@alzt. tau.ac.il> wrote in message
> news:c05moo$oau $1@news.iucc.ac .il...
>[color=green][color=darkred]
>>>vector<vecto r<int> > obj;
>>>
>>>is the normal way to solve the problem. I couldn't imagine anyone would
>>>write a compiler in which this does not work. Anyhow, you claim that
>>>VC++ 6 does not support the insertion of a space but a quick google
>>>search suggests it does.
>>>
>>>Mike[/color]
>>
>>I didn't do any search in Google concerning this problem, but I did
>>write programs in VC6 and I got an error.[/color]
>
>
> OK post the *exact* code you tried, and the exact text of any error
> messages.
>
> -Mike
>
>[/color]
Ok, SP 4 indeed fixed this problem, but in initial Version of VC 6
the following code, didn't work
class MyClass: public MyClassT<vector <int> >
{
public:
// with any number of spaces on the next line.
MyClass(int i): MyClassT<vector <int> > (i)
{...}
};
And this has nothing to do with standard.
Don't worry be happy, Michael
Comment