General C++ Programming - June 2008 (Page 4)

print in MFC dialog
 
I want to how to print statement in the MFC. void Specific_enthalpy_Dew_point::OnBnClickedPrintsedp() { // TODO: Add your control notification handler cod...
[no replies]
by lipune
c++
 
Hi to all,can u tell this answer,if we declare a constant variable then we initialize it through constructor but why we need only through constructor is there a...
[no replies]
by lipune
c++
 
Hi to all,can u tell me,suppose i have a class in private section i declar a int p,then i derived another class there also i have a private data int p with same...
[3 replies] Last: Respected experts please chek my simple code and help me that in this ... (by maan)
Request for comments on Qt4
 
I have been designing a network simulator for a number of months now and went ahead designing the underlying data structure and functionality. It has used the s...
[3 replies] Last: @Zaita: QT is not multi-platform unless you buy license Yes, it i... (by ropez)
by shyn23
Array calling from main function to member function of a class
 
Can anybody tell me wants wrong with this program it doesnt work the way it should be.. #include<iostream> using namespace std; class Computation {...
[8 replies] Last: can you post the file (or a sample file) here so i can see it? (by Mitsakos)
Creating a vector of maps and parsing using TinyXML++
 
I'm currently struggling with using STL to create and access a vector of maps. I have seen code to do a map of vectors, but never the other way around. I'm sure...
[1 reply] : I got this worked out, guys. Like I said, implementation really wasn't... (by bornloser006)
Converting function calls to shared memory
 
I'm a bit new to programming. Read C++ for dummies but still can't figure this out. I want to convert all the Callback functions to use shared memory. The DB_Ca...
[no replies]
Value conversion
 
Dear C++ society, I am new at this form and have already a problem. To my person, I have a mechanical engineering background and have little to none knowledg...
[3 replies] Last: Unfortunately you've already been brainwashed by silly MS stuff... An... (by Duthomhas)
How to read .pgm format file?
 
I'd like to know how to read the .pgm (pixel gray map) file, for the one who doest'nt know P2 # This is an example called j.pgm 6 5 255 0 0 0 0 255 70...
[6 replies] Last: There are two versions of getline (). You want the <string> version: ... (by Duthomhas)
arrays and while loop
 
i am currently writing a program that loads portfolio.txt when you type "L", displays portfolio.txt when you type "D", and exits when you type "Q". I was succe...
[1 reply] : http://www.cplusplus.com/forum/articles/1624/ But just look at it, ... (by Zaita)
C++ program
 
I need a program which run as service (in the background). The program read a txt file where are informations: date/time and message. example txt file: 200...
[no replies]
DUMPING THE INFO ONTO ARRAYS.
 
hi to all, this is srinivas. i am facing the problem with the coding phase, i am beginner to c++. i have the below text file. DETAILED INFORMATION i_50 ...
[2 replies] Last: plz...do the coding for me... I must tell you, that this is not q... (by Ossory)
Some problem with the STL::SET
 
Hi, everyone, I am really a beginner in C++. I am now doing a small project which is storing a set of discrete & continuous variables in a STL::SET. The orig...
[4 replies] Last: Well, I know nothing about SMILE or programming on a Mac, but I can ba... (by Duthomhas)
make Directory argv[]
 
Hello all, i want to make a directory from the the input of the User (argv). I have wrote it.. but it didn't work. Can you help me.. ;-) ? int main (int a...
[8 replies] Last: Yeah, I can't remember arguments to anything. When I program I always ... (by Duthomhas)
Least square support vector machine code
 
Hi Can anyone tell me C/C++ code of LS SVM Its very important Thanks
[no replies]
Testing algorithm speed....
 
So basically, I have 2 algorithms. One is 40x faster than the other. There are only 3 major code difference between each. The algorithm is basically alpha ...
[1 reply] : I'm assuming you are asking why they're different. I suspect it's the... (by bnbertha)
malloc: size of allocated area?
 
How to find the size of area allocated by malloc?? is it even possible. for example:- void *ptr; ptr = malloc(10); Here malloc should allocate 10b...
[1 reply] : There is no standard way of doing this. You may be lucky and your imp... (by bnbertha)
Visual C++ Question
 
Hello, I'm new to programming and was wondering what the difference is between the C++ stuff I've learned over the past year and a Visual C++ program for graphi...
[4 replies] Last: To add to what Zaita and bnbertha have mentioned, Visual C++ is Micros... (by Faldrax)
cannot instatiate abstract class
 
class CD3DRenderer : public CRenderInterface { public: CD3DRenderer(); ~CD3DRenderer(); bool Initialize(int w, int h, WinHWND mainWin, bool fullScr...
[2 replies] Last: Have you implemented any of the functions from your class? Have you i... (by Zaita)
by lipune
c++ memory leak
 
Hi to all,can u tell me how to know memory leak occur in ur c++ programm in which line and how much without using any tool.
[3 replies] Last: You learn something every day. I'll have to remember that one.......n... (by bnbertha)
June 2008 Pages: 123456
  Archived months: [may2008] [jul2008]

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