CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Thread: Function Error

Threaded View

  1. #1
    Join Date
    May 2008
    Posts
    14

    Unhappy Function Error

    Hallo all.

    I have a function that I got error when I compiled, I really do not know how to cope it.

    I have attach the code, and I was wondering if there is anyone would be able to help me..

    The error message is:
    error: stray '/342' in program
    stray '/200' in program
    ...
    error: no matching function far call to std::basic<char, std::char_traits<char>, ...

    It get error on this code

    int wordlen = x.find(" ");

    I really need help with that as my assignment is due soon.

    Thanks
    Attached Files Attached Files
    Last edited by glen_4455; May 9th, 2008 at 09:18 AM.

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

Featured