General C++ Programming - January 2010 (Page 17)

Global variables in MPI c++
 
Hello, I am writing an mpi code. I want one variable to be writable and readable by all threads. ...
[1 reply] : This is not really a "General C++ Programming" question. While you ma... (by PanGalactic)
by vurt
Problems with a vector of pointers
 
I'm working on my first ray tracer and I've run into a pretty confusing problem while trying to impl...
[1 reply] : Erm... I figured it out, the function call was missing a & in front of... (by vurt)
Class inside templated class
 
template<typename T> CLinkedListBase<T>::Node* CLinkedListBase<T>::Node::add(T i) // This is the...
[2 replies] Last: Thanks, using typename fixed it! Yeah, I noticed that little glitch... (by demosthenes2k8)
API and Library difference
 
anyone here really knows the difference between this two? i've been googling for a while but still ...
[6 replies] Last: i guess no one is interested anymore. i'll mark this one as solved. (by blackcoder41)
by Alan
quick SetPixel() example?
 
I've looked everywhere but cannot seem to find a good example usage of SetPixel() ... could someone...
[6 replies] Last: It's worth noting that: 1) SetPixelV is faster than SetPixel 2)... (by Disch)
size of dynamic memory
 
How do I get the number of elements from a pointer like this: MyClass *mc = new (nothrow) MyClass ...
[3 replies] Last: For this reason standard library provides std::vector: http://www.cplu... (by Bazzy)
Pre-processor directives problem
 
Hi, I'm trying to use this code to prevent including the same header file more than once: #ifnd...
[2 replies] Last: Wow, thanks for the link and help/info! (by magnificence7)
by R0mai
boost spirit lexer : outdated tutorial?
 
I tried compiling the boost.spirit.lex example I found on http://www.boost.org/doc/libs/1_41_0/lib...
[2 replies] Last: For some reason I was sure I used 1.41. Turns out I only downloaded it... (by R0mai)
C++ Windows forms App Password Protection?
 
Hey, I'm new to C++ and i've just made a Windows form application. I've inseted a Text box to it but...
[no replies]
Dynamic memory with my class
 
Hi, I'm trying to make something like this: MyClass mc = new MyClass ; 'size' here is an int...
[2 replies] Last: Ok nvm, I found out that I needed to make the default constructor, wic... (by magnificence7)
C Prepocessor hard to understand and very confused.
 
I'm having a REALLY hard time understanding preprocessors. Now I know the situation where you wa...
[11 replies] Last: Hey thanks , I didn't know that. :P Know I can code normal again! I a... (by magnificence7)
by NGen
std::allocator Replacement
 
When I was trying to figure out how to use the std::allocator class, I remember coming across a post...
[5 replies] Last: It probably used that, but I remember a specific library being mention... (by NGen)
January 2010 Pages: 1... 151617
  Archived months: [dec2009] [feb2010]

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