Search:

Type: Posts; User: skillet

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,040

    ...beginning to see how that works. Thanks for...

    ...beginning to see how that works. Thanks for the good "google" key :)
  2. Replies
    4
    Views
    1,040

    MS Visual C++ 6.0 bug?

    I am finding that adding or subtracting "one" to a pointer is actually adding the number of bytes that is allocated to the pointer type. To find the next value in memory, I thought I should add the...
  3. Replies
    10
    Views
    7,052

    ok.. one more, because I didn't answer your...

    ok.. one more, because I didn't answer your question about "automatically update" at all.

    When I type a number into the rectangle width box, I want the rectangle area to immediately show the new...
  4. Replies
    10
    Views
    7,052

    I'll make this my last post in this thread, but...

    I'll make this my last post in this thread, but I'd love any further input. I hope it is some help to others later.

    I'm learning--but that's the whole point, isn't it? :) I had been using "atoi"...
  5. Replies
    10
    Views
    7,052

    I am haveing some luck with "GetDlgItemInt"... I...

    I am haveing some luck with "GetDlgItemInt"... I want to get a numeric value from the edit box, not a string. When I use the class wizard and make a new integer value for the edit box Control, what...
  6. Replies
    10
    Views
    7,052

    int value from CEdit

    MS Visual C++ 6.0...

    I am trying to get a simpy dialog based program running, but
    I am having difficulty getting an integer value out of an edit box.

    It takes two values out of an edit box and...
  7. Replies
    6
    Views
    1,179

    void main()

    How about this.... I got this compiling, and the output is what I want. It is to a point now that it should be simple to add for loops at obvious locations--calculateNewBalance and cout. My class...
  8. Replies
    6
    Views
    1,179

    thanks...

    (mixed reply to both magos and elad)

    OK... the terminoligy is starting to get just out of my reach...

    I am guessing that "STL" is a collection of C++ classes available, but I am not familiar...
  9. Replies
    6
    Views
    1,179

    another homework question...

    Looking for an improvement to my code. It's a little much to post, but here's the idea:

    I have a class --"savingsAccount"--

    in the main function I declare three objects with savingsAccount.
    ...
  10. Thread: Random numbers

    by skillet
    Replies
    13
    Views
    1,246

    or easier: 3 + 2 * rand()%5

    or easier:

    3 + 2 * rand()%5
  11. Replies
    12
    Views
    1,968

    Yeah Yeah... laugh away. here's one more ;)

    Yeah Yeah... laugh away. here's one more ;)
  12. hey... I was going over golf's profile because he...

    hey... I was going over golf's profile because he had been helping me, and ended up here. Being a fellow Okie, I thought I'd drop a few comments in for afboys to consider on her program:

    1. the...
  13. Replies
    12
    Views
    1,968

    I made the previous post, went to bed, and had a...

    I made the previous post, went to bed, and had a big "DUH" moment. I am closing the output file in my main function. of course the destructor won't write to it. One would think I would get some...
  14. Replies
    12
    Views
    1,968

    You will notice warnings if you compile this. I...

    You will notice warnings if you compile this. I was going to get to that later... I don't understand why it is considering a floating point number with only one number after the decimal point a...
  15. Replies
    12
    Views
    1,968

    and the important part...

    and the important part...
  16. Replies
    12
    Views
    1,968

    and the definition...

    and the definition...
  17. Replies
    12
    Views
    1,968

    This is probably important too: I have three...

    This is probably important too: I have three files, the rectangle prototype (rectangle.h), the rectangle class definition(rectangle.cpp), and an "assignment2.cpp" file. And FYI, I use MSVC++ 6.0.
    ...
  18. Replies
    12
    Views
    1,968

    Actually, rectangle number 2 will go out of scope...

    Actually, rectangle number 2 will go out of scope first, so I typed the output wrong.

    I can't pass an object (output file) to the destructor when it is called by the program ending, so I can't...
  19. Replies
    12
    Views
    1,968

    I originally did all my output with cout, but I...

    I originally did all my output with cout, but I need the output to a file now...

    The actual output looks something like this (I shortened it from five rectangles to two):
    ***
    rectangle number 1...
  20. Replies
    12
    Views
    1,968

    Interesting problem with file I/O...

    I've used this board to my benefit for a few weeks now, so I thought I'd better register and say "Thanks".... "Thanks!"

    Here is a problem I'm currently kicking around (yes, it is for a C++...
Results 1 to 20 of 20