Search:

Type: Posts; User: CondorMan

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    5,694

    Thank you Salem. I'll make the modification that...

    Thank you Salem. I'll make the modification that you have suggested and will look into the other areas that you have mentioned.
  2. Replies
    5
    Views
    5,694

    Salem - these are the errors generated when I...

    Salem - these are the errors generated when I tried to compile the code:

    ------ Build started: Project: ProjectName, Configuration: Debug Win32 ------
    Compiling...
    Listing.cpp
    c:\documents and...
  3. Replies
    5
    Views
    5,694

    VC++ Express Edition and .dsp/.dsw files

    I came across some code recently and would like to compile it. There's a .cpp file, along with a .dsp and .dsw file and they all have the same name. I use Visual C++ 2005 Express Edition and loaded...
  4. Replies
    1
    Views
    3,028

    Free store vs. heap

    I've been going through some tutorials and a book on C++ and in some, there is an interchange between the heap and free store terminology. One of them, however, says that they are not the same...
  5. Replies
    21
    Views
    2,101

    Yes, the Ternary Operator works nicely, but this...

    Yes, the Ternary Operator works nicely, but this interesting thread wouldn't have developed if abs() hadn't been brought up!
  6. Replies
    21
    Views
    2,252

    An easier way is not to use stdafx.h as it...

    An easier way is not to use stdafx.h as it doesn't seem to be needed for your code. As I said, even when I set "Not Using Precompiled Headers" but left the reference to stdafx.h, it still generated...
  7. Replies
    21
    Views
    2,101

    As a newcomer, I'm a little confused. I know...

    As a newcomer, I'm a little confused.

    I know that I must include <iostream> if I want to use cin or cout in C++. I looked at the reference cited by indigo0086 and it relates to abs() in the...
  8. Replies
    21
    Views
    2,252

    Thank you. That's what I figured. I wonder why...

    Thank you. That's what I figured. I wonder why The Shark had it there in the first place - unless the code was from something else (that did need stdafx.h) and he modified it to create an...
  9. Replies
    21
    Views
    2,252

    Thank you laserlight and Mario F. The setting...

    Thank you laserlight and Mario F.

    The setting "Create/Use Precompiled header" was already at "not using precompiled headers"! I tried toggling it in both directions and closed down between...
  10. Replies
    21
    Views
    2,252

    Wow - after a lengthy session connected to the...

    Wow - after a lengthy session connected to the site, I've managed to install psdk. I've also added the following paths within Tools>Options>VC++ Directories:

    Executable files - C:\Program...
  11. Replies
    7
    Views
    2,777

    Perfect - thank you. I knew there had to be...

    Perfect - thank you.

    I knew there had to be something different about Notepad which caused the inconsistency.
  12. Replies
    7
    Views
    2,777

    dwks - I've tried using the name of the...

    dwks - I've tried using the name of the executable, rather than the window title. It still doesn't pick up Calculator or Windows Task Manager.

    Tonto - I'm aware of the MSDN site that you quoted...
  13. Replies
    7
    Views
    2,777

    FindWindow inconsistency

    I've been looking into FindWindow and have created the following code to illustrate:



    #include <iostream>
    #include <windows.h>
    using namespace std;
    int main()
    {
    if (FindWindow("Windows...
  14. Replies
    21
    Views
    2,252

    Thank you Darryl and Ken. I'll follow your...

    Thank you Darryl and Ken. I'll follow your instructions.
  15. Replies
    21
    Views
    2,252

    I have Visual C++ Express Edition and can't...

    I have Visual C++ Express Edition and can't compile this code. It says that stdafx.h does not exist. If I comment out that line, it says that it can't find windows.h.

    Is it possible for me to...
  16. Replies
    8
    Views
    1,598

    When I just used cin.get(), it didn't pause the...

    When I just used cin.get(), it didn't pause the console but when I used cin.ignore() before cin.get(), it did pause.


    Thank you. It's nice to know that something works, but I prefer to know why!
  17. Replies
    8
    Views
    1,598

    I know about cin.get(), but why is it necessary...

    I know about cin.get(), but why is it necessary to have the cin.ignore() before it in this case? I've used it before and not had to have cin.ignore() with it. What's specific about this example?
  18. Replies
    8
    Views
    1,598

    It will return the value that you entered, but...

    It will return the value that you entered, but then it will close down immediately. Try running it from the command prompt (Start>Run) or adding the lines

    char response;
    cin >> response;
    ...
  19. Replies
    32
    Views
    13,741

    My copy's marked correctly.

    My copy's marked correctly.
  20. Replies
    5
    Views
    2,110

    Thank you.

    Thank you.
  21. Replies
    5
    Views
    2,110

    That's great - I'll have a go. Just to clarify,...

    That's great - I'll have a go. Just to clarify, I assume that the:

    <fileName> in ... ( NULL, fileName, IMAGE_ICON ...

    and

    <"install.ico"> in ... INSTALL_ICON ICON "install.ico" ...

    are...
  22. Replies
    5
    Views
    2,110

    Apologies. The original thread was started on...

    Apologies.

    The original thread was started on 15 May 2006 and the final response was on 16 May 2006. Like many newcomers, I didn't read the forum-specific guidelines, but I will now! I woudn't...
  23. Replies
    5
    Views
    2,110

    [mod edit]This post refers to this thread: ...

    [mod edit]This post refers to this thread:

    http://cboard.cprogramming.com/showthread.php?t=79130
    [/mod edit]

    Hi veecee

    I'm new to this board but have been visiting other C++ boards for a...
Results 1 to 23 of 23