General C++ Programming - June 2009 (Page 6)

composing a filename using an int variable
 
I would like to create a file to be written to, using a given number inside the filename (something ...
[5 replies] Last: I suspected strongly it was intentional :) Popular culture is a we... (by tition)
fread reads wrong data in Multithreaded app.
 
Hi, My application continuously reads and then writes the same data into a .txt file.I use fread an...
[no replies]
Virtual destrucktor in Adapter patterns
 
Code1 CTaxi.h #include<iostream> class CTaxi { public: CTaxi(); ~CTaxi...
[8 replies] Last: np... wenn noch weitere fragen dazu hast... mail an: question@incub... (by Incubbus)
by izyani
MySQL error code : 1130
 
Hi all, I'm currently developing a C++ code to integrate with MySQL. I can compile my code. ...
[no replies]
by nanger
where is the return value of functions stored?
 
e.g std::getline(typeFile, line2) const char *p = line.c_str(); where is the value of lin...
[5 replies] Last: Yoinks! So I did! Why can't people get their own threads? nan... (by Duthomhas)
VC++ Custom Build Rules
 
Hi, I'm new here and a beginner in C++. But i'm presently working on a project that requires me to ...
[no replies]
by nanger
about STL main memory release
 
if I 'new' something,I need to 'delete' it when it becomes of no use in order to release main memor...
[2 replies] Last: Good thing I understand nub. I think he means that if we do something ... (by closed account S6k9GNh0)
Passing function pointers to an objects constructor
 
OK, I want to make a pointer to a memberfunction of a class one of the arguments in a class's constr...
[1 reply] : struct A{ return_type function(parameter_type); }; typedef re... (by helios)
by Deimos
Issue with headers
 
Hey everyone, I ran into a little problem while programming my little games. I have two classes, ...
[4 replies] Last: Obligatory link: http://cplusplus.com/forum/articles/10627/ See ... (by Disch)
virtual function = 0;
 
waht is this means? for example: class CFahrstil { public: virtual void fahren() = 0...
[2 replies] Last: Thanks! (by hjtuhh2009)
Thread passing execution?
 
Hey... got a short question about threading... when i want a thread to wait for a particular t...
[2 replies] Last: y, got it http://msdn.microsoft.com/en-us/library/ms682105(VS.85).aspx... (by Incubbus)
by jraohe
Copy constructor and initialization of the base of a derived class
 
Hello, I don't understand why the copy constructor of the base doesn't get called in this example...
[14 replies] Last: What is the point of this exercise?? (by guestgulkan)
by kdub
IV visibility issue with inherited inner classes
 
Hi, I'm receiving a compiler error from the following code. In OuterB::InnerB::foo, the compiler...
[4 replies] Last: Thanks for your response. I'm glad there is a language-level decision... (by kdub)
pointer vs reffrance
 
which one is better and why ?
[3 replies] Last: For memory management you should use pointers, you can't use reference... (by Bazzy)
how do i find the average amt by traversing the tree only once
 
SOLVED
[no replies]
C++ with mysql (1,2)
 
Dear all, I am trying to access a mysql DB by C++. I have found the following step to add mysql.h...
[20 replies] Last: I have an updated brother of DEVC++ called wxDev-C++ - but I think th... (by guestgulkan)
Template member function of NON template class
 
I am using visual studio VC6.0 as the compiler for below programme and getting a strange error wr...
[5 replies] Last: It is a problem in VC 6.0 Yes - he needs to update his compiler as s... (by guestgulkan)
lambda Expressions
 
So this is the next big thing for C++. I've been reading up on it today - that syntax is UGLY and p...
[2 replies] Last: The Boost lambda syntax was ugly. The syntax in the C++ standard is q... (by PanGalactic)
how do I write into many files?
 
Hello everybody, I'm having problem writing into many files that Ive created.I have successfull...
[1 reply] : >>.>> Not sure what you did. In order to do this is simple. http://c... (by closed account S6k9GNh0)
alias to a pointer such that it the alias is read only
 
Hi, I am a new user. I was wondering if there is a way to have a alias to a pointer such that the...
[13 replies] Last: Hi guestgulkan, Thank you so much for testing it on both the compil... (by muthuveerappan)
June 2009 Pages: 1... 45678... 13
  Archived months: [may2009] [jul2009]

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