General C++ Programming - May 2010 (Page 13)

by Gio
C game engine support on C++
 
Hi, I have a relatively simple question: can you use a C game engine with a C++ IDE and the C++ Lan...
[13 replies] Last: ...What? No, you don't need to write any C or C++ to use the engine. (by helios)
unique complie time variable creation for templates (1,2)
 
Sorry about the confusing subject line, but it's a kind of complex question. What I'm trying to do ...
[20 replies] Last: lol, ok... ty (by m4ster r0shi)
Error message: The variable msg is being used without being initialized.
 
Building the program worked just fine, but when I try out its debug .exe, I get an error message tha...
[2 replies] Last: What am I supposed to replace the unconditional if loop with? Tha... (by New Denver)
Pango
 
Has anyone here used Pango rendering before? I can't seem to aquire a font map in order to retrieve...
[1 reply] : I have an update! I'll explain some details in hopes that someday thi... (by moorecm)
Coping with Accelerated c++
 
This book is not a easy go. I am in chapter 4.3 and trying to compile median.cc which has included...
[4 replies] Last: @Duoas In 4 chapters I have stuck twice and still many to go. So I ... (by rajroshi)
algorithm to calculate pi
 
i'm working on an implementation of the gauss-legendre algorithm to calculate pi and all runs quite ...
[4 replies] Last: GNU MP Bignum +1 It has a C++ class interface to the system, which ... (by Duthomhas)
by czarak
"C++ Common Knowledge" Item 53 - Template Question
 
Hi, I'm having trouble following Item 53 in Stephen Dewhurst's book C++ Common Knowledge. It's ha...
[5 replies] Last: Thanks. (by czarak)
How to return auto_ptr.
 
how to return auto_ptr to other function.is it realy possible?
[no replies]
by valen
Can't find an applicable example for this form of operator << overloading
 
Instead of the normal example: ostream& operator << (ostream& os, class &x) I am attempting someth...
[2 replies] Last: I appreciate your help. I really should have caught the first issue, b... (by valen)
Function overriding and default parameters
 
Hi all, I read one example, according to which the following code is supposed to override base::fx ...
[1 reply] : fx(int) and fx() are two different functions, therefore child::fx is n... (by Disch)
An Event Class with Time and Date objects
 
This is the instructions of our project: Create a new project which consists of three classes; an...
[3 replies] Last: Well I can tell you that this is where your problem is. The ctor event... (by Mythios)
Let me google that for you
 
Hi, I had question when I saw the above tool.(Let me google that for you) Could anyone provide me ...
[4 replies] Last: Not hard at all, all it takes is to move a fake cursor [ie. an image] ... (by Kiana)
Pointer Addresses
 
I know how to use the dereference and addressof operators and know how to use pointer arithmetic but...
[3 replies] Last: You're never quite sure what cast is being used when you use a C cast,... (by kbw)
by xtc77
templates and class inheritance
 
Hi all! I'm new to this forum and I would say hello to everyone! Sorry for my english 'cause I'm ...
[2 replies] Last: Hi, thank you for you reply! I designed ITerm as an abstract wrap... (by xtc77)
Templates and static data member initialization
 
Hi, I have a very simple singleton class template in a header file, which I report here: tem...
[19 replies] Last: Yes? =P (by Disch)
Problem with Iterators
 
I got an unusual problem, source code is: #include <iostream> #include <fstream> #include <vec...
[3 replies] Last: [quote=Disch]If you need iterators to remain valid between element add... (by Mythios)
by Oskar
Friend operator overloading
 
Can anyone tell me what friend operator overloading is? I dont understand it. And can you also expl...
[6 replies] Last: Ok many thanks kbw! (by Oskar)
by korg
Templates question
 
Working on some exercises , i came across this : template <int x> int func() {return x;} templ...
[3 replies] Last: template<int I> int func() { return I; } int main() { ... (by Galik)
divide !
 
Hello. I am writing a program that can do processes on huge numbers with floating point. but I hav...
[7 replies] Last: My compiler is almost old and my computer and windows are not 64-bit. ... (by majidkamali1370)
overloading relational operator > and >=
 
Hi, Suppose I have a vector class implemented and I would like to add the operator overloading of...
[4 replies] Last: I'm not completely sure that I'm following this but let me explain my ... (by moorecm)
May 2010 Pages: 1... 1112131415... 22
  Archived months: [apr2010] [jun2010]

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