General C++ Programming - July 2009

Why does delete [] crash in my destructor?
 
I have a member variable wchar_t * _message; This array is allocated in the constructor, _messa...
[5 replies] Last: Why is _message declared as a constant?? It is not constant. It is j... (by webJose)
Programming a new protocol advice
 
I am currently working on a project that requires me to create a program to interface with another s...
[no replies]
by nny
internet connection needed
 
hi... i've been looking for some tutorial about making server/client connection for DAAAAYS... all...
[no replies]
Augmented Reality
 
Hi.... I need a little help here. I was wondering about programming aplications of augmented realit...
[2 replies] Last: OpenCV (by smhillis)
alternate solution for variable variables
 
Is there an alternate solution for variable variable in C ( or C++) like $$ in Php?
[4 replies] Last: You lost me completely. In any case, C/++ isn't reflective. You don't... (by helios)
by aarmin
palindrom words in a sentence
 
Need help! Why is output always ZERO? This is should tell you how many palindrom words are in a sen...
[6 replies] Last: No need for help i solved it! (by aarmin)
Receiving a signal in C++
 
Hello, I was wondering how I could make a C++ program interpret a signal that is going to the com...
[no replies]
by tazz25
Release Works, Debug Doesn't
 
I am creating a DirectX Tic-Tac-Toe game. It worked perfectly fine in the Debug and Release versi...
[1 reply] : You added the .lib only to the release configuration but not to the de... (by helios)
by Acacia
How to manage a very big number?
 
I am running a code that computes a very big numbers. The program works untill it reachs its limit t...
[4 replies] Last: 128 bits is not that big. Have you seen the 46th Mersenne Prime? 12.8 ... (by helios)
Without constructor, how comes destructor?
 
#include <iostream> using namespace std; class Singleton { public: static Singleton G...
[6 replies] Last: ...so you are never actually constructing a Singleton object. I t... (by closed account z05DSL3A)
Virtual destructor
 
Hello! Me class derives from class, which doesn't provide virtual destructor. I declared virtual ...
[2 replies] Last: If Base does not have a virtual destructor and Derived (derived from B... (by jsmith)
by garob
convert between std::string and int
 
Hi I don't what the best way to convert between std::string and int. Can someone please post the fun...
[5 replies] Last: #include <boost/lexical_cast.hpp> try { int x = boost::lexi... (by jsmith)
tic tac toe game
 
i have started a tic tac toe game. i can move the x around with the arrow keys.i dont know how to ma...
[5 replies] Last: I only have experience with console applications, but recently I did a... (by meepokman)
by wtf
What is a good command line compiler?
 
I want a good, preferably small compiler to use, one preferably that doesn't have to be installed. ...
[12 replies] Last: Try digital mars. If I remember correctly one of the benefits it has i... (by garob)
Binary Tree Questions
 
Can someone please help me out. I am trying to get a the following: nodeCount (This works) leavesC...
[2 replies] Last: Okay, there's this little thing called the this pointer you need to ... (by helios)
Vector initialization...
 
Hi, all, I am stuck on a problem and have tried different approaches, but none of them seem to make ...
[12 replies] Last: memcpy (&tmpCharBuff , "\0", 1); This makes no sense. First of all, y... (by helios)
by varsha
linked list and strings
 
hi.. can some1 plz tel me how do i store each character of a string in a linked list using C and n...
[3 replies] Last: insnode appears to create the list if it doesn't already exist, so the... (by kbw)
Reading CSV Files
 
Hello, I'm learning C++ with the book C++, How To Program 5/e from Deitel and i like very mu...
[5 replies] Last: Hello, Thanks to all, Bazzy because of the code and the links to i l... (by nathanpc)
How do you use Classes/UML to model a simple database?
 
I had a similar assignment where the user chooses to be a customer (like an ATM), banker, or supervi...
[6 replies] Last: Database Modelling in UML http://www.sparxsystems.com.au/downloads/... (by closed account z05DSL3A)
Getting Crystal Report database field names in C++
 
Hey All, I was wondering if anyone knows how to get information from a Crystal Reports file, like...
[no replies]
July 2009 Pages: 123... 14
  Archived months: [jun2009] [aug2009]

This is an archived page. To post a new message, go to the current page.