First  |  Prev |  Next  |  Last
Pages: 91 92 93 94 95 96 97 98 99 100 101 102
Newbie Dummie in a Stew with First C++ Program
Hi, gang, About 24 years ago, I got into programming with my old Commodore 64. I got to be quite good with both BASIC and with 6502/6510 assembly language programming. When the IBM PC came out, not finding the resources at the time to program with it (except for its nearly worthless version of BASIC), I let my... 15 Feb 2006 20:43
Card game
I have a card game that I am trying to get to figure out if there is a flush, four of a kind, pair, straight, ect... can someone point me in the right direction? DeckOfCards::DeckOfCards() { for ( int row = 0; row <= 3; row++ ) { for ( int column = 0; column <= 12; column++ ) { deck[ row ][ ... 14 Feb 2006 22:16
error LNK2001: unresolved external symbol _iplGetPixel@16
Hi, error LNK2001: unresolved external symbol _iplGetPixel(a)16 i get this error when i include in my code any function from the ipl library so ?? please help =( ... 12 Feb 2006 11:53
Avoid Memory Leaks!
As a slight beginner, I would like to know how to avoid memory leaks in the first place so that i don't have to find them and get rid of them after the code is done. I know this has to do a lot with garbage collection, i just like to know how to avoid memory leaks all together - any tips or suggestions? thanks i... 18 Feb 2006 22:04
Code Review? memory management in C
I have a file with different ways to write numbers ---- 8< (cut) -------- 0: zero, zilch,, nada, ,,,, empty , void, oh 1: one 7: seven 2: two, too ---- >8 -------------- I wanted to read that file and put it into dynamic memory, like char *** synonym; /* assume everything is already mal... 10 Feb 2006 13:10
reinterpret_cast
Hi, I've recently changed the way I call class members from callbacks, and although I've been very happy with the outcome, an issue raized it's head today. Say I have classes as below. class HoverButton { //members }; class HoverTextButton: public HoverButton { //other members }; The classes... 15 Feb 2006 03:55
how do i empty a c array
As an example, char c[50]="abcd"; ... 9 Feb 2006 22:32
l-value specifies const object
Hi Everybody, I am getting error C2166 : l-value specifies const object. I checked everything around the function that I am using and the only thing that is constant is 1 of the parameters that is used by the function. QFile* MyFunction(const QString parameter) The QFile I am assigning the result to is al... 27 Jan 2006 13:32
strings vs single characters in C++
Hi everyone, I'm using a function with the following signature: void output_char(unsigned char c); When I call it like so and compile, I get an error message which reads "warning: passing arg 1 of `output_char' makes integer from pointer without a cast.": output_char("*"); However, if I enclose the c... 25 Jan 2006 14:18
Help me about pointer...
There is a 'aa' class and 'bb' class. there is a function. like.. class bb looks like.. class bb{ public: bb(string & aa); ~bb(); .... } class aa{ public: ......... bb* aaa; .......... } void aa::add(bb* name) { bb newbb(*name); // aaa = ????? //I'like to store the... 22 Jan 2006 06:56
First  |  Prev |  Next  |  Last
Pages: 91 92 93 94 95 96 97 98 99 100 101 102