General C++ Programming - March 2009

Problem with classes....
 
I keep getting undeclared identifiers when I try to apply a class, I'm pretty sure I'm doing somethi...
[3 replies] Last: Thanks I got it now, I just misread the chapter. #include <iostr... (by Bishopssix)
by everid
how to get virtual pointer?
 
Hi guys, Is there a way to access the virtual pointer which points to the virtual table? Another ...
[11 replies] Last: I learned a lot but is more confused than before. After all, whatever,... (by everid)
by Cicek
I cant change my program: connect 4
 
Hi So I ve been programming connect 4, but I dont like the outcome, which I have copied in the ne...
[3 replies] Last: Hi Well I think that the entire program is relevant, since the who... (by Cicek)
Storing data from a dataset
 
I am having a problem reading in data from a dataset and then storing it into an array. This is what...
[3 replies] Last: hehehe... will reply to that post.. (by writetonsharma)
Converting long IP to dotted IP? (solved)
 
Hi Guys, In the code below, how do I convert long IP to dotted notation ? char arr = "19...
[9 replies] Last: cool.. :) (by writetonsharma)
by aasman
vector iterator giving extra output
 
i am just initialising a vector using while and printing the result but its giving extra 0 in the be...
[2 replies] Last: thnx Disch ..i got the error. (by aasman)
by Gaylle
(solved)cant get this program to work
 
hi everyone. i hope y'all r doin great today. i saw this prob somewhere and tried to solve it but be...
[10 replies] Last: a couple of places you have put \n in '\n' , change it to either endl... (by helios)
Does list::pop_front call destructor
 
Hi, Can any one give some idea whether the call to list::pop_front invokes destructor or not. As pe...
[2 replies] Last: If you have a list of pointers-to-something then keep in mind that wha... (by jsmith)
question about _CrtDumpMemoryLeaks( )
 
I have a class that can load a file and put the contents of it into a vector. Its contructor takes i...
[1 reply] : You should place _CrtDumpMemoryLeaks() at the end of your program. It... (by kbw)
by miko87
converting four programs into four functions
 
Here is the problem : Using FUNCTIONS,combine all four given programs into a single program. Ea...
[1 reply] : How can your program be error free if its not returning the correct re... (by buffbill)
File Handling prog explanation
 
Hi all I was trying to understand file handling in Cpp. I came accross the followig code: #inclu...
[3 replies] Last: argv would (by Gumbercules)
diamond number
 
how to draw of diamond of the form A B-B C---C D-----D C---C B-B ...
[4 replies] Last: Something like this does it but its pretty clunky. How do you apply sa... (by buffbill)
create/edit dbc files
 
I've searched on google with no luck. What do I need in order to create and edit dbc files?
[10 replies] Last: Nothing on msdn about creating, editing, and reading .dbc files. (by Gamer101)
Problem with sorting datasets ASAP!
 
I have a problem with my code... First of all, is there a way (in very basic fstream) to store valu...
[13 replies] Last: This is my program, and I'm getting crazy numbers when I comile... ... (by satchmo05)
by cipok
automatic taller machine(atm)
 
can anyone change this program just only use include<stdio.h>...????? #include<stdio.h> #inclu...
[4 replies] Last: thanks eker.. (by cipok)
by Disch
Exceptions: how far do you go?
 
I'm just curious as to how heavily the users here use exceptions and exception handling. I don't us...
[3 replies] Last: Exceptions are pretty much required if you are overloading operators (... (by jsmith)
array overwrite/bad pointer?
 
/*------------------------------------------------------- 1. 3 Algorithms to find the smallest su...
[2 replies] Last: thanks- i changed it to a dynamically allocated array and that solved ... (by dulahdaglace)
stack
 
How do I verify if my compiler stack is growing upward (increasing memory) or below (decreasing memo...
[2 replies] Last: There is no guarantee where a or b will allocated within a function. ... (by kbw)
how to fit range coordinates?
 
Hello, I try to make correspondance between intervals, I m' explain myself: - first file (fil...
[no replies]
problem with return 0;
 
hello.. we need ur help.we faces some problem to run the programme because there is an error at the...
[7 replies] Last: I'm amazed that anyone was able to decipher such a terribly formatted ... (by kempofighter)
March 2009 Pages: 123... 21
  Archived months: [feb2009] [apr2009]

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