Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Strings in newer GCC (devkitadv)   Message List  
Reply | Forward Message #9718 of 15019 |
RE: [gbadev] Strings in newer GCC (devkitadv)

> RC5Stint wrote:
> >
> > The new GCC is a fully compliant C++ compiler. String is a
> > standard class. You are naming the char * parameter to
> > DrawString by the very same name, right down to the uppercase S.

> > If ever you port this to C++ and libstdc++, you'll go crazy
> > trying to diagnose this apparent non-error. :-)

Tony Wetmore replied:
>
> The string class defined by the C++ standard library is:
>
> string (actually, it's std::string)
>
> It does not use an upper-case 's'. In fact, I can't think of
> any C++ standard types or keywords that use upper-case letters
> for anything. So there is no problem there.

Err, you're right. I probably had a conniption and confused it with
Java's String, which I use just about every day at work.

- --
RC5Stint <rc5stint@...>
PGP Key ID: 0x3B4BEC6F

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32) - WinPT 0.5.1
Comment: For info see http://www.gnupg.org

iD8DBQE8WeCaifMcQztL7G8RAhvJAKC5BJTXXHpcACMANbUl0TS6iNGYTQCgrXwk
NPemKYS0lvu1oKtM6uScDUU=
=xqii
-----END PGP SIGNATURE-----

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Fri Feb 1, 2002 12:39 am

rc5stint
Offline Offline
Send Email Send Email

Forward
Message #9718 of 15019 |
Expand Messages Author Sort by Date

I've recently updated my GCC compiler to the devkit, so I'm going in and changing all sorts of things to const and the way variables are addressed (must have...
Jason Emery
felix_draconis
Offline Send Email
Jan 30, 2002
10:34 pm

... From: "Jason Emery" <felixd@...> To: <gbadev@yahoogroups.com> Sent: Wednesday, January 30, 2002 9:29 PM Subject: [gbadev] Strings in newer GCC...
Mike Wynn
mike.wynn@...
Send Email
Jan 31, 2002
9:16 am

On Wednesday, January 30, 2002 5:30 PM, Jason Emery wrote: > > Anyway, the one problem I can't seem to figure out yet is what > changed regarding the string...
rc5stint
Offline Send Email
Jan 31, 2002
9:17 am

From: "Jason Emery" <felixd@...> ... <snip> ... Your declaration of menu_options is of an array pointers to const chars. Note that the pointers ...
John Seghers
johnse98072
Offline Send Email
Jan 31, 2002
9:18 am

... Note that the pointers ... menu_options[].... ... unless gcc changes the const keyword const char const * menu_options[].... is const char * menu_options[]...
Mike Wynn
mike.wynn@...
Send Email
Jan 31, 2002
10:44 am

... The string class defined by the C++ standard library is: string (actually, it's std::string) It does not use an upper-case 's'. In fact, I can't think of...
Tony Wetmore
twetmore_pvcc
Offline Send Email
Jan 31, 2002
12:03 pm

... _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com...
rc5stint
Offline Send Email
Feb 1, 2002
8:43 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help