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

Search:

Type: Posts; User: pdk5

Page 1 of 14 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: performance profiler for CPU usage in visual studio

    I tried using the kaud's suggestion, as there was a log output ..

    The log format looks some what like printf/scanf format from c:
    LogMessage(false, true, "%s Date File : %s. Compression =...
  2. Re: performance profiler for CPU usage in visual studio

    Thankyou very much kaud and Victor.
    I'll try your suggestions.
  3. performance profiler for CPU usage in visual studio

    Hello,

    There is some issue reported by our test team that this release is bit slow in one of the operations.

    So i was told to run the profiler. This is the first time i am running the profiler...
  4. Thread: vector sort

    by pdk5
    Replies
    6
    Views
    525

    Re: vector sort

    Thanks a lot Davit and kaud..

    I was trying to solve the practice c++ challenges on the hackerrank website. I tried with my visual studio and it works ok. But when i presented the same code there,...
  5. Thread: vector sort

    by pdk5
    Replies
    6
    Views
    525

    Re: vector sort

    Thankyou Victor for moving to appropriate place
  6. Thread: vector sort

    by pdk5
    Replies
    6
    Views
    525

    vector sort

    Hello,

    Practicing my c++ .. and



    #include <cmath>
    #include <cstdio>
    #include <vector>
    #include <iostream>
  7. Replies
    2
    Views
    291

    Re: istream_iterator with for loop

    Thanks a lot kaud :)
  8. Replies
    2
    Views
    291

    istream_iterator with for loop

    Hello,
    I have added the following function, just for learning about stls :) . Not professional code, so please bear with me



    #include <cstdio>
    #include <vector>
    #include <iostream>...
  9. Replies
    3
    Views
    282

    Re: Assert in debug mode

    Thankyou Arjay and kaud.

    VERIFY( (data.*memberfunc)(retVal) ); was already there, part of legacy code.

    I was missing some initialisation, so verify was returning false. I corrected it. and it...
  10. Replies
    3
    Views
    282

    Assert in debug mode

    Hello,

    I have the following defined:


    #define VERIFY(f) ASSERT(f)


    And from somewhere :
    template <typename T>
  11. Re: initialise derived class with the base class instance

    Thankyou very much for the inputs and suggestions kaud. Yes, i.e true debugging at that time is very challenging . The suggestions and inputs are really helpful for me to improve.

    I have had some...
  12. Re: initialise derived class with the base class instance

    Thankyou very much kaud. I being new joinee here, for my current piece of work, i can only debug in release mode !!! It is because of some restriction of attached thirdparty tool.
    I try to debug in...
  13. Re: initialise derived class with the base class instance

    It will be very helpful to get some valuable comments , so please help me with comments :) thankyou very much
  14. Re: initialise derived class with the base class instance

    Btw, i changed to following and it compiles.

    Basically the in the current code, the baseclass is stored in global.

    Now i used the same logic, eventhough i instantiated the derived class, i...
  15. initialise derived class with the base class instance

    Hello,

    Sorry i removed the code as the code doesnot contain all the info and doesnot compile.

    thanks a lot
    pdk
  16. Replies
    5
    Views
    355

    Re: optionally enable the params

    Very strange, when i try to assign the base class pointer to object of new derived type:


    I get error saying "cannot be assigned to an entity of type" !


    This issue is resolved now .. very...
  17. Replies
    5
    Views
    355

    Re: optionally enable the params

    Now moved the new fields into derived class
  18. Replies
    5
    Views
    355

    Re: optionally enable the params

    Thanks a lot Victor and kaud.

    This is burried somewhere deep in the legacy code. The issue is that the number of pixels is ususally huge .

    So for each pixel , we store the above legacy fields ....
  19. Replies
    5
    Views
    355

    optionally enable the params

    Hello ,
    In the following class



    class A
    {
    :::::::::::::::::

    private:
  20. Replies
    2
    Views
    263

    Re: reading multiple lines into arrays

    Thanks a lot kaud.

    Sorry for not doing proper home work

    I was googling yesterday (reg emplace_back ), and i think i need , vector of vectors for emplace_back to work :



    ...
  21. Replies
    2
    Views
    263

    reading multiple lines into arrays

    Hello,

    I am just starting to solve a problem, with multiple arrays, something like:

    2,2
    1,2,3,4
    6,7,8,9,10
    0,2
    1,1
  22. Replies
    2
    Views
    339

    Re: split string function

    Thanks a lot kaud :)
  23. Replies
    2
    Views
    339

    split string function

    Hi,

    I was trying to practice my coding , and found the following code for splitting string and finally use those to convert to integer and get sum of those numbers.

    I found the split string is...
  24. Replies
    2
    Views
    639

    Re: template deduction

    Thanks a lot kaud
  25. Replies
    2
    Views
    639

    template deduction

    Hello,

    I have following piece of template code,


    void PredictionRaster::AutoSetSetIllegalValueIfRequired(PRED_DATA_TYPE pdt, AIBaseRaster *pRaster)
    {
    ASSERT(pRaster);
    if (!pRaster)
    {
Results 1 to 25 of 327
Page 1 of 14 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)