General C++ Programming - August 2008 (Page 8)

header file problems
 
Hi, I have a question. When I try to do this.. //--- socket.h #include "player.h" class Soc...
[2 replies] Last: Thank you very much for the reply, it helped a lot! (by fireVein)
by smh
can someone give me a brief explanation of a do, while command?
 
im new to c++, trying to write a very simple program, i think it could use some kind of a loop? i r...
[2 replies] Last: alrite i'll check that out thanks (by smh)
[STL]find the complement of a subset of a Point Set
 
Problem: I've 2 vectors of Points3d, where 'd' stay for double type; The second vector is a sub-se...
[3 replies] Last: sort (points, points.end(), sort_by_modulo); That should be points.be... (by exception)
[STL]find the big number betweand 4 num
 
Problem: I've 4 abs numbers (double) and i want to know what is the big. In STL there is already a ...
[1 reply] : There is a function to do that somewhere on this page http://www.cplu... (by Duthomhas)
by donto
cannot assign value to std::string
 
Sory, i cant read my previous reply, so i repost this message. Hi, I have problem. Take a look...
[2 replies] Last: test (by donto)
[Speed Optimization] Evaluating user-defined expressions at runtime
 
Greetings. In a program the user may provide strings which contain arithmetic expressions which may...
[4 replies] Last: Hm, what would be the requirements for such a library that you could u... (by exception)
by codacx
cant figure out how to use parallell arrays for this program
 
Hi, im trying to write a program that askes a user to enter in test grades and than checks them to s...
[1 reply] : if i understood what "parallell arrays" are corectly this is the solut... (by hamsterman)
by smh
new to c++, have an error i cannot figure out?
 
alrite i just started learning c++ 3 days ago and i decided to see what i cud put together with the ...
[2 replies] Last: This is a double post of a thread, there's another (almost identical) ... (by toshiro)
Array and files
 
Hi again, this is the last part of my program that is confusing me (Im probably over looking somethi...
[1 reply] : Hi, just want to confirm what you are trying to do. I think you are... (by Faldrax)
AlcazarOnline Development
 
www.alcazaronline.com General Information: AlcazarOnline is a game being planned for developme...
[4 replies] Last: Please do not complain about any factors of the speed or features wit... (by firedraco)
by g0dwyn
can't access member functions of const *class
 
Hey all, So I've got a const pointer to a class, as follows: const Message *msg = new Message...
[5 replies] Last: Oh, ok. I just though you wanted a constant pointer instead of a point... (by Mitsakos)
[STL Exception Safety] Nothrow guarantee for std::copy in special cases?
 
A class holds several Ts in a vector<T*>. A file loading routine loads new Ts which shall be added t...
[3 replies] Last: Yeah, I always feel extra stupid when the obvious knocks me upside the... (by Duthomhas)
integer to std::string
 
Hi guys, I am working on a project and I am having difficulty getting the following to work.. ...
[4 replies] Last: If it helps, there is a function itoa: char * itoa ( int value, ch... (by personjerry)
media playback and editing - crossplatform
 
Hi I am developing a cross platform video editing suite. It has to run on both windows and mac. I a...
[9 replies] Last: I like Open Source, I use Open Source, and the company I work for is h... (by Zaita)
Files in C++
 
Hello everyone, I have been looking around here for awhile and on the internet but cant seem to find...
[2 replies] Last: Thank you so much, I made the changes(especially the '.c_str()' one an... (by tank1407)
by donto
cannot assign value to std::string
 
Hi, I have problem. Take a look at my code: struct myStruct{ std::string sTest; bool bGrab...
[2 replies] Last: There is nothing wrong with using both malloc () and new in the sam... (by Duthomhas)
by codacx
syntax question != to >something??
 
Hi, i have a question how would you say something is not equal to more or less than something exampl...
[5 replies] Last: That is a lot of if's lol. You could also use toupper(char) so it... (by mikeb570)
thanks for guidance
 
thanks
[11 replies] Last: not quite.. you don't want to count 1 to 1000 inside the tick function... (by Aakanaar)
Nested Function Pointer Syntax
 
f0(..., (f1)( ..., (f2)(...), ...), ... ) I'm totally lost on some function pointer syntax. I'm w...
[3 replies] Last: Aha, seems there's a built in compiler restriction to such a call, som... (by jxramos)
by jmc
speed optimalization for bitcount
 
I have a sparse bitcount version and wanted to make an optimalization in inline assembly. (sparse...
[no replies]
August 2008 Pages: 1... 6789
  Archived months: [jul2008] [sep2008]

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