General C++ Programming - May 2009 (Page 16)

by upo
Problem in the input
 
Hey there guys, I am facing a problem I have successfully implemented my c++ code to manipulate a s...
[2 replies] Last: duplicate!! anyway.. you can use getline() function for this pr... (by writetonsharma)
Default Warning Level in Visual C++ 2008
 
Is there any way to set a default warning level for all projects in Visual C++ 2008? I enjoy using ...
[1 reply] : see if there is an option to set warning in tool/options. these option... (by writetonsharma)
XY Plotter Read File
 
hi there, i do hope someone can help with my delima. yes this is homeowork but i am 80% through my p...
[3 replies] Last: ah just realised tha by cutting it short it doesnt work, here is my fu... (by weary01)
File Manipulation (for media player)
 
Hello, I have a few questions about file manipulation. I'm just starting to learn GTK+ and hav...
[3 replies] Last: Anyway, That's not the big thing I think. I need to be able t... (by enduser000)
psuedocode conversion
 
Im trying to convert the following psuedocode to regular C++ code: function heapSort(a, count) i...
[2 replies] Last: ok,got that.but would it actually sort numbers? (by kakashi316)
by danmar
vector erase - invalidated iterator
 
I am confused by the text on the page: http://www.cplusplus.com/reference/stl/vector/erase/ It s...
[2 replies] Last: Thank you! (by danmar)
Float numbers precission
 
double c=4.345238; cout<<c; //4.34524 It write 4.34524 but i need the upper number to write ...
[1 reply] : http://www.cplusplus.com/reference/iostream/manipulators/setprecision/ (by helios)
static function within static inner class
 
Code 1 class Car { public: Car() { plate = "TestPlate"; }; void RegPlate() { plate ...
[1 reply] : If all properties of a class are static, then all instances of the cla... (by helios)
C=A+B the sum of arrays
 
I have an array matrix A 5x5 and I have to use three matrixes to initialize A array. all data has to...
[2 replies] Last: ok... it wasn't exactly right, but the problem is that I don't have to... (by vikdanrom)
A challenge for the Advanced
 
This in no way is me asking for help on homework or whatever, just for the record! You don't even ha...
[11 replies] Last: The whole discussion is very interesting. Being a student i was not k... (by mcleano)
by dkaip
a unicode char problem
 
Hello all. I have a char in unicode at place 7990 (and because unicode is idepended from locale?). ...
[11 replies] Last: If that's my routine, you're using it improperly. WChar_to_UTF8() ret... (by dkaip)
TROUBLE WITH STREAMING DATA INTO AN ARRAY OF STRUCTS
 
I am having a problem connecting my external file with a stream...I have only one error for the enti...
[2 replies] Last: P.S - I think NOT being able to copy construct streams is a standard t... (by guestgulkan)
Hash table problem
 
Hello all, I am trying to solve this question and I've pasted my solution below. I want to know p...
[13 replies] Last: Good to know that. Like you mentioned, the runtime of the program you ... (by n4nature)
OOP
 
I totally don't get Object-oriented programming. Can anyone explain it to me or give me some help...
[5 replies] Last: Don't worry if you don't understand it. I've been at it for years and ... (by DaveMortimer)
Sockets and threads: problem with recv
 
Hi forum! I'm quite new to this sockets and threads stuff, so excuse me in advance if this is dum...
[17 replies] Last: Hi flyontheweb. I was thinking about your problem within the contex... (by DaveMortimer)
by sdbala
Data Tables in C++
 
I am facing a desperate situation where i need to keep data of all the records of a table. e.g ( sel...
[8 replies] Last: Then use several classes, each with the required number of instances. ... (by DaveMortimer)
Infinite Loop
 
The following code gets stuck in an infinite loop and i can't figure out where: the first code is th...
[2 replies] Last: Change your loop in main to do{ s.push(input); }while (!back... (by Hammurabi)
OCCI implementation problem
 
Hi All, Iam new to C++. Just read the theory and have done some average level programs. Currently...
[no replies]
Does class inherit correctly class "Person"
 
I need to create 4 classes: 1 - Describe a person 2 - Describe a director 3 - Describe a actor 4...
[7 replies] Last: Here is a minimal statement of requirements for your problem... A ... (by DaveMortimer)
Crashes in C++ Strings
 
I have seen crashes in C++ strings(STL), why it always dumps in C++ strings?? Can any one answer th...
[5 replies] Last: operator does not throw but the at member function does. With regard... (by kempofighter)
May 2009 Pages: 1... 14151617
  Archived months: [apr2009] [jun2009]

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