General C++ Programming - July 2010 (Page 8)

Optimizing operator[]
 
Hi, i create smart pointers class. When i start to test it, i was upset. Because when i calculate th...
[11 replies] Last: [quote=Skillless]i never knew that if a function is in the body of a c... (by m4ster r0shi)
by Jack1
Shared Library Solaris
 
Hi! I tried to create a shared library which is linked to OpenMP (libgomp) on Solaris. But I alwa...
[1 reply] : Aw, hell. Google gives nine results for "relocation illegal when build... (by helios)
by jhapk
Function pointers
 
Hi, this piece of code compiles fine double Multiply(void) {return 1.0;} ; double (*GetFPo...
[16 replies] Last: thanks m4ster r0shi. this is exactly I wanted. (by jhapk)
opengl in stereo
 
Hi, I am using Nvidia quadro with 4gb ddr3 RAM. I amtrying to run opengl in stereo mode but I get an...
[no replies]
by Ackfur
Odd Information Gathering
 
Hi, I need some key information on a few things, I'm trying to compile a program that inputs value...
[no replies]
by Morph
Programming Individually
 
Hi, I want your opinions about one-man programming. What can be done, what can't be done, what ca...
[1 reply] : As long as you spend a lot of time on it, you could do virtually whate... (by Bazzy)
NFL File Generation
 
I am trying to generate a file that will output every possible outcome of an NFL game in this format...
[6 replies] Last: ok i see what happening...it runs through every team on ari0 then it g... (by justinformed)
References in c++
 
int& preinc(int& x) { return ++x; // "return x++;" would have been wrong } preinc(y) = 5; /...
[1 reply] : Because the postfix increment operator results in a temporary. It ret... (by Athar)
List of arrays
 
I just want to make a list of complex elements (arrays). What is wrong in the following code? ...
[11 replies] Last: I also simply LIKE arrays and would like to make code as fast as poss... (by kempofighter)
Sockets Library Design (include placement, etc)
 
Hello, so I'm working on another personal project and I want to write an improved sockets library fo...
[4 replies] Last: Try to avoid including winsock2.h in any header files at all and inclu... (by Athar)
by ibtkm
bignums
 
hi every body how we can store a big num(can't use long long) in the memory without using bignum cl...
[4 replies] Last: for example i want to evaluate 1000 ^ 1000 how we can evaluate it? ... (by Athar)
Problem with Sockets in Boost ASIO
 
I keep on having problems with connecting to sockets. I had the same problem when I was using winsoc...
[no replies]
by m4rtin
Operator Overloading Problem
 
I have inherited a project from VC++ 6.0 and am trying to bring it into .NET. I am having a problem...
[7 replies] Last: It worked becase C style casts do whatever it takes; that's the proble... (by kbw)
Need idea with templates
 
Hi, i created smart pointers class, which can be used as simple pointer or like pointer to pointer. ...
[7 replies] Last: It appears from the usage above that OP is creating a smart pointer to... (by jsmith)
by Tim
C++ Consuming Web Services
 
Hi, I've not got any experience in developing C++ but I'm trying to help a developer call a web s...
[7 replies] Last: Thanks for your feedback guys, I've fed this back to the C++ developer... (by Tim)
Error on runtime
 
I get runtime error when I run the application Thread ^readThread = gcnew Thread(gcnew System::Th...
[no replies]
inlude files and linking
 
If foo.dll contains fooFn() and fooFn() is defined in fooHeader.h, do I need to link against the lib...
[1 reply] : It depends. If the function is not a virtual member of a class or a t... (by kbw)
irc bot
 
i must have looked at 50 different websites but i can't find any decent help when it comes to making...
[8 replies] Last: I agree with Athar. If you have some particular question, we'll answer... (by helios)
STRING & WSTRING, char and wchar_t
 
I am new to c++, and I am trying to convert a std::string to a std::wstring I am using this funct...
[2 replies] Last: The problem is that there's no overload of operator<<() that takes a w... (by helios)
Assignment operator overloading trouble
 
Alright so I just need someone to tell me if I'm coding this assignment operator correctly (=). It'...
[9 replies] Last: Oooooooh alright. So ec::Sprite NewNewSprite; NewNewSprite = New... (by closed account Sy0XoG1T)
July 2010 Pages: 1... 678910... 20
  Archived months: [jun2010] [aug2010]

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