Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: What's wrong with this?



[EMAIL PROTECTED] (Joe Developer) wrote in message news:<[EMAIL PROTECTED]>...
>         char *foo = "Hello World";

Substitute this with "char foo[] = "Hello World;" (or use std::string).

Take care,
Andreas

      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.