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

Function which returns a number and it's suffix
 
Hi I need help in writing a single function which sets a small array (with 2 characters) to the o...
[7 replies] Last: I don't really see any reason for such an arbitrary limit. 10000th is ... (by helios)
"Override" member type in inherited class?
 
Is it possible to "override" a variable type in an inherited class? I have a situation where I have ...
[6 replies] Last: Thanks for all the suggestions. Just using pointers worked like a char... (by ibrewster)
circular linked list - delete ith node
 
I have an examination coming up in the next few weeks and having looked over some of the previous pa...
[5 replies] Last: in that case you'd probably want to remove the while loop, depending o... (by gesangbaer)
Making columns!!!!!!!!!!!!!!!!!!!
 
Hi, I wanna ask you how to make a file that composed of just 2 columns(each column contains nearly...
[5 replies] Last: So you have two blocks of data, each containing 20k lines. Output l... (by jRaskell)
by tition
How do you hide some public members of base class?
 
Hi all, Is there a way to hide only some of the public members of a base class? It so happens tha...
[3 replies] Last: Although it might not be a good idea, I think you can re-declare publi... (by seymore15074)
no member function declared in class
 
Any1 can explain to me what's wrong? Do i make serious mistake in this? If yes, please explain more ...
[7 replies] Last: Post the complete contents of abc.h verbatim. Sounds like an includ... (by jsmith)
by enojb
typedef checking by compiler
 
I just spent a long time isolating a hard to detect bug in my code and am now attempting to preven...
[2 replies] Last: This solution works perfectly. Actually these objects only ever nee... (by enojb)
unsigned intiger is storing signed value !!!
 
machine specs gcc version 3.4.3 SunOS 5.10 Generic_118833-24 sun4v sparc SUNW,Sun-Fire-T200 ----...
[2 replies] Last: usually unsigned n = -1; returns std::numeric_limits<unsigned>::max... (by Bazzy)
by zmalqp
Need to change target directory of a download function
 
I'm very new to c++ (started a few days ago :? so be easy on me) and I put together this function wh...
[1 reply] : fopen("v1.0.exe" opens the file in the current directory. If you wa... (by kbw)
Issue with classes
 
This is the scenario I am getting stuck on I have a class A of Boss1 that has a vector of pointer...
[1 reply] : If you mean that you want to know the number of persons stored in each... (by onur)
Thread-Safe Random Number Generator
 
I've created a threaded application where each thread calls rand() several hundred thousand times a ...
[7 replies] Last: I found George Marsaglia's pRNGs on Google Groups after researching Me... (by Disch)
link list
 
so im trying to make this link list and it keeps telling me that LinkList is a struct any way he...
[18 replies] Last: thanks guestgulkan and kevinchkin you both are very helpful (by CrimsonAngel)
'{' : missing function header (old-style formal list?) (1,2)
 
------ Build started: Project: ET_Hook, Configuration: Release Win32 ------ Compiling... cg_sysca...
[23 replies] Last: its alreaddy fixed. i now got linker problem. i alreaddy made a new t... (by banaana)
Linking problems
 
------ Build started: Project: ET_Hook, Configuration: Release Win32 ------ Linking... cg_syscall...
[1 reply] : Nobody? (by banaana)
by kaploc
C++ program
 
Good evening friends. I have to make a program to send a message between computers. Can you help me?
[1 reply] : I think you will have to start off with socket programming. http:/... (by kevinchkin)
by mykolg
getline(); Error
 
void LList::TitleS(int counting){ //PRE: //POST: string key = "blank";...
[4 replies] Last: cin.ignore(); // Needed in order to allow new input. While th... (by kevinchkin)
sizeof() only works as parameter, not as variable in my function?
 
The following is my code to average the doubles in an array: #include <iostream> using namespace...
[7 replies] Last: It's impossible to know the size of an array, unless it's been created... (by helios)
Compression Code
 
How can you make a program in C that does the following: input string: My schoool. compresed: My s...
[5 replies] Last: @seymore15074 I couldn't agree with you more. A person who has to ... (by kevinchkin)
by vivmen
Empty Class
 
Hi all i want to know where we can use empty classes? or what is use of empty class ? ...
[2 replies] Last: They can be used to differentiate between states (see boost::statechar... (by seymore15074)
Linked-List unable to construct (i assumed)
 
Hello, I am very confused of constructing linked list. The below is my code. I have my header file...
[2 replies] Last: thx for ur help !!!!!! i m stuck for hours not knowning this problem !... (by aisderu)
March 2009 Pages: 1... 1718192021
  Archived months: [feb2009] [apr2009]

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