General C++ Programming - August 2012 (Page 19)

Initializing an array of classes
 
Hi, I am trying to create a particle engine. This class ParticleEngine contains a pointer to a spe...
[2 replies] Last: You could use "placement new" and allocate the memory, and then loop o... (by closed account 1yR4jE8b)
c++ a problem
 
ı am new at c++ ,ı will ask some questions about my programm. is there anybody to help me pleas...
[1 reply] : if youre new to c++ then it should belong in the beginners section. Po... (by stoffe1100)
BASE-CLASS SUB-OBJECTS UNRECOGNIZED IN A DERIVED CLASS
 
Why is it that my program gives an error when I instantiate an object of a derived class with embedd...
[1 reply] : http://www.cplusplus.com/forum/articles/40071/#msg216313 (by ne555)
ios:: Explanation
 
Hi, I am learning cpp with the help of a book. But suddenly, in the book they use ios:: . But they d...
[1 reply] : ios is used for streams (for files and other): http://www.cplusplus.c... (by coder777)
by Cagdas
Battle Ship Game Random Generator
 
Hi everyone, i'm a kind of newbee in both this forum & c++ programming, anyway i wrote a code whi...
[no replies]
Installing SDL
 
Before I get started, I'll give the system specs. Windows XP Professional MinGW 4.7.1 GNU Make 3....
[6 replies] Last: I actually meant the sdl-config path was incorrect. I believe I have f... (by Volatile Pulse)
XOR expression
 
Hello, I have an expression: X = X ^ ( (X >> 2) + (X << 5) + Y ); I'd like to know how to expres...
[18 replies] Last: Yes, I know! (by viliml)
Class Help - Cannot define data members
 
I'm playing around with some basic C++ and I'm having trouble with a class I'm writing. Just about e...
[2 replies] Last: Thanks. I guess I changed the code earlier so it would just cout on th... (by sikuneh)
Writing values in a list to a textfile
 
Hi, is it possible to write values that are stored in a list to a text file?
[4 replies] Last: Thanks alot man. I have also figured out a way. I will put it here if ... (by CLearner88)
What program do you use to write your code?
 
I use kate (text editor on linux) to write all my code. Back when i was using windows i would use vi...
[15 replies] Last: Vim on Linux (sometimes Kate if using a KDE-based distro) and when wor... (by oldcrow)
OpenGL Function Pointers
 
Hello Everyone - Whenever I compile my program I get a memory error, due to the fact that nearly hal...
[14 replies] Last: Additionally glBlendColor (and everything afterwards) was a function t... (by BrokenSilenceDev)
Searching/Filtering Database Results in App?
 
Hi, Apologies if this is not the right place for this question. I'm just wondering what's best...
[5 replies] Last: Yes. SQL databases are notoriously bad at this sort of real-time filt... (by kbw)
MSVC++ Debugging question
 
When I run my program in debug, it cant open any files which are in /Debug/ directory of solution(wh...
[1 reply] : In project options/Debugging, you can set the working directory. If yo... (by helios)
SFLM input problem
 
I am writing Pong using SFML and am having a small problem with the input. When I press "W" which ma...
[2 replies] Last: sorry, I actually had something like that but it wasn't working. I fig... (by i2Fluffy)
help with a date program
 
I need to count the number of days that that date 13 appears in every month and on what day it happe...
[3 replies] Last: because, k is the number of days you've gone throug, and a week only h... (by viliml)
Generic Stack to store addresses
 
Hi there , I have tried to store addresses within a generic stack and then pop the addresses on th...
[9 replies] Last: Your adress class doesn't have a constructor that takes an int paramet... (by viliml)
So many types...do you use them all???
 
Hello guys, I don't know if this is of any importance, but I use CodeBlocks. Well, I wanted to s...
[2 replies] Last: [quote=xantavis] "Do you use them all? " That depends entirely on th... (by closed account zb0S216C)
finding a leap year
 
So I'm trying to write a program that produces the calendar given the year and month (which are both...
[2 replies] Last: thanks! (by closed account EAXiz8AR)
making a game loop
 
So im transferring from Java and now im making a simple game loop. I made an abstract class with vir...
[1 reply] : You can make Faust an abstract class by making at least one of the vir... (by Peter87)
C++ Input Problem
 
I have a problem in the following c++ program,while getting a input '08' and '09' it skip the next i...
[8 replies] Last: Octal notation knows the digits '0'-'7'. '8' and '9' are not allowed! ... (by Caligulaminus)
August 2012 Pages: 1... 1718192021... 31
  Archived months: [jul2012] [sep2012]

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