Search:

Type: Posts; User: codegeek

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,540

    On a Linux machine, you can do something like...

    On a Linux machine, you can do something like this:

    WordCount 'cat filename.txt'

    and it will read the contents of filename.txt into your program as a string.

    I'm looking for the Windows...
  2. Replies
    7
    Views
    1,540

    file contents as a parameter to a program

    How do you pump the contents of a file as an parameter to a program in Windows?

    I have a program that will count the number of words in a string. The program accepts this string as a parameter...
  3. Thread: benchmarking

    by codegeek
    Replies
    8
    Views
    1,825

    benchmarking

    I guess this is a very broad question, but I'm looking for information on how I can benchmark my code. How do you guys check to see how long it takes to execute a given block of statements? How do...
  4. Thread: Error Messege

    by codegeek
    Replies
    2
    Views
    1,299

    You're having a problem with the debugger when...

    You're having a problem with the debugger when you try to compile? That doesn't make sense as the debugger does not start until after compilation has completed. Please post the exact error message...
  5. Replies
    12
    Views
    2,535

    That was a great example. Now, my next question...

    That was a great example. Now, my next question is when should inlining be used? What are the implications of using inlining? I can see that you wouldn't really want to use inlining when you have a...
  6. Replies
    12
    Views
    2,535

    What is inlining?

    I've seen statements such as, "when the compiler tries to inline the function.." a few times, but do not understand what inlining means. I googled the term, but did not find an explanation that was...
  7. Replies
    2
    Views
    6,427

    MAKEPOINTS structure (win32)

    I'm very new to C++ and am confused with how the MAKEPOINT structure works.

    The definition of dwValue is as follows:

    What are low and high order words? How do I create an instance of...
Results 1 to 7 of 7