Results 1 to 3 of 3

Thread: what?

  1. #1

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919

    what?

    I'm using VS.NET


    heres the code

    Code:
    string challenger;
    challenger = cgi.GetValueFromName("challenger");
    here's the error i get:
    error C2679: binary '=' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)


    I'm using the CGI class parksie uploaded a while ago. Any ideas?
    Last edited by nabeels786; Mar 10th, 2002 at 11:32 AM.
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    As soon as I get a compiler installed I can re-do that entire class for you since I've got loads of things I know need doing with it (i.e. a rewrite! )

    But I think GetValueFromName returned a string, so it looks like an error in the standard library there
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919
    thanks

    i fixed it. i didnt include the cpp file into the project, i just did '#include "libcgi.h"'
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width