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

Search:

Type: Posts; User: laitinen

Page 1 of 72 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    11
    Views
    1,479

    Re: string manipulation

    ..or you could try strtok or strtok_s
  2. Replies
    2
    Views
    1,084

    Re: Counter on a Timer

    Problem here is that your counter is reset to 0 every time your run method runs.

    Just move it out of the run method:

    class RemindTask extends TimerTask {
    int num = 3600; //one hour

    ...
  3. Re: Different alter table behaviour on different DBMS's

    Yup that is correct.

    I also found the solution: To enforce SQL Server to apply the default value to all old records, you will have to do like this:

    alter table testtable add c2 int default 0...
  4. Different alter table behaviour on different DBMS's

    Hi!

    For test purposes I have a table called 'testtable' with one column 'c1' which is an integer and the primary key of the table.

    Then I want to add a new integer column to the table with a...
  5. Replies
    6
    Views
    3,805

    Re: Tooltips on CWnd Derived Class

    Would this help? MFC Dialog: Add tooltips to your controls in a dialog
  6. Re: [Help me Plz] Decimal to Binary and "Printing Stars"

    See if you can find an apropriate method in the Integer class.

    Laitinen
  7. Replies
    14
    Views
    1,211

    Re: "Tiny" Mode in Visual studio 2005???

    What is TINY mode?
  8. Replies
    3
    Views
    940

    Re: Can someone please explain...

    && and || are binary logical operators, or more specifically - logical binary short circuit operators. That means that it will only evalute the first operand if the result of the evaluation is...
  9. Replies
    11
    Views
    1,041

    Re: Clarification regarding finally blocks

    No, in this case the finally clause will not be executed. A finally clause belongs to the try/catch clause(s) just before itself.

    Laitinen
  10. Replies
    11
    Views
    1,041

    Re: Clarification regarding finally blocks

    The finally clause will always run except if there is a call to System.exit(0) in a try or a catch clause before the finally clause.

    Also, if the finally clause throws any exceptions that is not...
  11. Re: compiler errors using complex in C++

    cf0 = 3.0f * cf;
    cf0 = cf * 3.0f;

    3.0 is interpreted as a double, until you add the f-postfix.
  12. Replies
    5
    Views
    2,589

    Re: Getting thread id of a process

    which thread id? A process may have many threads.
  13. Replies
    5
    Views
    2,589

    Re: Getting thread id of a process

    You should use CreateProcess instead. This will fill the PROCESS_INFORMATION struct for you.

    Take a look here: Processes: How can I start a process?

    Laitinen
  14. Replies
    1
    Views
    1,544

    Re: std::localtime

    Take a look here: struct tm

    And especially this: tm_mon, means months since January - where the range is 0-11.

    Laitinen
  15. Replies
    7
    Views
    685

    Re: how to get the string inputted by a user

    :mad:
    #include <string>
  16. Thread: start hidden

    by laitinen
    Replies
    8
    Views
    817

    Re: start hidden

    You should get used to check the many great FAQs here at CodeGuru. If you had done that you would have found this:

    MFC General: How to process command line arguments in a MFC application?
    ...
  17. Thread: start hidden

    by laitinen
    Replies
    8
    Views
    817

    Re: start hidden

    What do you mean? If you start it from the desktop you want it to be visible? You might add command line arguments to your app, and use them when starting from desktop. Search for command line...
  18. Replies
    1
    Views
    350

    Re: problem in function pointer

    Are you serious? How the H*** are we supposed to solve your problem based on that description?

    Laitinen
  19. Re: Problem running release version of my app

    Just to be sure; The latest version that is ok on Australian machines, they are running the release version, right?
  20. Replies
    3
    Views
    495

    Re: Please check this program...

    How can I wait until a process ends?

    Cheers,

    Laitinen
  21. Replies
    3
    Views
    616

    Re: how to get the system as a string

    FILETIME to string

    Laitinen
  22. Thread: start hidden

    by laitinen
    Replies
    8
    Views
    817

    Re: start hidden

    Have a look here: How to start your dialog application in hidden mode?

    Cheers,

    Laitinen
  23. Replies
    2
    Views
    737

    Re: Simple While Looping Question

    because after you have written "2" to the console y==2.

    Then the while loop checks if the condition is true -> 2>1 is true so it decrements y by 1, and continue to the loop. And now y==1.
    ...
  24. Thread: 2d Arrays

    by laitinen
    Replies
    2
    Views
    362

    Re: 2d Arrays

    void draw()
    {
    char Random = ' ';
    for(int i = 0;i<24;i++)
    {
    for(int j=0;j<24;j++)
    {

    random(Random);
    theBoard[i][j]=Random;
  25. Re: How to disable/grayed-out the 'X' close button in dialog?

    Just my two pennies on this one.. I think you should have really good reasons for disabling/removing the "x" on the system menu. That is standard windows behaviour, and you should try your very best...
Results 1 to 25 of 1782
Page 1 of 72 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