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

Search:

Type: Posts; User: 2kaud

Page 1 of 80 1 2 3 4

Search: Search took 3.60 seconds.

  1. Replies
    3
    Views
    71

    Re: Recursive wildcard expansion

    I doubt anyone here is going to debug the code. Have you traced through it with the debugger to determine where it deviates from that expected from the design?
  2. Re: performance profiler for CPU usage in visual studio

    If you want to easily time a particular piece of code takes, then a simple solution if you have a console available is:



    #include <chrono>
    ...
    const auto startr =...
  3. Replies
    3
    Views
    71

    Re: Recursive wildcard expansion

    To avoid duplicates, store the words in a set.
  4. Replies
    2
    Views
    190

    Re: c/c++ ide for win/linux GUI programming

    For x-platform GUI, have a look at QT. https://www.qt.io/
  5. Thread: vector sort

    by 2kaud
    Replies
    6
    Views
    470

    Re: vector sort

    Yes, works OK with VS. What os/compiler are you using?
  6. Replies
    3
    Views
    802

    Re: header files online database

    The header files are just that - headers. They don't have the associated source code for the declared functions (ie for the functions declared in nrutil.h). To get this code to compile you either...
  7. Replies
    2
    Views
    255

    Re: istream_iterator with for loop

    That line works just fine! That's not the problem. If you're reading from a file and you read all the data, what happens to the file state? When you get to the end of the file, can you read again...
  8. Thread: boost::bind

    by 2kaud
    Replies
    9
    Views
    798

    Re: boost::bind

    This may help https://www.geeksforgeeks.org/bind-function-placeholders-c/
  9. Thread: boost::bind

    by 2kaud
    Replies
    9
    Views
    798

    Re: boost::bind

    For C++20. Currently implemented in GCC 9 and VS2019 16.5 - but not yet Clang.

    For info about the proposal, see http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0356r5.html
  10. Thread: boost::bind

    by 2kaud
    Replies
    9
    Views
    798

    Re: boost::bind

    Consider as a 'simple' example:



    using std:: placeholders::_1;

    std::vector<int>v {1,2,3,4,5,6,7,8,9};

    const size_t val=std::count_if(v.begin(), v.end(),
    ...
  11. Thread: boost::bind

    by 2kaud
    Replies
    9
    Views
    798

    Re: boost::bind

    Isn't boost::bind the origins of std::bind which came with C++11?
  12. Re: Good afternoon I need help with the software C / C ++ for Visual Studio Code

    [Also posted at http://www.cplusplus.com/forum/general/273324/]
  13. Replies
    8
    Views
    477

    Re: SQL Numeric conversion

    I'd say it's a copy-and-paste hijack!
  14. Re: Good afternoon I need help with the software C / C ++ for Visual Studio Code

    Have you confirmed that your VS installation can properly compile C++ code - using a simple test program?

    What is your current level of knowledge of C++?

    What type of computer game? If it is...
  15. Re: Opening An Excel File in Visual C++ using Workbook.Open( ) gives an error.

    Have a look at post #14 at https://forums.codeguru.com/showthread.php?564557-RESOLVED-Filter-a-txt-file-based-on-a-grid-of-data&highlight=

    You might need to change the paths depending upon your...
  16. Replies
    3
    Views
    259

    Re: Assert in debug mode

    Shouldn't



    VERIFY( (data.*memberfunc)(retVal) );


    be
  17. Re: Opening An Excel File in Visual C++ using Workbook.Open( ) gives an error.

    Do you know the correct password?
  18. Replies
    6
    Views
    345

    Re: Need help for a C++ hangman game

    But do you understand it? That's the important thing.

    I've marked it as complete.
  19. Replies
    6
    Views
    345

    Re: Need help for a C++ hangman game

    Consider this. You haven't posted the used functions so I've used temp versions so that the code compiles:



    #include <iostream>
    #include <string>

    using namespace std;

    string chooseWord()
  20. Replies
    6
    Views
    345

    Re: Need help for a C++ hangman game

    [When posting code, please code tags with formatted code so that it is readable. Go Advanced, select the formatted code and click #]

    I've re-formatted the code in post #1 so that the various...
  21. Thread: libiconv

    by 2kaud
    Replies
    6
    Views
    1,076

    Re: libiconv

    So what about this https://github.com/pffang/libiconv-for-Windows which has .lib/.dll for x64/x86 dynamic/static/debug
  22. Thread: libiconv

    by 2kaud
    Replies
    6
    Views
    1,076

    Re: libiconv

    Try http://gnuwin32.sourceforge.net/packages/libiconv.htm
  23. Replies
    13
    Views
    1,491

    Re: MSDN documentation

    With which code?
  24. Replies
    13
    Views
    1,491

    Re: MSDN documentation

    Everything comes to those who wait......

    MS has now updated the documentation to detail the underline colours. See https://github.com/MicrosoftDocs/feedback/issues/1657
  25. Replies
    3
    Views
    802

    Re: header files online database

    I quick internet search for the first one shows it is available from codeforge

    headers such as general.h, other.h are likely to be specific to a particular program. I doubt these are available...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)