...beginning to see how that works. Thanks for the good "google" key :)
Type: Posts; User: skillet
...beginning to see how that works. Thanks for the good "google" key :)
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...
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...
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"...
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...
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...
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...
(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...
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.
...
or easier:
3 + 2 * rand()%5
Yeah Yeah... laugh away. here's one more ;)
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...
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...
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...
and the important part...
and the definition...
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.
...
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...
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...
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++...