General C++ Programming - September 2013 (Page 32)

c++ beginner help please!
 
\////////// \\///////// \\\//////// \\\\/////// \\\\\////// \\\\\\///// \\\\\\\//// \\\\\\\\/...
[3 replies] Last: how can I create a program that will accept 2two integers. the user wi... (by celyn)
SFML Collision Detection
 
Just curious which type of collision detection would you recommend in sfml game programming out of: ...
[3 replies] Last: SFML gives a example of collision detection on the github page https:/... (by closed account 3qX21hU5)
Problems Using scanf
 
Hi all, I have recently been coding a very simple game for my own amusement and have run across a ...
[5 replies] Last: Hmm well actually, if you use strings, there is no need to use numbers... (by Mats)
RunTime polymorphism
 
creating Pointer to a class inside its own member function to achieve polymorphism. Below is an exam...
[no replies]
how to generate sounds of mixed waveforms (1,2)
 
I have used beep() and sound() functions. But both of them generate sounds of only fixed frequency. ...
[29 replies] Last: I don't know. I think I might have scared OP away. =( (by Disch)
new keyword
 
how do I allocate multidimensional arrays using new?
[4 replies] Last: If you use new then you've got to delete (by ne555)
How to reverse bits (1,2)
 
Hello, I am working on a project where I need to reverse bits for a number. For example, if I have...
[21 replies] Last: Thanks for all advice!!! (by tnjgraham)
by Daleth
Estimation Off
 
I've been implementing my own floating-point class, but I got stuck on writing an efficient, quick, ...
[8 replies] Last: Durr. I used the wrong operation in my argument. You are indeed correc... (by helios)
by CAAA
SDL collision Detection
 
I am making a game to where if the ball goes below the paddle you lose its not done yet but i made t...
[2 replies] Last: well i m working on a collision detector just like you mine is not per... (by Ceset)
Question about return type of function(use of &)
 
What is the difference between MyClass& function(){ MyClass a; return a;} and MyClass function()...
[18 replies] Last: I delete the move assignmente operatore and now the program function. ... (by janluca91)
How can I start using ncurses?
 
It's written here: http://en.tldp.org/HOWTO/NCURSES-Programming-HOWTO/intro.html#WHERETOGETIT Bu...
[9 replies] Last: Wait, I'm still trying something else, I'll reply when I need further ... (by gameprogrammer)
by Ceset
Why double output???
 
here is my code #ifdef __cplusplus #include <cstdlib> #else #include <stdlib.h> #end...
[11 replies] Last: i couldnt find a way to fix it maybe i should leave it for later. (by Ceset)
Constructors
 
Hello, today i made this little program. I'd like to know if you think it's well done. I've to de...
[13 replies] Last: What you've suggested is not at odds with what Vlad said. Obviously.... (by m4ster r0shi)
Convert intger to string and populate array
 
// prompts the user for a non-negative numbers (>= 0) // reads in the a number and checks // keep...
[1 reply] : Well: vArr = tmp_stream.str () .at(i); (by coder777)
Static Variables
 
Hello everyone, I've got a problem with my programm. I need to define a class I to have an out...
[3 replies] Last: Cire I love you !! thanks ! (by protest00)
Getting into using C++ with Lua?
 
I'm starting to branch out a bit in things besides C++ (C# and Lua) and I must say it's very inter...
[1 reply] : Actually, you work Lua into C++, not the other way around. Lua is a s... (by Stewbond)
An iterator point to nowhere?
 
I defined the following function to find out the iterator of a certain value in the vector. I define...
[3 replies] Last: THanks!!! (by northfly)
Why there is always a compilation error like "expected a ;"?
 
see the following code I defined two functions, one is inside the other: bool clusterLabellin...
[6 replies] Last: Actually, I'd say it's a perfect opportunity to learn about it. Look u... (by Zhuge)
Cannot create struct that contains instance of a class
 
Hello programmers, I'm trying to learn as much C++ as I can. I was writing a program that mixes l...
[2 replies] Last: @kbw: You Sir, are totally right! Thanks for that quick and accurate r... (by nelson1mx)
September 2013 Pages: 1... 3031323334... 36
  Archived months: [aug2013] [oct2013]

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