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

by sun216
Cimagelist.Draw() returning 0
 
I want to display Cimagelist object in a dialog box Please see what is wrong --- OnInit() ...
[1 reply] : Well it's working now -- I used DrawIndirect() -- it's woking s... (by sun216)
by mar11
allocate memory on the heap
 
Hi all, I have problem by allocating a memory for my objects. Assuming this lines 1- object* t...
[2 replies] Last: Please post some of the code. Its easy to miss inadvertent memory leak... (by Galik)
matrices array
 
Hi i am new to C++ and want to know how to create an n x n matrix where the numbers go in sequential...
[11 replies] Last: I'm not an expert on this. I am just going on what Wikipedia says. ... (by Galik)
how to store an alphabet from an array[26] to another array
 
I have taken two arrays p ={'A','B'- - - 'Z'} and array s .I want that to select a desirable alphabe...
[no replies]
binding reference parameter causes error
 
Greetings, I'm studying bind1st/bind2nd in STL and encountered the following question. I have a v...
[no replies]
print in alphabetical order.
 
how can i get the program to print automactically in alphabetical odrer instead of manually setting ...
[4 replies] Last: thank you for all your help. (by marty09x)
by vRltwE
Fundamental lack of knowledge
 
Hi, I am getting the error: /home/cristiano/NetBeansProjects/Cpp_Teste/GPA.cpp:12: undefined...
[3 replies] Last: Basically, the .cpp file is where you usually put all the DEFINITIONS.... (by Galik)
by cpukid
referencing variable names
 
I am running an algorithm and it must output several results into unique files. I could do if-stat...
[2 replies] Last: Works great! Thank you! (by cpukid)
by vihrao
how to delay destructor call
 
I am using operator to add two matrices stored inside matrix objects. I instantiate and initialize t...
[4 replies] Last: 2. Classes with pointers require you to define a copy constructor, as... (by PanGalactic)
by genny
importing files with strtok
 
Hi, I have a problem when I import two files and then do some stuff and outpout the result. Here ...
[2 replies] Last: I thought that's what I did . I import the line ( line 82) and then... (by genny)
assigning one structure to another using pointers
 
Hi, i have two pointer to stuctures named *currMB and *PrevMB and i want to assign PrevMB into curr...
[1 reply] : Macroblock is the structure Macroblock mb would declare a Macroblock ... (by hamsterman)
3D Rotation
 
I've been in other forums for this but no reply yet, it's quiet on here tonight so I figure I might ...
[no replies]
Rotation of rectangles in SDL. (1,2)
 
Okay. I have this program in SDL, where there are a lot of objects (classes) that each contain a cou...
[20 replies] Last: http://www.mediafire.com/?moyzzmmzozm (by Mythios)
by pccX
Converting an integer to a STL bitset
 
I am looking for a STL function that converts an integer to a STL bitset. Please suggest.
[3 replies] Last: Generic Programming and the STL: Using and Extending the C++ Standard ... (by moorecm)
question about vector, arrays, and pointers
 
Hi all, thanks in advance for taking a look. I've onlye taken 2 classes of c++, now.. so, still w...
[3 replies] Last: Yes that looks fine. But it also depends on what you want to do wit... (by Galik)
C++ DLL called from VB
 
Hi, i want to write a DLL which is called from MS Access (VBA)or MS Excel (VBA). First i place a...
[3 replies] Last: It's conventional to open a file when you begin to use it, can close i... (by kbw)
inheritance
 
Hi, I have created 2 separate template classes VEC and MAT. However, I just came across a library...
[1 reply] : template <typename Type> class MAT { }; template <typename Ty... (by Denis)
vector pointer
 
I need some help with coding. :( It would be great if someone can help me with my problem. I have ...
[1 reply] : Hi. I think you want a vector list to hold vector lists itself (by ... (by cdel)
add space between array strings
 
I'm trying to find a easier way to add space between the Client and the Business type i tried using ...
[5 replies] Last: #include <iostream> #include <sstream> #include <iomanip> using na... (by moorecm)
by mar11
mem lack
 
Hi all, I am a bit confused about the real cause of memory leak in this case: int a(4); int...
[1 reply] : The only pointer to the piece of memory allocated to Pointer_1 has bee... (by Galik)
May 2010 Pages: 1... 1213141516... 22
  Archived months: [apr2010] [jun2010]

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