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

Search:

Type: Posts; User: dave2k

Page 1 of 54 1 2 3 4

Search: Search took 0.08 seconds.

  1. given rgb value, find closest rgb value in spectrum

    i have a pixel with an associated rgb value. I also have a colour spectrum which can be seen here (bottom one). i need to find which pixel in the spectrum is the best match to the pixel i have, based...
  2. Re: convert string containing escape sequences to normal string

    thanks i understand better now! So the way i have managed is actually quite a good way to convert utf-8 to ansi then?
  3. Re: convert string containing escape sequences to normal string

    I am using Flash for my interface, or Flex to be specific, and i had a string in Flash containing an accented e character: Calle Jaén-20070505.jpg. I use a technology call screanweaver to transfer...
  4. Re: convert string containing escape sequences to normal string

    yes, i tried to use this function, and the string looked Ok in the variable window, but i got some errors when doing operations with this new string. The errors where strange to say the least. I used...
  5. Re: convert string containing escape sequences to normal string

    Hi Guys,

    After your helpful comments i came up with a system which i think works. I convert to wstring, then back to string! My code is below. Is there a better way to do this?


    std::wstring...
  6. Re: convert string containing escape sequences to normal string

    Thanks Codeplug, i used the s****etded function and i did not work, then i used yours and i did work. One small thing i noticed is it returns "Error" for zero-length string, so i just stuck in ...
  7. Re: convert string containing escape sequences to normal string

    sorry for wasting your time, i am an ignorant dumbass - my function works if the first param is CP_UTF8!
  8. Re: convert string containing escape sequences to normal string

    thanks for the reply, i will clarify my situation:

    i am sending a unicode string from flash to my c++ dll, but the method of transportation only supports narrow characters, so for example if i...
  9. convert string containing escape sequences to normal string

    i have a char* containing this: C%3A%2F0
    i would like to transform this to another variable which contains the string C:/0

    is there an easy way to do this?
  10. Replies
    5
    Views
    792

    Re: Linking VS2005 and Winsock

    paste your errors
  11. Replies
    5
    Views
    792

    Re: Linking VS2005 and Winsock

    goto settings->likner->input and add ws2_32.lib.lib
  12. Thread: a model library

    by dave2k
    Replies
    1
    Views
    633

    Re: a model library

    i have been trying to do this, although not so much with animation. What i am using to create models is milkshape, and then i found code which displays models in milkshapes own format, ms3d. The code...
  13. Thread: fir filter

    by dave2k
    Replies
    2
    Views
    918

    fir filter

    i have code for fir filter below. The way it's coded means it is really slow during debugging (vs 8). Can anyone identify where the slow bits are or even better, suggest quicker code?

    Thanks

    ...
  14. Re: suggest me "THE BEST " book for mastering C& C++

    which is why i don't recomend it :) Some one else did.
  15. Replies
    7
    Views
    919

    Re: std::vector debug

    Hi Cilu. Thanks for your suggestion, but after looking at my code this doesn't seem to be the problem. I wonder if anyone else has a solution for this? Does anyone know of any open source vector...
  16. Re: suggest me "THE BEST " book for mastering C& C++

    the bruce eckel books are very good.

    i don't recommend Programming Windows by Charles Petzold if your a beginner, it will go straight over your head :)
  17. Replies
    7
    Views
    919

    Re: std::vector debug

    Hi Cilu, but surely this would slow Release the same as Debug though? Or are you suggesting that the compiler (in Release) recognises when something that is passed-by-value could be const-reference...
  18. Replies
    7
    Views
    919

    std::vector debug

    my code involves using vectors alot, many times every split second. It's ok in release, but in debug my code slows right down. I know this is because it's in debug mode, but it's hampering my efforts...
  19. Replies
    4
    Views
    1,634

    Re: opengl terrain rendering

    opengl nature scene
  20. Poll: Re: Where do you place your Reference and Derefence's?

    int
    * a

    ;;;Over-zealous use of whitespace or the next big thing? :lol:
  21. Thread: C++ XML parser

    by dave2k
    Replies
    10
    Views
    1,441

    Re: C++ XML parser

    hot-diggity-**** poco looks amazing!!!
  22. Thread: C++ XML parser

    by dave2k
    Replies
    10
    Views
    1,441

    Re: C++ XML parser

    tinyxml
  23. Replies
    5
    Views
    780

    Re: fast access to container element

    cheers guys
  24. Replies
    5
    Views
    780

    fast access to frequently used container element

    I want to store a collection of objects. I will frequently access this collection, however, it is highly likely that the last object i accessed in the collection will be the one i want to access the...
  25. Replies
    7
    Views
    830

    Re: Exception-Safe Copy Assignment

    why would it need to be rolled back when the swap function is non-throwing (or am i missing osmething here)?
Results 1 to 25 of 1347
Page 1 of 54 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center