General C++ Programming - June 2012 (Page 2)

C/C++ is an optimal choice
 
For developing software for embedded systems, C/C++ is an optimal choice. Yes or NO? Please any one ...
[2 replies] Last: @mfawadsaleem You should have a look at TR18015 http://www.open-std.o... (by JLBorges)
Help please... PlaySound Win 7
 
Hi, Can anyone help with a problem I've got with PlaySound running on Windows 7. I'm porting some...
[no replies]
by xnov
error in dynamic memory using struct
 
hi all, i'm trying to make a array dynamically using new the struct and the code that call the st...
[4 replies] Last: thank.. it was a silly mistake, i didnt calculate it right (by xnov)
Please help me...
 
I have implemented the code for Understanding Background Mixture Models for Foreground Segmentation....
[no replies]
constructor call (1,2)
 
Hello. Why is it that constructor is called just once in the following code? struct widget{ ...
[22 replies] Last: Framework (2534) Jun 27, 2012 at 3:29pm hooshdar3 wrote: "+I got the... (by hooshdar3)
Complex Programming (1,2)
 
I've just learned the basics of c++ basics but all i am able to do is cout numbers and stuff my teac...
[20 replies] Last: Generally speaking, all generalized statements are wrong. Apart from ... (by closed account z05DSL3A)
how to initialise a vector of vectors with existing vectors ?
 
Hi all, I would like to initialise a vector of vectors with existing vectors, like this : vecto...
[14 replies] Last: Great ! I could install gcc-4.7.1 for test. But still, in C64, I ca... (by lalebarde)
Vector Array and Functions
 
So I am trying to pass a deck of cards to a function then the function uses the deck to fill a vecto...
[7 replies] Last: Edit: You were right, I forgot the & in the prototype. Thank you (by cgleckman)
libcurl question
 
Has anyone used libcurl much? I'm using it to make a small program that downloads a file from a htt...
[4 replies] Last: Awesome, I've clearly messed it up somewhere then. As I said I'll fix... (by iHutch105)
fgetc returning -1?
 
Hey all I have been working on a tile based game (birds eye view type of thing) and im reading a ma...
[9 replies] Last: I think i may have found the problem, in one of my previous functions,... (by SuperStinger)
Webcam Image Processing
 
Hi there! First post on C++ Forums. :) I am currently a graduating Computer Engineering student a...
[14 replies] Last: Check this out guys: http://ahmedorabi.blogspot.com/2011/05/this-wa... (by MarkBadong)
Simulation of Monitoring of Internal Applications&Hosts of a Company
 
In order to do this simulation Will c++ has all the capability. For reference Please check the belo...
[no replies]
Have I understood some OOP concepts correctly?
 
Like if I would want to store a bunch of objects somewhere would I do it somehow like class Obje...
[3 replies] Last: Read this: http://www.cplusplus.com/reference/stl/vector/ Example ... (by IceThatJaw)
by Rodan
Trouble reading/storing BMP
 
Hello. I'm trying to write a program that reads in a BMP file and outputs some simple data specs,...
[1 reply] : // #pragma pack(2) // found this as a 2 byte alignment... no idea wha... (by closed account o1vk4iN6)
Tic Tac Toe Problems
 
Can someone take a look at this and point me in the right direction. I have been having trouble with...
[5 replies] Last: Also you should edit checkBoard so that is general for BOTH players. F... (by eraggo)
Overload operator !
 
How can i overload the ! operator? Do you have an example or any references for operators overload?...
[3 replies] Last: The only rule for overloading the logical negation operator is that th... (by closed account zb0S216C)
.eof() Trouble -- Infinite loop
 
I am trying to read from a file that has a title of a book, number of copies of said book, and then ...
[3 replies] Last: Thank you so much for the help. I tried different ways to put that for... (by AaronTrahan)
cin buffer problem
 
Ok so I have this problem where if the user inputs two words, only the first word is outputted. I tr...
[2 replies] Last: When you press enter a new line character is added to the stream. cin... (by Peter87)
Equivalent for getch()
 
Hi Would u pls introduce something standard as an equivalent for getch() and getche(), that is some...
[1 reply] : There is no equivalent function in standard C++. (by Peter87)
DWORD Array Length
 
I've tried Google, though I couldn't find any that worked. sizeof don't work here, so how would I f...
[8 replies] Last: You can if you will pass an array by reference. For example void f(... (by vlad from moscow)
June 2012 Pages: 1234... 33
  Archived months: [may2012] [jul2012]

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