Thread: converting from a const char to a char.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #16
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    You still NEED to remove the extra semi colon I hinted to you about yesterday.

    Code:
    while(r < count);
    Last hint for tonite

    I think is really should be set to 0 instead of 1.
    Code:
    int r = 1;  // might have to be 1 instead of 0
    Last edited by stahta01; 04-14-2013 at 06:25 PM.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Converting int to const char* ?
    By Wiretron in forum C++ Programming
    Replies: 7
    Last Post: 11-12-2007, 02:49 PM
  2. Converting an std::string to a const char *
    By Shamino in forum C++ Programming
    Replies: 21
    Last Post: 01-24-2006, 04:03 PM
  3. Converting from type char to const char*
    By Leeman_s in forum C++ Programming
    Replies: 1
    Last Post: 05-21-2003, 09:51 PM
  4. Assigning Const Char*s, Char*s, and Char[]s to wach other
    By Inquirer in forum Linux Programming
    Replies: 1
    Last Post: 04-29-2003, 10:52 PM
  5. Converting const char to char array
    By HomerJ in forum C++ Programming
    Replies: 4
    Last Post: 04-30-2002, 03:21 PM

Tags for this Thread