General C++ Programming - August 2011 (Page 19)

by frog1
How to use excel Dialogs(xlDialogPrint)
 
Hi, I use wxautomationObject to create Excel. But can not show printer dialog like Applicati...
[no replies]
Variable Number in File Name
 
I'm trying to make multiple files with results from some tests I'm running. The problem is, I can't ...
[6 replies] Last: I just put "newname.str().c_str()" as the input for ifstream and renam... (by JakeIsBoss)
by fsshl
can we access address of private member(data)
 
Dear c/g++ programers: I am using g++ 4.5.2 to test a program, claimed can be compiled/run well...
[1 reply] : The answer to your original question (thread title) is : nope! If vc7... (by andywestken)
The number of digits in a number entered by the user
 
Hi guys, I'm new to c++ and I've got a question. I want to make a c++ program that displays th...
[3 replies] Last: Thank you both for your posts! @Duoas My program works. And why sh... (by PlusPower)
by iCurzU
When to use global variables...
 
Hello everyone. I recently got some code from a guy that uses an external API. The code has a class...
[9 replies] Last: Yep! Just clarifying things in (what's left of) my mind! (by andywestken)
(*this)-> question
 
Hello I came over a strange function at my new job today. From what it looks like to me it is a f...
[14 replies] Last: My guess CSomeClass contains a pointer/handle to some object, this is... (by kev82)
by chulio
About Makefile
 
Hello, i would like your opinion or a good tutorial on how to create a Makefile. Thanks :)
[2 replies] Last: http://www.gnu.org/software/make/manual/make.html (by closed account 1vRz3TCk)
related to function pointer
 
Hi I have just written a small code to understand function pointer. bellow is the code in ms visual...
[3 replies] Last: #include <iostream> using namespace std; #define CALL_MEMBER_FN(obj... (by closed account 1vRz3TCk)
by HenriK
Could this be optimized even better?
 
Hello, guys, long time no see. Here I happen to have a header & source file (both written in C ,...
[12 replies] Last: Oops, I made a mistake. Forgot that there were two different Fix -func... (by HenriK)
GPU-Programming - a few questions to get started
 
I've written a primitive tile rendering engine and noticed, that it renders slow on the CPU. That's ...
[5 replies] Last: Well, thank you, but none of you have directly answered my questions y... (by NameThatIsNotTaken)
Problem Building Boost
 
Hey all. I'm trying to follow the instructions from http://www.boost.org/doc/libs/1_47_0/more/gettin...
[no replies]
by jay75
scope + pointer problem
 
i get an "error : swordpick was not declared in this scope" for the line: enemy->TakeDamage(Sword...
[6 replies] Last: make sure you destruct the constructors (by graham sullivan)
copying from a boost pointer
 
Hi All, I have a function which calls a boost shared pointer. 1. How do I copy the content fro...
[no replies]
making monster spawn off screen
 
I want the monster to spawn randomly between -200 and 0, or 640 and 840. I know i would have to mak...
[4 replies] Last: srand(time(0)); int first = rand() - 200; int second = rand() %... (by graham sullivan)
if/else vs "?"(conditional operator)
 
Hey guys, for normal coding i use both "if/else" and "?". "?" made code size small to have easier v...
[5 replies] Last: Chathu: That's the kind of situation where you'd be better off with i... (by Disch)
Where's the Text document?
 
I just started reading and writing to text documents to save data from some of my programs. I'm just...
[4 replies] Last: Just tried it. Works like it should. Now I'm gonna start on reading th... (by JakeIsBoss)
header for space and not_space
 
hi, I get the following error, does that mean I am missing a header? if so, can you please tell me...
[4 replies] Last: thanks CodeMonkey (by itcplpl)
type redefinition
 
I am creating a class that contains no public variables to be used in a linked list but when i try t...
[2 replies] Last: Ah i see thanks, that link explained why, i was including it in anothe... (by hastingsdirect)
undefined reference to
 
All set till compilation step. All files are compiled. I am getting this error while linking this ...
[3 replies] Last: sth wrong with pointers??? Yes. This template <class Object> void L... (by coder777)
by acwas
need some comment - god or bad is ok
 
I am writing a piece of code, more specifically: a class for helping initializing variables inside a...
[2 replies] Last: This is a bad idea. 1) It doesn't make any performance difference wh... (by Disch)
August 2011 Pages: 1... 1718192021... 29
  Archived months: [jul2011] [sep2011]

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