Forum: C++ Oct 11th, 2009 |
| Replies: 3 Views: 208 Okey, I did, and it clearly shows that the destructor is run when i define objects.
I edited constructor and destructor to cout like so:
Product::Product(std::string name, int price, std::string... |
Forum: C++ Oct 11th, 2009 |
| Replies: 3 Views: 208 Hi.
I have a class named Product, each object of this class holds one product in a "store". The class also has a static int member to keep track of how many products there are.
iProducts is... |
Forum: C++ Oct 10th, 2009 |
| Replies: 3 Views: 325 Okey, here's the whole main.cpp
(some text is in swedish, but all code is in eng so you should be able to understand it :)
#include <iostream>
#include <vector>
#include "Product.h"
using... |
Forum: C++ Oct 10th, 2009 |
| Replies: 3 Views: 325 Hi.
(If you don't feel like explaining, please tell me what I need to read up on. Derived classes? Polymorphism?).
I have got this assignment from school, in which we are handed a main.cpp file... |
Forum: C++ Sep 20th, 2008 |
| Replies: 1 Views: 438 Edit(!):
Like often, ppl answer their own questions. I used Spy++ to get a window handle on the correct window. But how do I use that information?
I got this, 006D03A6.
Usually you would use... |
Forum: C++ Sep 20th, 2008 |
| Replies: 1 Views: 438 Hi.
I got some experience with win32 programming but I fell I'd like some pointers for this.
I'm doing this program for fun and to learn.
Program: I'm gonna do a program/bot that automates the... |
Forum: C++ Sep 3rd, 2008 |
| Replies: 3 Views: 1,464 I see, now I understand, thanks! |
Forum: C++ Sep 3rd, 2008 |
| Replies: 3 Views: 1,464 I really need help. I'm pretty new to c++. I want to send a simple keystroke to notepad (not really notepad, but I'm using it while I learn).
I might have forgotten something, I don't know. I have... |
Forum: C++ Aug 30th, 2008 |
| Replies: 0 Views: 578 Hello all. I'm pretty new to C++ but not a total beginner. I have done a little program which basicly is a Timer. It's a clock that starts at zero and counts to 4min 45sec, then it playes a sound and... |