General C++ Programming - April 2011 (Page 28)

#include <> question
 
I am trying to include a header file that is in a different directory. The header file I am trying t...
[3 replies] Last: ^^ no worries =] (by ultifinitus)
2003 acm programming contest
 
please can anybody help me plllllllllllllllllllllease with the source code and a few comments about ...
[1 reply] : ...the source code && a few comments... Are you nuts ? Have you tri... (by ultifinitus)
Help with Program please
 
Im getting an error when trying to initialize some some objects of a class. I am supposed to initial...
[no replies]
by Qmage
IntPtr causing memory leak?
 
This function is in a loop. When I run the program, the line with IntPtr is giving me memory problem...
[1 reply] : You didn't allocate ip with new, so you shouldn't be deleting it. You... (by Disch)
HELP ME PLZZZZZZZZZZZZZZZZZZ :(
 
hi everybody! I am quite good at writing c++ programs but i don't know how to make GUI for my pro...
[4 replies] Last: @magnificence7: thanks a lot for ur help.. (by engraamir)
by ne555
Convert from FILE* to std::fstream (or alternative to popen)
 
popen() allows to communicate the process trough a pipe. The problem is that it returns a FILE* ...
[2 replies] Last: I will regret this. Bump (by ne555)
by eso
enums
 
Hi, Can anyone help me with this : enum bird { PIGEON, DOVE, HOX}; What is the runtime cost of th...
[7 replies] Last: I think what guestgulkan meant is that you wouldn't choose #define o... (by eso)
There seems to be some problem with my class
 
This is my.cpp file #include <iostream> #include "admin.h" #include <process.h> //for exit() ...
[3 replies] Last: @inception13 He means that all your doing is comparing the address ... (by king214)
by Gldnbr
While loop help?
 
I'm trying to create a program that reads a text character by character. I'm also trying to make it...
[5 replies] Last: I agree with the above, using strings would be much safer. Also find/s... (by ceruleus)
Best C++ Jobs?
 
What I really want to do is work on video games, it sounds like a blast where I would love going to ...
[9 replies] Last: This does not at all represent the typical work environment My poin... (by ceruleus)
Taking inputs using vectors
 
I want to make a programm in which i will add a device, than i will add its voltage, at the end i wi...
[1 reply] : while(...){ string name = get_a_single_device_name(); int vol... (by hamsterman)
Calling Template Constructors
 
I have a template class for generic resource management. It's template parameters are as follows: ...
[no replies]
inheritance
 
If i have a base class and a derived class which inherits base privately then can a friend function ...
[8 replies] Last: Yes, you would because you can't access the private members directly..... (by firedraco)
by kwb13
Help with redo please ,... (1,2)
 
Hi im trying to make some kinda stupid story im just fooling around with c++ and now i try to do thi...
[22 replies] Last: Hmmmm interesting... A compiler is a crazy place! I'll work on succes... (by ceruleus)
by koki
Traditional Singleton Implementation vs Static Object Singleton Implementation
 
I have usually implemented Singletons as described in the Design Patterns book. Recently someone sug...
[5 replies] Last: Some reading about the problems with statics: http://www.parashift.co... (by Galik)
Stylistic (somewhat) constructor question
 
I have written a tiny little (and stupid) iterator class, that's supposed to print the current line ...
[no replies]
Compiler choosing to cancel inline-ness of functions
 
I have this function to set a variable to some 'default': template <class T> inline T Default() ...
[2 replies] Last: Ah yes, I forgot about RVO... it should be fine then. As for why I ha... (by anonymous23323124)
real-time vedio programming
 
Recently, I began studying video development, I do not know how to get started, please advise.
[2 replies] Last: There is a framework for processing images that is very good. It's cal... (by pavanetti)
Help with running the program
 
I am trying to get the time for sorting a large array using bubble sort and insertion sort. however...
[6 replies] Last: try putting unsigned or long in line 6 of your program void insertio... (by tejashs)
by homan
ruining two simultaneousness coupled program
 
I have two big programs (more than 5000 lines in C++)and I wanna to couple them together. in fact ea...
[3 replies] Last: each program after each iteration must be wait to get new data from t... (by ultifinitus)
April 2011 Pages: 1... 2627282930... 37
  Archived months: [mar2011] [may2011]

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