General C++ Programming - February 2013 (Page 16)

header file problem
 
hey guys, im currently trying to tackle this problem: Class Definition Write the class definitio...
[1 reply] : void set_name() const - You want to give it a parameter in which the... (by Fransje)
X & 0 game
 
Hey guys, i just made this game in C++ for my school project, turned out pretty well. Just want to k...
[no replies]
Qt with OpenGL
 
Not the best place to ask this question but I will try asking it here anyway! (Seeing as this is the...
[7 replies] Last: Yeah I have tried copying that example directly and it all runs fine, ... (by Hippogriff)
Dice Program Help
 
I'm having a problem adding up the values of the dice rolls in a while loop. The program will only s...
[1 reply] : Use an array or some standart container to hold multiple values (by MiiNiPaa)
Manipulating Fractions
 
This might not be the place to post this, but Im trying to write this in C++ and havent a clue how t...
[2 replies] Last: The problem I have is visualizing how this is accomplished through pro... (by closed account EUC9216C)
by Stash
Undeclared Identifier, but it is declared!!
 
I have a program with a class in different files, I've included the header file but it still keeps s...
[11 replies] Last: > Pre-compiled header file was already turned off. Ok. Now try changi... (by JLBorges)
Matrix printing
 
I need help getting my initializer to work for my project. I get a segmentation fault when I try to ...
[3 replies] Last: Just went through the program and changed every * * to * and removed e... (by Gulopey)
Error ' Has no member...'??
 
Please someone help me get rid of these errors! here is my container code... #ifndef CONTAINER_H ...
[3 replies] Last: Framework you were right... class Container { private: Item _item ... (by eibarra)
by toum
nothing
 
return * newarray ; doesn't mean anything in C++. Your assignment is to return a matrix, so you sh...
[4 replies] Last: My bad. I don't have the post anymore. Didn't think it would be much h... (by Gulopey)
help with pong game code
 
I am trying to write a simple pong game and have been following the lazy foo tutorial. I cannot get ...
[no replies]
by Cnaoum
Geometric Calculations
 
Hello! i'm trying to write a program that has 4 geometric calculations. One of the calculations has...
[3 replies] Last: 5 choices: // SwitchCalculator - use the switch state ment to impl... (by greenleaf800073)
getting multiple ints from string data.
 
Hi all I'm having trouble making a .obj loader at present I'm trying to load faces that are defined ...
[1 reply] : Which face data are you after? All three? (and by that I mean vertex, ... (by MrHutch)
Cstddef Declaration Errors
 
I've included <cstddef> into a project of mine in favour of <stddef.h> . When I tried to compile...
[3 replies] Last: Thanks for the replies :) I turns out that the issue was because I've... (by closed account zb0S216C)
Program Crashes On Exit
 
Hi, I'm having some issues with my program. It crashes on exit. Could this be a problem with the des...
[3 replies] Last: Peter87, I was getting a Window's "program has stopped working" error ... (by lightspeedcbr)
compare queue sizes in a vector
 
I have a paradigm where a integer before gets enqueued to a queue in a vector, the loop of queues is...
[4 replies] Last: No, line 11 is incorrect (by ne555)
empty state of queue
 
what is the empty state of queue?
[5 replies] Last: Enqueue means that you enter an element to the end of the queue. (by Peter87)
Cannot be overloaded
 
I'm trying to create a program that creates an array that behaves like a matrix with the ability to ...
[3 replies] Last: I hadn't realized that was how it was done. I appreciate the help guys... (by Gulopey)
Sorting dynamic arrays with a function problem?
 
//================================================================ // Remove items/s //=============...
[6 replies] Last: @greenleaf for(int j = i;j < _itemsCount;j++,i--) { _items = ... (by AbstractionAnon)
Problem with reading a file
 
Here is my problem... I am trying to read the data from the input file below and stop when the in...
[2 replies] Last: Oh ok. Yea that makes alot of sense. I was using Windows and Ubuntu de... (by mhaggard)
New to C++ and need some help
 
I need a little help. The problem is Write a function named maxValue that has three integer paramet...
[10 replies] Last: Thanks all. Sorry I didn't post the code originally, but I started out... (by zaladfingers)
February 2013 Pages: 1... 1415161718... 43
  Archived months: [jan2013] [mar2013]

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