General C++ Programming - March 2009 (Page 10)

operator problem
 
char* data and size are public members of class Base. "delete data;" below causes "Debug Asserti...
[4 replies] Last: Eye of an eagle. Thanks! (by n4nature)
initialization list
 
class Base { public: int temp1; int temp2; Base(); Base(const Base&):temp2(10), temp1(20) {...
[4 replies] Last: Thanks (by n4nature)
by tition
Debugging deeply nested structures
 
How do you do it? So far, I have been using the following approach: class Object {public: ...
[1 reply] : overload the operator<< for your class type so that you can convert it... (by kempofighter)
by olove5
how I can do system pausa
 
AFTER I RUNED THE PROGRAM I WANT TO SEE THE CONSOLE TO CONTINUE WITH THE EXECUTIONS 'ProL...
[1 reply] : http://www.cplusplus.com/forum/articles/7312/ (by kempofighter)
Grabing Tempature
 
Hello! I have just signed up for this form and saying hi to everyone. id10t <id ten t> is an old...
[no replies]
makefile
 
I want to have debugging option. Even while linking I have given -g option but I am not getting line...
[3 replies] Last: What I meant was. The way I have written the makefile right now is tha... (by rachitagrawal)
A Query on pointers and inheritance
 
Hi guys, I am doing a project for my mid term and I am held up with this doubt. I might have misu...
[3 replies] Last: Actually TEnt, Male and Female classes are derived from the base class... (by Sundar0206)
by xcr
File i/o and databasing
 
I am trying to write a databasing program to store information about people, such as DOB, address, e...
[2 replies] Last: Can you tell me how to copy all of the file's contents to the map, or ... (by xcr)
Any idea with regard to c++ program?
 
#include <iostream.h> #include<conio.h> #include<string.h> ================> headers int ct...
[1 reply] : First, please always post code inside [ code][ /code] blocks (press ... (by jdd)
Need Airplane Reservation
 
Output is 1.First Class Reservation 2.Economy Class Reservation 3.Cancel First Class R...
[no replies]
by dooper
Minimum currency calculator
 
This Programs calculate minimum currency in Euros #include <iostream.h> using namespace std; i...
[2 replies] Last: You should also strongly consider using iostream (no .h extension) ins... (by jdd)
displaying a mixed fraction in a fraction class
 
Hi I am having a little difficulty in creating a function called display2() that will display the...
[1 reply] : 5/3 = 1 2/3. How do you perform this calculation in your head? Wri... (by jsmith)
tips for Fifo problem using c++...
 
#include<iostream.h> #include<stdlib.h> //declaration for array plsss help.... //badly neede...
[1 reply] : <element-type> <array-name>[ <number-of-elements> ]; replace the <s... (by jsmith)
Convert a long to valid date time
 
i m getting a long value from server and i want to convert the long to a valid date time can any one...
[1 reply] : man ctime (by jsmith)
by Disch
Templated function pointer problem
 
I've been using VS for a while, but I just switched to GCC and am trying to sort of iron out a few w...
[1 reply] : change line 19 to typename Test<T>::funcptr_t ptr; (by jsmith)
Random generation problem
 
Hi all. Here is the problem I am trying to solve. I have one grid with dimension 10 by 10 (so it ...
[15 replies] Last: @SouravDutta That is an interesting idea. If I understand correctly,... (by jdd)
GUI in c++
 
Hello, I have study C in the past and have just started to study C++ over the last few weeks. I ...
[3 replies] Last: vc++ comes with Visual studio. visual studio is an IDE for C++, Visua... (by writetonsharma)
by cybo
pthreads and a class function
 
i have just started learning pthreads in c++. i need to create a thread which will run a class funct...
[8 replies] Last: rachit: the difference is between static and non static member. I t... (by writetonsharma)
ifstream binary file reading
 
Hi! Im new to cpp, and i have problem with reading binary file My code is: std::ifstream ifs(...
[5 replies] Last: strange..!! (by writetonsharma)
webcam capture problem using opencv and vc++6.0
 
My code is to display a webcam. I meet problem when it runs. I am working with VC 6.0 and using open...
[no replies]
March 2009 Pages: 1... 89101112... 21
  Archived months: [feb2009] [apr2009]

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