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

Search:

Type: Posts; User: vinodp

Page 1 of 9 1 2 3 4

Search: Search took 0.13 seconds; generated 22 minute(s) ago.

  1. Thread: Fun C++ Problem

    by vinodp
    Replies
    68
    Views
    58,360

    Re: Fun C++ Problem

    Actually i got 3rd as 2nd & 2nd as 3rd ;)
    But i guess we are going 1st & 2nd based on what dcjr84 knew

    Vinod
  2. Thread: Fun C++ Problem

    by vinodp
    Replies
    68
    Views
    58,360

    Re: Fun C++ Problem

    Got all 3 :thumb: It took some time for me as simultaneously solved some production issue for one of our client. Though solving this was fun than production problem

    Vinod
  3. Thread: images

    by vinodp
    Replies
    6
    Views
    771

    Re: images

    What kind of images? Every image type has its own format.

    Vinod
  4. Thread: cpu cycles

    by vinodp
    Replies
    14
    Views
    1,653

    Re: cpu cycles

    If you mean those 2 diff. variables of same type.
    The below is going to take somewhat less cycyle in some cases

    printf("%i", CPY);
    But how much less is going to depend upon some other factors &...
  5. Thread: Inheritance

    by vinodp
    Replies
    10
    Views
    1,044

    Re: Inheritance

    My Car doesnt have radio socket also :)
  6. Thread: Inheritance

    by vinodp
    Replies
    10
    Views
    1,044

    Re: Inheritance

    Yep its simple...
    But may be it will became very costly as application grows
    By making it simple we are forgetting some basic rules of OOP
    "Don’t put members in class which are not related to...
  7. Thread: Inheritance

    by vinodp
    Replies
    10
    Views
    1,044

    Re: Inheritance

    your right if we want car with no radio.

    But i am not agree on storing radio object in each derived car.
    What if we want to derive some car from luxury car & want some diff. radio in that it...
  8. Thread: Inheritance

    by vinodp
    Replies
    10
    Views
    1,044

    Re: Inheritance

    You can take Radio* as parameter for Car's C'tor. while contrcting the Car object pass the Radio object & while constructing LuxuryCar pass SateliteRadio object.
    You can refer the method of...
  9. Thread: Lnk1202

    by vinodp
    Replies
    3
    Views
    6,144

    Re: Lnk1202

    Please provide your linker option also

    Vinod
  10. Replies
    3
    Views
    3,804

    Re: SSL Socket Programming

    Its open source SSL lib
    http://www.openssl.org/

    To understand how SSL works first you need to read the about PKI(public key infrastuture), Digitalk certificate the mechanism SSL use to...
  11. Replies
    3
    Views
    3,804

    Re: SSL Socket Programming

    Try OpenSSL.
    What kind of application ur trying to write?


    Vinod
  12. Replies
    11
    Views
    1,084

    Re: retrieving size bit

    I think thats totaly diff. topic of discussion.
    Its might create lots of problem if we are trying to define stabdard at binary level.
    i am sure there lot of people on this forum will have diff...
  13. Replies
    11
    Views
    1,084

    Re: retrieving size bit

    The location of size information for allocated block is very implementation specific. It all depends upon the memory manager of the OS. On Windows it might be at start of allocated memory or Unix it...
  14. Re: searching and then modifying element in a list

    SET is associative container it doesnt allow to change the value. the best way is delete the element & insert new one.
    If you need to change the value ur container selection is wrong. Try to use...
  15. Thread: array vs vector

    by vinodp
    Replies
    100
    Views
    6,214

    Re: array vs vector

    I guess i late in game now :)
    The sicussion went somewhere else than original post. though first i agree with Paul we need to find out how these timing taken.

    >>yes i very agree. but in my...
  16. Thread: array vs vector

    by vinodp
    Replies
    100
    Views
    6,214

    Re: array vs vector

    I guess it has something to do with initilization of integer.
    std::vector will initilize it with ZERO but the traditional array will not

    >>With such a difference, I guess people only use...
  17. Replies
    0
    Views
    608

    UDT as in parameter problem

    Hi,
    I have a ATL outproc server. i am taking a UDT from a client as in parameter.
    HRESULT test([in]SomeUDT);
    but when my client is calling this method in VB its getting byval error.
    if i changed...
  18. Thread: Create problem

    by vinodp
    Replies
    3
    Views
    964

    Can u provide the ASSERT information? At what...

    Can u provide the ASSERT information? At what statement its asserting.
    Check the Parent value it might be different each time.

    Vinod
  19. Replies
    2
    Views
    567

    Yes, U can declare a pointer of a abstract...

    Yes,
    U can declare a pointer of a abstract class

    Vinod
  20. Replies
    6
    Views
    979

    strcpy(a.get(), "Codeguru"); Beware of length of...

    strcpy(a.get(), "Codeguru");
    Beware of length of the string & allocated char length.
    My suggestion is instead of this use STL::string class.

    Vinod
  21. Replies
    3
    Views
    652

    I dont think so. U need to pay MS for it. In MS...

    I dont think so. U need to pay MS for it.
    In MS world nothing is free.

    Vinod
  22. Replies
    6
    Views
    979

    Hi, U need to call explicitaly strcpy to copy a...

    Hi,
    U need to call explicitaly strcpy to copy a string.
    u can not initialize it directly.

    Vinod
  23. Replies
    2
    Views
    1,608

    No i dont think so u can put that way. u need to...

    No i dont think so u can put that way.
    u need to convert from Hex to decimal.

    Vinod
  24. Search from Crypto++ whcih is free C++ lib for...

    Search from Crypto++ whcih is free C++ lib for Cryptography.
    look here

    Vinod
  25. Replies
    6
    Views
    936

    The way ur using ur variable for that u need to...

    The way ur using ur variable for that u need to have ur DLL should be implicitaly link.
    How r u linking ur DLL? Is it implicit linking?
    See MSDN article here

    If ur linking ur DLL implicitaly...
Results 1 to 25 of 208
Page 1 of 9 1 2 3 4





Click Here to Expand Forum to Full Width

Featured