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

by tas10
Problem with Program, input/output
 
This is my input assigned: // ID Name Address St Zip Majr Minr Rk QCA AltQCA Crd Hrs 135792468 W...
[3 replies] Last: Yes. http://www.cplusplus.com/forum/general/17771/ http://www.cplusp... (by kempofighter)
Trouble passing a map by reference
 
Hello all, I'm having a problem passing a map by reference; the compiler seems to want to treat i...
[3 replies] Last: Thanks for the quick responses! The const_iterator suggestion cover... (by andersongw1)
I am really struggling with calculator assignment
 
Hey im having problems with my program. I am not exactly sure what the problem is i can successfull...
[5 replies] Last: Thank you i am not getting the run time error any more because of that... (by boaschri)
C++ Destructors
 
Are destructors in a class only required if you specifically allocate memory using new inside the cl...
[2 replies] Last: Thanks (by dalbir4444)
below cant run
 
----------------
[15 replies] Last: anyway to use to bool statement to verify the match of left and right ... (by nanochan1)
Accessing C# from C++ COM client
 
Hi, Below's the COM client written in native C++. It does two things: 1) Get's updated value of ...
[1 reply] : Program::CXLStoXML.ConvertToXML(); ConvertToXML is probably static s... (by coder777)
Problem with Array with VECTOR
 
targetver.h #include <iostream> #include <vector> using namespace std; #include "Array.h" ...
[4 replies] Last: Your Array class doesn't do anything. It has one member, a pointer ... (by kbw)
The clockwork of console/file-streams?
 
How might I program something such as the standard streaming features for Input/Output in console wi...
[2 replies] Last: It's the same for Windows. The native calls are ReadFile/WriteFile/Cr... (by kbw)
by Giules
sorting a vector of pointer to object
 
Hi! I have a problem writing my code and I did not find any solution yet.. I need to sort a vector...
[3 replies] Last: If you want to use it in another translation unit, you just need to re... (by Athar)
Problem about queue...
 
Please write the program “Car counting”. The program should create of queue of cars with a diffe...
[1 reply] : success (1) No. Failure. (by rapidcoder)
by Skynet
Word Array
 
I was wondering if you all could help me get ideas on how to work a word array. I need helping on bu...
[4 replies] Last: vector is such an "array". The concept is called dynamic array. (by Athar)
SDL vs SFML
 
So I just recently dove head first in to the art of SDL. More than anything, my reason for choosing ...
[8 replies] Last: Well, SDL has faster 2D animation and graphics for high-speed action ... (by Disch)
can you template a single variable?
 
i would like to have a non global, template variable to use for input in 'main' only i have a s...
[8 replies] Last: It's to keep track of the variable type. (by PiMaster)
SOLVED.
 
SOLVED.
[5 replies] Last: the problem is here: string title ; //wrong string author ; //wrong... (by rocketboy9000)
by Zacky1
1 MAJOR error that keeps me struggling!!
 
Here is a bit of code that will give me the error: "no match for 'operator==' in 'addphoto == true' ...
[2 replies] Last: Also //if(useruploadchoise=="A","a") if(useruploadchoise=="A" or use... (by ne555)
by Molson
C function overloading
 
Hi, is there a way to overload a function in C. Like this: void func(); void func(int i);...
[1 reply] : No. C does not allow function overloading. You can do that in C++ ... (by Disch)
by JoR
istream >> int empty input
 
When I use the overloaded right shift operator of istream on an integer like in: int i; std::ci...
[2 replies] Last: kthx (by JoR)
error vs exception : design problem
 
Hi everyone, I'm actually trying to solve the question of error vs exception. In my functions ...
[1 reply] : Generally, when building a library it is not a good idea to leak excep... (by jsmith)
XOR encryption problem
 
Ok, For some reason when I go to encrypt a specific string it just disappears completely. any hel...
[5 replies] Last: I ended up deleting this encryption and used something completely diff... (by krazyito65)
November 2010 Pages: 1... 89101112... 21
  Archived months: [oct2010] [dec2010]

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