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

Search:

Type: Posts; User: jerryok

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    4,114

    Fastest way to paint screen white?

    Hello I need to paint the entire screen to white. One way to do so is to create a window with full screen and show that window later. But this method is a bit slow, it takes me about several hundred...
  2. Replies
    2
    Views
    3,111

    Incorrect use of dateadd() function

    Hi guys,

    I have a stored procedure which has a datetime parameter. But when I call it like this:

    exec spSomething dateadd(minute, 30, getutcdate())

    It complains as "Incorrect syntax near...
  3. Replies
    1
    Views
    1,183

    Is fucntion ifstream::eof() reasonable?

    Please take a look at the code listed below:

    const char *cszFilePath = "TestFile";
    ofstream ofs;
    ofs.open(cszFilePath, ios_base::out | ios_base::binary);
    int iSize = 3;
    ofs.write((char...
  4. What is the default buffer size of std::fstream object?

    If I have defined a ifstream object, for example, what is the buffer size of it? In which way can I know this? And, further more, if I want to change the size of the buffer, how can I do it?
  5. Replies
    1
    Views
    1,759

    How can I deal with this LNK2005 error?

    This is some error ocurred when linking my project, all errors and warnings are listed below:

    JRtest error LNK2005: __afxForceSTDAFX already defined in mfcs71d.lib(stdafx.obj)
    JRtest fatal error...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured