General C++ Programming - September 2010 (Page 18)

by yuropa
Threads
 
What is the maxium number of threads a program can run? Or what is the maxium number of threads a pr...
[1 reply] : There should never be more threads doing actual work (that is, activel... (by helios)
rounding up for decimals
 
Hi I can't find the solution for this problem I am having. if 10 items can fit in a box and we ha...
[2 replies] Last: Duoas is referring you to the functions ceil() and floor().........I t... (by buffbill)
by effizy
Looping to sort!
 
Sorry guys, am back again with another noob question and hoping someone is nice enough to help point...
[1 reply] : If you cannot use a container in which to store the names and then sor... (by buffbill)
Non Graphic Games
 
i want a non graphic name can sum1 gimi a link ?
[6 replies] Last: http://www.cplusplus.com/forum/general/28197/#msg151716 whaha i've ... (by kaduuk)
virtual table
 
Hi , Can everyone explain in detail, how does the virtual inheritance work internally. I tried to f...
[1 reply] : It's somewhat compiler dependent but it's explained here: http://en.w... (by R0mai)
Detect precision loss
 
Hello. Is there any way to detect if there would be precission loss when converting a double to flo...
[2 replies] Last: Precision loss is probable for numbers with only 1 digit. Even withou... (by Disch)
some problem with boost::bind.
 
The sample code is like this: #include <boost/bind.hpp> #include <boost/system/error_code.hpp> ...
[1 reply] : By the way, The boost version I use is boost 1.4.3 (by s51563946)
memcpy
 
pair<char*,char*> tokenize_func(const char* ptr) { size_t len = strlen(ptr); pair<char*,char*>...
[9 replies] Last: When you put a return var; instruction in your code, you are telling... (by Galik)
Do istream::seekg() and ostream::seekp () count from the same place?
 
I've been trying to deubug a program which saves information in a file. I realized that the bug appe...
[2 replies] Last: Can you post the code? (by Null)
by kiwi79
Little assistance please.
 
Ok here is my code: http://pastebin.com/pXYJAnkx It compiles with no problem, but when it reaches t...
[1 reply] : solved. (by kiwi79)
Creating a new Vector from Two Vectors
 
I'm trying to create a new vector by combining one vector to another vector. The new vector may only...
[8 replies] Last: > Well actually you don't know how big the result vector is so its bes... (by mrdahjr)
by Chenko
Problem with <stack>
 
Hello all I'm new for this forum, and because this I don't know is this the right place to post m...
[5 replies] Last: Thanks again, R0mai. I really appreciate it. (by Chenko)
by kiwi79
Bitten off more than i can chew, but ima keep chewing.
 
Ok so as my first main project i want to create a Text Based RPG. Ive done this before but never as ...
[2 replies] Last: If you want to be creative, use hashing functions and interface it wit... (by Phantom139)
by balga4
problem with method...
 
Hi people I've problem with method which me calls the error error C3867 'mojetrida::udelej': functio...
[2 replies] Last: thank you... Now It's ok but output depicts gook and error message st... (by balga4)
by kek
source file
 
is it possible to have two different source files under thesame project name? thanks
[3 replies] Last: You're not supposed to have two main() definitions. ONE .cpp file w... (by LB)
by onako
Faster squaring of a vector of floats
 
I wonder whether there is a faster way (faster then the obvious one a=a*a) to square the content of ...
[3 replies] Last: This seems like a fairly simple thing to do so I do not understand why... (by kempofighter)
What's -0?
 
I thought about this a few days ago, but i only just got around to asking. If the first bit of a sig...
[5 replies] Last: Floating point format has -0 and +0 ;-) (by boolivar)
Whom are class private fields hidden from?
 
Given two class declaration examples. The problem is to count field X. How many are X-s in the fi...
[3 replies] Last: Ok. Thanks. I think a prior to the Turbo Pascal is telling the truth w... (by Sinkureness)
types of cookies
 
How many types of cookies are available in asp?
[no replies]
by yuropa
C++ Game Programming (Roller Coaster Tycoon)
 
Hello everyone!! I am not a very experience programmer and I don’t know DirectX/OpenGl or Win32 y...
[11 replies] Last: @helios, That's what I'm saying. Although code correctness is more im... (by chrisname)
September 2010 Pages: 1... 1617181920
  Archived months: [aug2010] [oct2010]

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