General C++ Programming - November 2010 (Page 6)

Allocate Space for unknow class
 
hi all, in my project came out a problem: for the sake of avoiding mem defragments and space insurf...
[4 replies] Last: How do you know if 1024 bytes is large enough for a Foo? And if it'... (by kbw)
by Adidas
Reading from TXT's files 1 by 1
 
my program needs to read a txt file, download it's data to an object and move on to the next txt fil...
[3 replies] Last: Thank you my brother (by Adidas)
newbie here. if-else, while, loop. thanks!
 
Problem Statement: Design a program that will allow the user to select from the following : ...
[7 replies] Last: why is it when you select the figures then you choose the rectangle ou... (by elleizarg03)
Pirate ship game question
 
Ok guys so i have a project to do for my c++ class and its supposed to be about two ships (one the p...
[4 replies] Last: hi again, first the error from the extra asterisk is caused by the ... (by shredded)
Templates & Copy Constructors
 
Hey all. Having some trouble with this: #ifndef Matrix_H_INCLUDED #define Matrix_H_INCLUDED ...
[2 replies] Last: Header files should always have include guards. (by jsmith)
by kaurk
Comments on my Factory Pattern
 
Hi my name is Kaur, I have studied c++ for about 1.5 months. I just finished experimenting with fact...
[6 replies] Last: It just seems over-engineeered to me. I have to agree. I have... (by sohguanh)
COM client in C++ AND COM server in C#
 
Below is the code for COM Client in C++, which calls COM server written in C# below. I have copied a...
[no replies]
deallocate memory
 
Hello, I have the function: float **Array2D_Float( int nRows, int nCols) { float **...
[3 replies] Last: sorry I used spaces instead of tabs Spaces are better anyway ;P ... (by Disch)
Write a program in c++ description give in below
 
Write a program in C++ to minize the states of FSA(finite state Of Automata) i)Your input of your p...
[2 replies] Last: hi, I am assuming you only want to get the numbers from the file h... (by shredded)
Thoughts on local macro names
 
This is something I've considered for a while, without coming to any sure conclusion. When in hea...
[9 replies] Last: Hmm, I had tried that, but the all-caps convention got the best of me.... (by Duthomhas)
Sorting strings problem
 
I have been having major problems getting my Sort methods to work. I have scoured the cplusplus form...
[3 replies] Last: I fixed it. Turns out I accidentally had "i-1" when it should have bee... (by warthogmaster)
Football points proggy
 
Hello, I have a friend at work, who organises our football draw each week, he hands out a sheet for ...
[4 replies] Last: Many thanks for your help Null, it might be enough to shift the rust f... (by Tappit333)
by Adidas
Reading specific data from TXT file
 
I need to know how 4 god sake I mannage to read specific data from txt file. for example if in my...
[11 replies] Last: your the king ! It works great! (by Adidas)
Structures vs classes
 
I would like to know what is the difference in usage of structures and classes in c++..i mean given ...
[1 reply] : There is no real difference except for this: Class have their standar... (by Kyon)
fucntion object to check the value of a map element
 
In a book (Sec 6.6.5 of Jossoutis' book on the Standard Library), I find this code: /*functio...
[4 replies] Last: OK, thanks, understand it now. (by heatkernel)
No Matching Function Call (dealing with addressing)
 
Hi. I am trying to compile this program but I am getting the following compilation error several ti...
[2 replies] Last: That did the trick, I never looked at it ilke that. Thank you for the... (by cwbWakeRider)
bin tree
 
BEGIN highestAmount ( pNode) DEFINE wordBST: pointer of RECORD wordNode; DEFINE RECORD Letter...
[1 reply] : anyone ? (by nanochan1)
by adn258
Converter Program Back To The Start Of The Switch How to?
 
Introduction: Hello everyone, My name is Austin I am new to these forums, and relatively new to c++...
[2 replies] Last: Sorry about not using the Code tag will certainly do that next time :)... (by adn258)
call redefined virtual function in parent constructor
 
Hi, I have following problem : I had implemented an algorithm, that uses in its constructor a virtua...
[4 replies] Last: One possibility is to make a factory. The factory would have to call ... (by jsmith)
November 2010 Pages: 1... 45678... 21
  Archived months: [oct2010] [dec2010]

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