General C++ Programming - October 2013 (Page 21)

char array to string
 
Hi, I have some code: char cHomeTeamFaceOffsPercentageWon ; memcpy(cHomeTeamFaceOffsPercentageW...
[1 reply] : This works for me. char cHomeTeamFaceOffsPercentageWon ; ... (by Bourgond Aries)
Reading columns from text file
 
How can I read just the first column of this from a text file? ORG 100 LOAD ...
[2 replies] Last: Answered in the duplicate thread. http://www.cplusplus.com/forum/gene... (by vin)
geany c++ code snippets help
 
Hey Guys A liitle Help in code Snippets of c++ in geany For instance we can have if=if(%cursor%){...
[no replies]
reading variable from another program
 
I'm trying to write a widget that monitors the health/mana/stamina of a character in a game. I've di...
[2 replies] Last: If the information is store in external files that you can edit. Then ... (by Stormhawk)
What Unix command...?
 
A few days ago, in class, we were working on classes, etc... My professor did something and I can't...
[4 replies] Last: -c I looked it up with "man g++" AND my professor answered me, all ab... (by Blalack77)
Why return by reference?
 
Return by reference is typically used to return arguments passed by reference to the function back t...
[2 replies] Last: Just like when you pass a value, when you return a value from a functi... (by Uk Marine)
What do I need to do to get the correct calculations in this program?
 
Here is the website for the assignment I am working on: http://view.samurajdata.se/rsc/5c1dd0b4/ ...
[1 reply] : > But I am having trouble with the reduce() function I you only had l... (by ne555)
Standard Deviation?!
 
I need help with calculating standard deviation can someone please help me #include <iostream> ...
[6 replies] Last: You're welcome. BTW the formula I gave works, but it's more complicate... (by closed account D80DSL3A)
Multithreading in a computer game
 
I'm just looking for a sanity check concerning my use of multi-threading, and ideas as to how to imp...
[4 replies] Last: So i made a beautifully complicated multithreaded environment for noth... (by crexalbo)
by xcyl40
Looping Help!
 
return 0; }
[2 replies] Last: Please use code tags when posting. http://www.cplusplus.com/articles/z... (by Yanson)
by CroCo
Mouse Speed?
 
I want to acquire mouse speed, so I need to calculate the delta time between each reading first. I w...
[13 replies] Last: So, what about the following approach. It seems it's working void D... (by CroCo)
writing content of double* to OpenCV IplImage * imageData
 
Hi All, I tried copying data from an image of type double * img1 into an IplImage * iplimage I used ...
[no replies]
Need a little help with my Linear Search Algorithm please
 
So everything runs perfectly except when i try to search for a value inside of the array, it keeps t...
[3 replies] Last: Also: template<typename T> T Search_Array(T a , T s, T i) { for ( i... (by xismn)
Transposing index problem
 
Hi there, I'm making a simple benchmarking program for matrix multiplication, but I seem to be sl...
[2 replies] Last: Unfortunately that didn't help me much. (by Elena Markoska)
Reading columns from a text file
 
How can I read just the first column of this from a text file? ORG 100 LOAD ...
[9 replies] Last: I see now, thank you! (by cebegaf)
by Anontk
What exactly is SFML?
 
I've heard it's a good place to start for games programming but even after reading the website's fir...
[3 replies] Last: If you have any further questions regarding the SFML library, post the... (by Uk Marine)
Rendering midi using soundfonts (.sf2 files)?
 
Anyone knows the steps needed to render MIDI using SF2 (Soundfont 2) files? Is it adviced to load th...
[no replies]
const pointer and address
 
A tutorial says this: "A const pointer always points to the same address, and this address can no...
[1 reply] : pnPtr is a pointer to a const int. The pointer itself is not const. So... (by tipaye)
by mahla
learn to children
 
hello please help me i want learn c++ to children but i don't know where i must begin
[5 replies] Last: Came across this website: http://scratch.mit.edu/ (by BitRat)
accessing the accessor functions of another program
 
I'm trying to write a widget that monitors the health/mana/stamina of a character in a game. I've d...
[no replies]
October 2013 Pages: 1... 1920212223... 46
  Archived months: [sep2013] [nov2013]

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