General C++ Programming - October 2010 (Page 13)

How to delete an Object ?
 
Hi Dear, I want to reinitialize (delete previous object and its data) on each iteration. I am no...
[6 replies] Last: Then they're getting the memory from their previous instance. You need... (by LB)
sourec of basic c programmming
 
hiiiiiiiiiii i m new to c programming.Can anyone please suggest some good sources of learning basic...
[2 replies] Last: Here are some more... http://www.cplusplus.com/forum/beginner/ http:... (by AlphaBravo)
I am trying to track down errors
 
This inheritance problem compiles and runs, however, the output is not right and I am having a hard ...
[10 replies] Last: salam hallux today I go through your program, actually which you... (by BushraSQU)
AI making (1,2)
 
Since everyone hated the idea of the last person who talked about this subject i propose this: do be...
[35 replies] Last: For anyone who hasn't already read this.. It's a good read. http:/... (by closed account 3TkL1hU5)
by torp09
stock
 
// Date: October 5, 2010 // Section: CS 1044: #11348 // Compiler: Visual C++ 2008 Express Edit...
[3 replies] Last: Don't loop on eof(), because that will not be false until after you ha... (by Zhuge)
Polymorphism/virtual function not working here...?
 
I have a class "Product" which is inherited by two sub-classes, "Customisable" and "Perishable". All...
[5 replies] Last: Disch: it makes perfect sense now. Thanks so much for the detailed exp... (by Swiftslide)
What is wrong with the program?
 
Hi, wrote a program that reads matrices m*n. It reads numbers no bigger than 3,. The program runs bu...
[no replies]
by srilu
lists in vector
 
Hi, I have a requirement like this. I need to have an array of pointers to linked lists. If for ex...
[no replies]
declaring objects
 
how do u declare objects
[1 reply] : How much are you offering for someone to do this? (by Zhuge)
How to Get Rid Main App leaving DLL?
 
How does one get rid of (make exit) the Main App that loaded the DLL and created a hook? I am usi...
[7 replies] Last: IIRC, a global system hook does not need to have your program running ... (by Duthomhas)
Creating a Dynamic Library/Framework
 
Good Evening, Recently while using SQLite I noticed that they supplied an amalgamation of their e...
[1 reply] : You only need to do this with compilers and linkers that do not provid... (by PanGalactic)
Case statements
 
As part of my AS level in Computing, I am currently learning about case statements. Been given some ...
[2 replies] Last: Ahh didn't realise they can only take one value! I think our teacher w... (by closed account SEbf92yv)
Designing Classes
 
I keep getting compiler errors. Could anyone help please? Thanks This is the error message: F:...
[3 replies] Last: Thanks Zhuge and Galik, I changed the code according to your suggestio... (by yingkang)
Question
 
Hi, please can any one send me c/c++ & Data Structure interview questions. i have one to one final...
[3 replies] Last: sorry broth I do not have idea, I hope the members help you (by BushraSQU)
operator overloading
 
in order to overload << or >> operator, why it is good to use non-member functions rather than membe...
[3 replies] Last: +1 to coder777 (by Disch)
multi vs single dimensional array
 
Hi all, Has anyone compared efficiency of accessing fixed size multidimensional array vs single d...
[2 replies] Last: The efficiency should largely be the same, so long as width is a compi... (by jsmith)
How to get "std:cin" to block
 
Hello, I just wrote a small test program to prompt user to enter a number (int) with "std::cin", ...
[2 replies] Last: You need to post the test program. please use tags: http://www.... (by Galik)
Parent fields not accessible from initializer list
 
I'm trying to use a constructor's initializer list to initialize a public field in the superclass, l...
[5 replies] Last: You say the reason is to protect unauthorized dinking, but a subclass ... (by Trevor Harmon)
Declared objects for a class
 
Hi. I create a class that represents huge numbers or very small ones. How can i create a constant ...
[3 replies] Last: Whatever, it was an example If you can create a non-constant object (... (by Bazzy)
inconsistent behavior with istream::ignore
 
What does the following program print for the value of ch if the input is: 45 kitten what about if ...
[6 replies] Last: it does seem like that. I would like to see the implementation but I ... (by keepjumpin)
October 2010 Pages: 1... 1112131415... 23
  Archived months: [sep2010] [nov2010]

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