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

Search:

Type: Posts; User: Rabelo

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    851

    Re: Commiting in Blocks

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

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

    Commiting in Blocks

    Im new to Sysbase and Im 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)

    Ive 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
    606

    Removing the close caption dynamically

    Hi all,

    Im 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
    758

    Re: Formatting CDs

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

    Questions About C

    hi all,

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

    by Rabelo
    Replies
    3
    Views
    758

    Formatting CDs

    Im 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
    495

    Re: SetScrollSizes blink

    Yes, but Ill 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
    495

    Re: SetScrollSizes blink

    That is the problem, on OnSize I dont 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
    495

    SetScrollSizes blink

    Hi!!
    Im 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 Im declaring a flag that sinalizes if it is...
  12. Replies
    2
    Views
    1,159

    Re: Reusing std::stringstream after EOF

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

    Reusing std::stringstream after EOF

    Hi all,

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

    Re: Compile error including

    I cant belive!!!! It was .c ..... :lol: I am working on a third party project and this detail wasnt noticed... :eek:
    Thank you !
  15. Replies
    9
    Views
    699

    Re: Compile error including

    At the beggining of the program:


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

    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,224

    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
    699

    Compile error including

    hi all,

    Im using a std::set in a simple aplication in VC6.0. Im 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,319

    Re: Problem with CEvent

    Im 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,319

    Re: Problem with CEvent

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

    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
    453

    Re: C Test

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

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

    by Rabelo
    Replies
    6
    Views
    453

    C Test

    Recently I was questioned about a test in C that I couldnt 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
    751

    Re: CTreeView with 10^6 entries

    Very unusual.... Im 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 302
Page 1 of 13 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center