General C++ Programming - June 2009 (Page 10)

Coverting string to number
 
Please refer the the post: http://www.cplusplus.com/forum/articles/6046/ On line 25 it says myS...
[4 replies] Last: it says to read an integer from the stream and put it into myNumber. ... (by jsmith)
Background Subtraction
 
I really need help in the codes below? If anyone knows pls help me out! I don't understand that why ...
[1 reply] : If you used Code tag's then maybe your code would be slightly readable (by jloundy)
need explanation for one line of code
 
class const_iterator: public map< T, int >::const_iterator { ............. }; Currently i am...
[2 replies] Last: This part class const_iterator means you're declaring a class called... (by Hammurabi)
convert rgb to bmp file
 
hello all, i am trying to convert a rgb colorspace retreived from a webcam into a bmp file so it can...
[no replies]
by Vicky
C++ Book
 
can some body give me the internet link of the deitel and deitel c++(2nd edition), from where i coul...
[4 replies] Last: I wouldn't even bother with large books now adays. I barely ever open... (by kempofighter)
by helios
SDL and main()
 
I found this in SDL.h: #ifdef __cplusplus #define C_LINKAGE "C" #else #define C_LINKAGE #end...
[6 replies] Last: This is a known issue with SDL. When I tried it - I did do the undefi... (by guestgulkan)
by pccX
open file with a variable file name
 
When we want to open a file using C++ instruction, 'open()'. The file name must be 'const string'? ...
[3 replies] Last: Helios and EverBeginner, Thank for your answers. (by pccX)
2D C++ Game Programming
 
Does anybody know some good programs/libraries to help me get started making games in C++? 2D for no...
[4 replies] Last: Allegro still exists, but its really only for hobbiests that have no i... (by Return 0)
Problem with operator overloading
 
Hi everyone, im fairly new to programming and i'm having problems solving my homework. My assignment...
[9 replies] Last: Return a reference (ie, pointer) to a stack variable that has since be... (by jsmith)
Reorder dimensions of a dynamically allocated array
 
So I have a 2D pointer array of integers: int** someArray = new int* ; for(int i = 0; i < siz...
[4 replies] Last: Nope. (by Hammurabi)
To Typedef or not to Typedef
 
That is the question... I have yet to find any resource that can convince me of the value of typede...
[14 replies] Last: I use typedefs to minimize ugliness and make code more readable. ... (by Hammurabi)
How do I instantiate an object within an object?
 
Heyy what im trying to do in this program is create a new instance of another class within a class. ...
[2 replies] Last: Haha is that it? ah thanks alot :] (by RicksteR)
by asma1
need solution
 
Problem Statement: 1. Create a BankTransaction class. 2. Create following static data members:...
[4 replies] Last: This website is not only for you, but that doesn't forbid you to post ... (by wmheric)
Produce a usable program?
 
Ive taken a class in C++ and played with it a little so I know the basics, but Im having a little pr...
[3 replies] Last: Hello, There are no usable standalone exes that can be produced by ... (by EverBeginner)
problem Counting letters in a dynamically created array of chars
 
This program is supposed to store random lowercase letters into an array and then count each letter ...
[3 replies] Last: Make your life easier. For dynamic arrays, use std::vector. For coun... (by kempofighter)
C++ does not let to express voids naturally
 
Hello EverBody, I am trying to express naturally: void __stdcall functWrite_ItUp(void* p...
[2 replies] Last: Thanks. (by EverBeginner)
by oramiq
what is this??
 
hello every body i saw a code that contain strange charachter "~" it is used with zero only ex:...
[4 replies] Last: i compile the code today with no errors !!!!!!!!!!!!!! i didn't chang... (by oramiq)
Passing a 2D array to a function
 
I have a 2D array, "someArray" I'm trying to pass to a function. This function needs to iterate thro...
[7 replies] Last: x_x yeah sorry. I didn't see your username, I just assumed you wer... (by Disch)
LNK1120 error
 
Hi, Dear can you guide me to solve this link error. i think there is no problem visual studio set...
[7 replies] Last: When dealing with template classes and functions, the easiest solution... (by jsmith)
Can we delete a line in cosole windown?
 
I'm newbie, so there are manything i don't known. To clean screen we can use: clrscr(); // In Bo...
[1 reply] : Take a stroll through the Windows Console Functions http://www.google... (by Duthomhas)
June 2009 Pages: 1... 8910111213
  Archived months: [may2009] [jul2009]

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