General C++ Programming - May 2012 (Page 38)

error about multiply defined symbols
 
Many apologies if I'm just being dense. I have a header file which looks like this: #ifndef BIGNU...
[2 replies] Last: Many thanks. It works now - apologies for ignorance. (by Lotus Eater)
Data file will not read, keep getting error.
 
Data file won't read, i have tried everything and have been on so many different forums. I made sure...
[4 replies] Last: The last thing you said was it. .txt.txt It is working now, thank y... (by Wesley Talbot)
Help on assignment
 
So basically I have no idea what to do for this. My teachers assigned this as our final project and ...
[1 reply] : http://www.cplusplus.com/forum/beginner/1/ (by webJose)
problem accessing an element from large size array
 
#include <stdlib.h> #include <stdio.h> #include <iostream> main() { int int_len = 942132421; ...
[5 replies] Last: Thanks, I get the point. (by ashishkumar)
by cdalto
Cannot Declare Variable To Be of Abstract Type
 
I'm just trying to see if everything that I have written so far is correct for my program. However ...
[4 replies] Last: Alright that was the problem. Thanks for your help! (by cdalto)
error opening/reading multiple input files
 
i don't have much code in this and am getting an error... The algorithm design calls for opening: ...
[4 replies] Last: i decided to open the file using the actual path and that made it work... (by tny4progress)
by Jenga
Allowing injection.
 
Alright, so here's the scenario.. and I figured a majority of you are the smartest to select for the...
[2 replies] Last: Understandable, ascii. I can see where you may feel dismayed to help a... (by Jenga)
Event system
 
Hello, As an exercise i'm developing a game engine on top of the SFML framework. I have a statem...
[10 replies] Last: I created an example using templates on how to create Events and use E... (by codekiddy)
How to calculate cube roots?
 
Using cmath's pow function doesn't seem to be working, pow (4, 1/3) returns 1. How do I calculate c...
[3 replies] Last: 1.0 and 1. are double while 1.f and 1.0f mean float (by b9315010538)
C++ reading data from file trouble
 
I am having trouble reading data in from a file that is formatted like so: Name State Money per...
[2 replies] Last: Yes, that was the problem. Thank you very much. Can't believe it was s... (by sharkbait)
Classes, why is this considered bad coding?
 
My program compiles but my teacher said this was considered bad coding? class Dice{ ...
[6 replies] Last: clanmjc (503) May 2, 2012 at 8:49am it should be Dice(int number) w... (by maskanio)
Good game engine or API for simple 2D in 2012
 
I hate to beat a dead horse here, but I am going to anyway. I plan on starting with a basic ant like...
[2 replies] Last: Thanks for the tips :) (by Algar32)
C++ Pointer and output not correct
 
My wins and losses are not reporting correctly. I am not sure if i am using the pointer correctly ei...
[9 replies] Last: This is my first time doing C++, my logic and vocab is sub-par. I was ... (by tripline)
how would i get my class to make three different copies
 
In my game I have a bunch of enemies that share the same class the only difference between them is t...
[1 reply] : #include "Thirsties.h" #include "Game.h" #include "GL_Functions.h" #... (by programmeraie125)
Sum of array elements in a dynamic array
 
I'm trying to sum the elements in a dynamic array. This is the code thus far. #include <iostre...
[3 replies] Last: Thank you slicedpan! It now works perfectly! (by Night Rawk)
menu system moving wayyyy to fast
 
making a menu system for my game and i got it to work but for some reason my selector icon/arrow mov...
[no replies]
Data getting clobbered in function call
 
Hey, I'm getting a really weird bug where some of my class data is getting overwritten before the bo...
[no replies]
Portable C++ Definite Sized Types
 
Hi I am developing a library in which I need to use definite size types across all compilers and ver...
[2 replies] Last: Thank you very much, which header do I #include to use these? (by flayneorange)
The use of Game Engines VS Writing Code
 
Hi, I have been wondering lately that many gaming companies demand exceptional C++ coders for the...
[1 reply] : [quote=ChosenTorture] "So does using a game engine require expert C++ ... (by closed account zb0S216C)
May 2012 Pages: 1... 363738394041
  Archived months: [apr2012] [jun2012]

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