General C++ Programming - December 2013 (Page 20)

SDL game dev support
 
Hey guys, I have been trying SDL 2.0 lately and I have decided to make a Tetris game as my 1st game....
[no replies]
Segmentation fault (core dumped) after program has ran
 
I've ran the code in both Windows and Unix. When I ran the program in Unix I got "Segmentation fault...
[3 replies] Last: Thanks for the reply. I managed to find the workaround with your respo... (by AngryBenko)
by rev246
Function, Array, and Loop help for final?
 
Hello all. I need help with this program for my C++ final due tonight. I am able to do the functions...
[1 reply] : that is because you are reading three values in same variable cin>>in... (by codewalker)
by aloo12
cartesian coordinates
 
guys i need help with defining cartesian coordinates in c++ for a rectangle....
[3 replies] Last: struct 3dPoint { int x, int y; int z; 3dPoint() : x... (by codewalker)
Getting core dump
 
Hi, I am executing following code and getting coredump, can anybody expalin where is the problem....
[5 replies] Last: Hi Glandy, Its very very good explanation and very much helpful. Tha... (by Ajaycpp)
bool function
 
how to use bool to identified a identity matrix
[7 replies] Last: sorry,i solve it already.Thank you,is syntax error. (by Chin Pei Ying)
How can I make this code runnable?
 
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main() { ...
[1 reply] : Post the code using code tags. to start, the end brace of the else sh... (by codewalker)
difference between int a=123 and int a=(123)
 
Hi, Please explain me what is the difference between int a=123; int a=(123); Please explain...
[7 replies] Last: Hi, Thanks to all for giving very very good explanation. (by Ajaycpp)
c++ array max.
 
im trying to write a program that reads an array on non negative numbers and outputs the orginal arr...
[1 reply] : You are on right track, but you are not filling the numbers in the arr... (by codewalker)
What do I need to do to make this game?
 
I'm trying to make a game that is very similar to the zombie dice game. There are 12 dice. 6 gree...
[no replies]
by xxsjxx
keep getting these 4 errors.. leaning towards the simplify function
 
//.cppfile- #include <iostream> #include <iomanip> #include <cstdlib> #include "DollarsCents.h" ...
[3 replies] Last: Fix these lines DollarsCents(int =0, int =0); void simplify(); ... (by codewalker)
Could someone please help?
 
I am receving these error messages when I try to compile. 1>MSVCRTD.lib(cinitexe.obj) : warning ...
[2 replies] Last: The CPP files where GameObject::clean and player::clean are implemente... (by codewalker)
C++ Input data from file, specific format
 
So this is my first time posting a question here so please bear with me. I am studying computer scie...
[7 replies] Last: > Or are you putting there as a matter of practice? As a matter of ha... (by JLBorges)
Trying to debug cpp files in Cygwin
 
Assuming I installed the packages in this http://cs.calvin.edu/curriculum/cs/112/resources/installin...
[no replies]
What am I missing to complete this program
 
http://i1209.photobucket.com/albums/cc397/DeathLigerX/Lab8.png I just want an idea of what I am doin...
[8 replies] Last: Hey for all functions in declaration line is of char type whereas... (by upX86)
Determining index to place new value
 
Hello. I need help with function to determine where to place new element in sorted array. I want to ...
[3 replies] Last: Well, post the best code you have (the stuff you think or see working ... (by Duthomhas)
Trying to create a copy constructor
 
I need help with a copy constructor. I'm not really understanding them. I have a base class called V...
[6 replies] Last: I understand now! Thanks a lot. (by brownjas)
How to cout Boolean result in words?
 
So I want to go from having 0 or 1 to having words like false or true. I did it with an if statement...
[1 reply] : std::boolalpha http://www.cplusplus.com/reference/ios/boolalpha/?kw=bo... (by giblit)
C++ end of file error?
 
Hello, this is the error I am receiving. My program is crashing on the default data: > termina...
[4 replies] Last: Yeah I don't know how to fix that while loop. (by Isolated)
Classes (base point.h and derived circle.h)
 
Programming Logic II Project #7 1. Given the base class header file point.h // Point Class Hea...
[4 replies] Last: AHH! I knew it would be something small. I feel like an uber-dork now.... (by Chaemea)
December 2013 Pages: 1... 1819202122... 37
  Archived months: [nov2013] [jan2014]

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