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

Search:

Type: Posts; User: Rabelo

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    828

    Re: Commiting in Blocks

    Exterminator, If this code works it is exately what I want. I´ll try it.

    Thank you all for replies.
  2. Replies
    3
    Views
    828

    Commiting in Blocks

    I´m new to Sysbase and I´m working on a stored procedure that I need to commit on blocks of 1000 rows. Is there any parameter that I can set for example <BlockCommit=1000> ? if not, Is there any...
  3. Re: Question about io_base::sync_with_stdio(false)

    Ok, thank you all for your explantions.
  4. Question about io_base::sync_with_stdio(false)

    I´ve read that this call before any use of streams will improved performance because it breaks the sincronization of C++ with C on io operations.
    questions:
    1) It improves the performance only on...
  5. Replies
    1
    Views
    587

    Removing the close caption dynamically

    Hi all,

    I´m working with a MDI aplication and I have several (about 3 or 4) windows opened. the situation is if an indicated window is closed, another indicated windows cannot be closed anymore. I...
  6. Thread: Formatting CDs

    by Rabelo
    Replies
    3
    Views
    739

    Re: Formatting CDs

    Is all I was looking for, thank you very much golanshahar.
  7. Replies
    4
    Views
    484

    Questions About C

    hi all,

    I just wanna know if C is really a "deprecated" language. It´s last one stardizations (ANSI) was publicated in 1999, is this correct? I´ve seen on ANSI site a standard named "Programming...
  8. Thread: Formatting CDs

    by Rabelo
    Replies
    3
    Views
    739

    Formatting CDs

    I’m working in a program that deal with CD in a low level and need to learn how to format a CD on Windows. My background on this stuff is that on DOS times I worked with programs that format...
  9. Replies
    4
    Views
    462

    Re: SetScrollSizes blink

    Yes, but I´ll need to read all document at first time without print it just to get its extents. I would like to avoid this step. I would like to try another solution (if it exists).

    Thank you
  10. Replies
    4
    Views
    462

    Re: SetScrollSizes blink

    That is the problem, on OnSize I don´t have the document sizes yet. I have the sizes only after the first draw. I compute the size doing:

    CMyScrollView::OnDraw(CDC* pDC)
    {
    ...
    if(Extremex <...
  11. Replies
    4
    Views
    462

    SetScrollSizes blink

    Hi!!
    I´m using SetScrollSizes to set the bars of a CScroolView Window. I only know the document size after the very first time I print it (on OnDraw). So I´m declaring a flag that sinalizes if it is...
  12. Replies
    2
    Views
    877

    Re: Reusing std::stringstream after EOF

    Ok Philip, is it! Thank you very much.
  13. Replies
    2
    Views
    877

    Reusing std::stringstream after EOF

    Hi all,

    I´m using a std::stringstream and filling it with several lines. I need to print these lines 2 times and I´m not getting to use it at the second time. I presume that the eofbit is set...
  14. Replies
    9
    Views
    664

    Re: Compile error including

    I can´t belive!!!! It was .c ..... :lol: I am working on a third party project and this detail wasn´t noticed... :eek:
    Thank you !
  15. Replies
    9
    Views
    664

    Re: Compile error including

    At the beggining of the program:


    #include <set>
    #define _TESTEC_C_
    #include <windows.h>
    #include "calcpoints.h"
    .....
    And I don´t declare any class of type std::set. The error occurs inside...
  16. Replies
    9
    Views
    664

    Re: Compile error including

    That is the funny part. I just included the set. I commented the set declaration and the error persist. if I comment the #include <set>, the program compile ok.
  17. Replies
    15
    Views
    1,134

    Re: How to optimize this function ?

    You do xx[3]*points[i] twice on this calculation, try creating a variable and save this 2nd calculation. You can also put these 2 fors variables in a register(for (register inti=0 ; ...) , if the...
  18. Replies
    9
    Views
    664

    Compile error including

    hi all,

    I´m using a std::set in a simple aplication in VC6.0. I´m not using MFC neither precompiled headers. The problem is that the compile complains when I include <set> the error is c:\program...
  19. Replies
    6
    Views
    1,240

    Re: Problem with CEvent

    I´m still having problems... The WaitForSingleObject is returning WAIT_ABANDONED
    See what I did:
    on the outer dialog:

    HANDLE Evento = NULL; // global
    ...

    Evento = new...
  20. Replies
    6
    Views
    1,240

    Re: Problem with CEvent

    thank you very much, for your help and corrections.
  21. Replies
    6
    Views
    1,240

    Problem with CEvent

    hi ,

    I have an aplication that has a dialog and inside this dialog I have another dialog that is on a work thread. When I show the outer dialog I run the thread on the inner dialog and have to...
  22. Thread: C Test

    by Rabelo
    Replies
    6
    Views
    418

    Re: C Test

    wow rajesh_krec !!! Congratulations!!! (the variable name dosen't matter)

    Baby Guru: ... ( Just one character....)
    Eli Gassert: The first I tried. Doesn´t work because 0 > -42...
    sunnypalsingh...
  23. Thread: C Test

    by Rabelo
    Replies
    6
    Views
    418

    C Test

    Recently I was questioned about a test in C that I couldn´t find the answer. Can anybody Help me to find it?


    ...
    int i,num = 42;
    for (i=0 ; i < num ; i--)
    printf("*");
    ...

    The intent is...
  24. Replies
    11
    Views
    718

    Re: CTreeView with 10^6 entries

    Very unusual.... I´m thinking on the user trying to find something on this TreeView. He will get very confused, how to find something in a so big tree?
    I think that it would be better if you divide...
  25. Re: constructor() : variable() {}

    Actually it does make difference. The second case, using initialization list has better performance im most of the cases. On the 1st case the = operator is called, and on the 2nd it is not called.
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width