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

Compiled App. does msvcr100.dll Error
 
Hallo. I had written and compiled aplication in C++ using WinApi. when I run it on my PC it runs pe...
[1 reply] : http://www.microsoft.com/downloads/details.aspx?FamilyID=a7b7a05e-6de6... (by helios)
map of lists of vectors
 
Hi all I would like to do a map of lists of vectors I know how long the vectors will be but I do...
[11 replies] Last: I always use this chart (http://www.liamdevine.co.uk/code/containers.p... (by bartoli)
by wolvo
passing filename as command line argument
 
Hi there I am working on a code where from command line user gives the name of the file in which ou...
[9 replies] Last: Thanks for the help guys (by wolvo)
Djikstra's algo
 
Can ay1 pls provide me the sample code 4 a basic Dijkstra algo? I understand how the algo works but ...
[17 replies] Last: Then you need to find a Linux friendly graphics library. That's going ... (by Galik)
[template] adding 'const' does not work?
 
Note that the second line in main() output 1 which means the returned type is not 'const int &' but ...
[1 reply] : Looking at the implementation of boost::is_same, it only takes into co... (by jsmith)
by wolvo
passing filename as command line argument
 
Hi there I am working on a code where from command line user gives the name of the file in which ou...
[1 reply] : #include <fstream> int main(int argc, char *argv ) { using n... (by kbw)
while loop
 
hi, Can anyone tell me what this loop does, i'm new to C++: while(a) { //some statements ...
[5 replies] Last: Hmm....! Thank you very much! (by manaila)
static variables in function
 
Hi, I'm not sure which influence static variables has to cache performance. This may be bad pr...
[2 replies] Last: Well Thanks for the explanation. It was just what I needed :-) I un... (by jesperd)
by zyspt
obfuscated code
 
i am have given the following code. all the coding looks weird to me, so how do i translate the code...
[3 replies] Last: this looks like a homework assignment to be due tomorrow :D (by unregistered)
'Bitmap' was not declared in this scope
 
Hello, anyone know what is the header for Bitmap? When i try compile Bitmap myBitmap; i ge...
[1 reply] : don't multi-post: http://www.cplusplus.com/forum/windows/26726/ http... (by Bazzy)
doubt about new operator
 
1)int a = 100; -> allocates memory at compile time in stack 2) int *q = new int(100); -> allocate...
[1 reply] : Statement 1 allocates space on the stack for a and assigns it value 10... (by kbw)
Problem with convert and data input
 
Hi everybody! I'm a newbie to C++ and I need some help to improve my skills in c++. *When you ...
[2 replies] Last: For the first problem use getline: string input; getline(cin,inpu... (by Athar)
math.h error
 
hi, I am trying to use sqrt() and log10() of math.h and it is giving me unexpected results. for i...
[10 replies] Last: Let's see which one is more likely: 1. [A set of functions that imple... (by helios)
by Gilmar
CFileDialog properties
 
Hi, I hope you can help me on this. I have a class in which one function opens a CFileDialog to sa...
[no replies]
Interfaces
 
Hi, I am developing interfaces to a module. the problem i am facing is as mentioned below: the...
[5 replies] Last: Yes, that is what the Interface Segregation Principle states. Consi... (by PanGalactic)
by poochi
Template puzzle question
 
I started to do some reading about template, found interesting example template <class T1, class...
[1 reply] : Why is ShowMeMap() a template function if line 8 makes assumptions abo... (by helios)
Pre processor Directive Question
 
I am wondering how i can use a pre processor directive to replace strings. in the code mentione...
[2 replies] Last: Is this any good to you? namespace yours { int wibble; } ... (by Galik)
Pointers
 
Hi, I need some help using pointers, and having the user input a 12 character word. Store this word...
[15 replies] Last: no problem! =] (by soccermiles)
post vs pre increment operators
 
I was wondering if there was an overhead involved in using post increment operator instead of pre. I...
[3 replies] Last: The compiler can and will optimize the temporary away for simple objec... (by Athar)
My linker doesn't like D3D external symbols
 
I have been trying to learn DirectX 9, but unfortunately, I can't compile any of the later files. I ...
[no replies]
July 2010 Pages: 1234... 20
  Archived months: [jun2010] [aug2010]

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