Re: Stringy bits of rubbish.
- From: "John Swan" <j.a.swan123@xxxxxxxxxxxx>
- Date: Tue, 13 Dec 2005 17:29:44 GMT
> >I am starting to really hate managed C++.
>
> What made you decide to use managed C++?
Well, I have used c# and thought that was ok. I have develop using MFC, QT
and wxWindows albeit very little.
I found MFC horrible, a poorly written wrapper.
wxWindows and QT - a lot nicer and cleaner by comparison.
C# I though it was alright, although I went through uni and everything using
C++.
Just wanted to develop using managed C++ and see what the difference is. I
just want thos project complete now. Dont think I'll use it again.
> I did managed C++ 7.0 in the past and came to the same conclusion.
>
> If you want std C++ or ATL, just go for that, do not expect an easy simple
> all in one solution by combining managed and unmanaged.
I would live to be able to use just the std or Syste,, however I need to
display the contents of my class and so it needs to be converted.
The real reason for mixing it up is that I am generating a html table in
code and therefore I am doing a lot of string manipulation.
For me it seems a lot easier to say string = string + anotherstring +
yetanother than multiple calls to System::Concat
> > Ok.
> >
> > I am trying to add a newline character to a std::string and it won't do
> > it.
> >
> > Whenever you put in << endl or + endl it wont compile because the
managed
> > bit is ***.
>
> std::string? Why would you run this as 'managed?'
Well, perhaps I am doing something wrong (hence the post :) ) but whenever I
add << or try and use endl it just wont compile. The error keeps referring
to the operator so I assume that's the managed bit jumping in. If you can
use it an example would be greatly appreciated.
> > If I was to put in /n or /r or /n/r and other variations it kinda works.
> > As
> > in, if I display the string in a MessageBox it works fine.
> >
> > However, a text box does not work.
> >
> >
> >
> > All I get is little squares. It's as if you open a text file that works
> > fine
> > in Linux but the fonts are out in Windows.
> >
> >
> > I am going insane and the MSDN is rubbish.
> >
> > Cheers
> >
> >
> > --
> > www.integrated-dev-sol.co.uk
> > Remove 123 from email address to reply.
> > Anti spam and virus measure.
> >
> >
>
.
- Follow-Ups:
- Re: Stringy bits of rubbish.
- From: Egbert Nierop \(MVP for IIS\)
- Re: Stringy bits of rubbish.
- References:
- Stringy bits of rubbish.
- From: John Swan
- Re: Stringy bits of rubbish.
- From: Egbert Nierop \(MVP for IIS\)
- Stringy bits of rubbish.
- Prev by Date: Re: System namespace(s) problem
- Next by Date: Re: System namespace(s) problem
- Previous by thread: Re: Stringy bits of rubbish.
- Next by thread: Re: Stringy bits of rubbish.
- Index(es):