CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: LukeCodeBaker

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    6,136

    Re: Idiot/Noob HelpLine :)

    All you have to do is to use modulo operator. If you don't know what modulo operator is, see wiki http://en.wikipedia.org/wiki/Modulo_operation or simple example here:...
  2. Replies
    3
    Views
    39,355

    Re: A question regarding multithreading

    Right, one worker + queuing messages = that's all what you need!
  3. Replies
    2
    Views
    2,749

    Re: Complete idiot needs Help.

    Are you sure that class="MagicZoom" should be in a href tag? Maybe it should be in other place like: img, or other div...
  4. Replies
    2
    Views
    721

    Re: What am i doing wrong?

    DataMiser is right. Incorrect subdir could be a problem issue. If it fails use absolute path, like below:


    foreach (string file in Directory.GetFiles(@"c:\data\", "*.adf")) ;
  5. Re: Getting pixels from Windows DIB with no BITMAPFILEHEADER?

    If you are trying to process image in the future try to use OpenCV library, http://opencv.org/.
    It's easy and fun. Don't do it on your own.
  6. Replies
    2
    Views
    3,089

    Re: boost streambuf

    Take a look at boost::asio::streambuf site: http://www.boost.org/doc/libs/1_50_0/doc/html/boost_asio/reference/streambuf.html

    Writing directly from an streambuf to a socket:

    ...
  7. Replies
    8
    Views
    1,241

    Re: sizeof fails

    @po0ky
    almost, but notice, that you are using post incrementation here: while(*(ar+ret++));
    so your function len("abc") returns 4. Instead of you could try this:

    [code]
    int len(const char ar[])...
  8. Thread: C++ Math

    by LukeCodeBaker
    Replies
    6
    Views
    5,882

    Re: C++ Math

    @gamesun

    I think you could study this article: http://www.antedes.com/blog/csharp/percentage-match-between-two-strings-levenshtein-distance
Results 1 to 8 of 8





Click Here to Expand Forum to Full Width

Featured