Skip to content

C / C++ / MFC

C, Visual C++ and MFC discussions

This category can be followed from the open social web via the handle c-c-mfc@forum.codeproject.com

111.5k Topics 465.7k Posts
  • C,

    database tutorial question
    3
    0 Votes
    3 Posts
    3 Views
    L
    Step 0: Get input. It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
  • Plz solve it

    6
    0 Votes
    6 Posts
    2 Views
    J
    #include #include int main() { int number = 1234567; int digits = log10(number)+1; printf("%d has %d digits\n",number,digits); } Try it here[^]
  • C2065 'IUrlHistoryStg2Ptr': undeclared identifier

    help c++ collaboration
    5
    0 Votes
    5 Posts
    1 Views
    L
    See @Victor-Nijegorodov's message below.
  • How to "link" two C++ applications ?

    question help c++ visual-studio
    4
    0 Votes
    4 Posts
    1 Views
    L
    Been there , done that . They could not figure it out....
  • WSARecv question

    json question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • 0 Votes
    5 Posts
    1 Views
    F
    He has a detach on the server side more so before any conversation gets going My scenario involves the main windows looks if anyone wants to start a conversation with the server if I see it happens a conversation with the server is initiated I want to pass off that socket to a mode less dialog Thanks
  • Version of a console application

    question announcement
    9
    0 Votes
    9 Posts
    1 Views
    _
    No, I don't have such option.
  • 0 Votes
    14 Posts
    0 Views
    L
    Judging by other reports I have seen the answer is: it depends. Microsoft has never tried to be backwards compatible in their systems but some applications will still work. The only way to find out would be exhaustive testing. But for a commercial product I would suggest that you should stick to XP for all development and testing.
  • ganerate a report in C++/MFC

    c++ tutorial design help
    7
    0 Votes
    7 Posts
    1 Views
    D
    I find it easier to create an HTML file that I can format, and then open that file with the default browser. The user can then print at their discretion. "One man's wage rise is another man's price increase." - Harold Wilson "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
  • Finite Elements

    java python help question
    4
    0 Votes
    4 Posts
    0 Views
    E
    Victor, I have that book and many others. I've written the code for quadrilateral plate elements (also when we used punch cards) but I have a client that wanted something quickly. I just thought I'd ask and try to save myself a couple of days. Thanks.
  • DLL with a callback

    database testing beta-testing
    14
    0 Votes
    14 Posts
    1 Views
    L
    Those numbers do not mean anything, except to the operating system.
  • mac desing:

    debugging help
    4
    0 Votes
    4 Posts
    0 Views
    D
    Copy off of the guy sitting next to you. It's your only hope. :rolleyes: "One man's wage rise is another man's price increase." - Harold Wilson "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
  • Earning While Coding

    com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • EACCES when not running under VS debugger

    c++ debugging help visual-studio question
    5
    0 Votes
    5 Posts
    0 Views
    F
    It’s a mainframe z/os sysadata file which is a binary representation of Z/OS Assembler program listing I have all the big endian conversion routines for going from mainframe to pc it did work as I was able to display the listing in the richedit that called the DLL and processed this file thanks
  • How to make a project resolution independent.?

    question c++ com help tutorial
    10
    0 Votes
    10 Posts
    1 Views
    K
    ohhhh
  • 0 Votes
    3 Posts
    1 Views
    K
    I have the same problem
  • use of dependent type name must be prefixed

    question data-structures help
    7
    0 Votes
    7 Posts
    1 Views
    Greg UtasG
    See "Helper types" on this page[^]. It looks like invoke_result_t is itself a type alias. Try std::invoke_result without the _t. Robust Services Core | Software Techniques for Lemmings | Articles The fox knows many things, but the hedgehog knows one big thing.
  • To print two index in a sentence

    database question
    5
    0 Votes
    5 Posts
    0 Views
    CPalliniC
    Try (not tested, but you get the idea) bool bAlreadyIncorrect = false; for(int i=0; i<4; i++) { if ( bCorrect[i] == false ) { if ( bAlreadyIncorrect ) m_listRslt.AddString(" and "); strRslt.Format("Q%d", i+1); m\_listRslt.AddString(strRslt); bAlreadyIncorrect = true; } } if (bAlreadyIncorrect) m_listRslt.AddString( " is wrong"); "In testa che avete, Signor di Ceprano?" -- Rigoletto
  • help me

    help career
    3
    0 Votes
    3 Posts
    0 Views
    CPalliniC
    So..., start coding. And post here specific questions when you're stuck. "In testa che avete, Signor di Ceprano?" -- Rigoletto
  • how we can use MapWindowPoints

    tutorial
    4
    0 Votes
    4 Posts
    2 Views
    L
    So you waited almost fifteen years, just to insult someone.