General C++ Programming - January 2011 (Page 20)

Container for abstract class objects
 
Hello, I would appreciate some tips regarding a design of class hierarchies and abstract classes. ...
[2 replies] Last: Take a look at the Boost Function library. http://www.boost.org/doc/l... (by PanGalactic)
by okaitt
Closed Dll usage to control a module
 
Hi there, I'm having trouble using a dll that was made to control a module. The producer just sent ...
[6 replies] Last: Just found it; Project>"Project Name" Properties In the lateral tab:... (by okaitt)
restricting overriding of methods
 
is c++ has something like final keyword so to stop a method or class to be overriden in derived clas...
[1 reply] : http://www2.research.att.com/~bs/bs_faq2.html#final (by ne555)
by saicam
File name extracting
 
How can I extract a file name and save it on a string?.
[5 replies] Last: A better way is to use stat() as that accesses the file's metadata and... (by kbw)
by kuroro
Application Path That Works on Both Windows/Unix
 
Hi Guys! I just want to ask a simple question about getting the application path in C++ but will...
[4 replies] Last: No, it works elsewhere too and probably correctly. I was pointing out... (by kbw)
Leaving the implementation in the header file
 
I know this is a bad thing to do but for years, this was my practice. I always created a class and c...
[2 replies] Last: 1. using global variables. You could have make it worse by nami... (by rapidcoder)
Why am I getting error C2106: '=' : left operand must be l-value
 
Guys, I know this would indicate that I am too silly.. because I think I am missing some basic knowl...
[2 replies] Last: o Ok.. thanks for the reply.. I Understood. (by manintiet)
by rwan
Inline member functions
 
Hi all, I'm having a strange problem with inline which I hope someone can explain to me. I hav...
[3 replies] Last: Hi sohguanh and jimc, Thank you for your replies and the explanat... (by rwan)
Guarantees about the encoding of 'A'
 
EDIT: Please see rephrased question in next post! Am I right that the C++ standard (C++03) does n...
[5 replies] Last: The answer to all your questions in posts 2 and the last is, "yes." ... (by Duthomhas)
Displaying console output on button_click
 
Hi, I've been looking everywhere, and can't find the answer to this one. I'm making a program and ...
[1 reply] : find how to catch a button hit event. find how to get an integer from... (by hamsterman)
PLZZZ hlep C++ problem
 
hi everyone in C++ i have 2 question i didnt know how to solve it so plzzz help:? the firs...
[3 replies] Last: http://www.cplusplus.com/forum/general/33128/ (by ne555)
graphics in turbo c++
 
i wanna to make a graphics program in turbo c++...i have included all header files ....but still it ...
[4 replies] Last: Excuse me... Pakistani University. (by Return 0)
How to use widen()
 
I have a hard time figuring out the idea behind the narrow() and widen() functions. In particula...
[3 replies] Last: Still, I'd really like to know what is the intention behind widen(). I... (by kspangsege)
memory leak detection
 
I want to detect memory leaks and print them to the output pane in visual studio 2010, I was trying ...
[2 replies] Last: yeah we can, that's not really what I was looking for though I just wa... (by quirkyusername)
get size of any type array
 
Does anyone know how to find the length of an arbitrary type of array? All I have found online were ...
[9 replies] Last: It means that v is a reference . (by Duthomhas)
Iterator and STL question
 
I have something like the following code: std::advance(this->mSprites.begin(), std::distance(oth...
[6 replies] Last: Ok, there were 4 of these errors total, and I fixed the top two (other... (by firedraco)
Programming Conventions
 
I recently took a C class, and one of my TAs mentioned that in creating list structures in C, the it...
[1 reply] : It sounds like he is talking about making a linked list, not structure... (by firedraco)
by akramm
what is probelem in this source ?
 
hello what is probelem in this source #include <iostream> #include <string> int main() { ...
[1 reply] : Change endl to std::endl or add using namespace std; on line 3. ... (by Null)
Plug Ins and such
 
I'm trying to set up a type of plug-in system for a program I'm writing. My idea is to have the plug...
[2 replies] Last: Sorry I'm late in responding, but thank you very much for your help. T... (by shadowayex)
c++ assignment part 2
 
im not too good wiv c++ but i need help wiv an asssignment due in very soon...but i need help with a...
[1 reply] : What is your question ? (by lloydchristmas759)
January 2011 Pages: 1... 1819202122... 24
  Archived months: [dec2010] [feb2011]

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