General C++ Programming (Page 59)

by bads
help tetris
 
can anyone help me put some menu here that includes *Start *name of player and to improve the speed ...
[4 replies] Last: thanks (by bads)
Get Items from map and add to a vector c++
 
I rote this code in my program JSONNode::const_iterator iter = root.begin(); for (; iter!=r...
[1 reply] : When you access nodeMap in the "Way" case, why not use the iterator? ... (by kbw)
Using Char instead of unsigned to calculate numbers?
 
How do you use char instead of unsigned to calculate numbers? This is using char only and nothing e...
[4 replies] Last: Soe other points: char instead of unsigned On most implementations ... (by MiiNiPaa)
write header
 
can any body help me with this question question : Assume a class named Dollars exists. Write th...
[3 replies] Last: class Dollars { int dollars; public: Dollars& operator++(); Dol... (by Stewbond)
c++ game
 
I am new to c ++ (more or less) and I would like to make an rpg. (Perferably multiplayer) I need a...
[1 reply] : at least a link to a library http://www.sfml-dev.org/ (by MiiNiPaa)
2D Array Tic Tac Toe
 
#include <iostream> #include <iomanip> #include <cstdlib> using namespace std; int main() { ...
[2 replies] Last: God Bless Your Soul. I looked so retarded looking at your reply. Thank... (by VibeNFlow)
I want to use old version <iostream.h>
 
Hi all! I'm want to use the old version for programmin in C++. I'm want to use the <iostream.h> ...
[3 replies] Last: Also it should let you use it directly unless the compiler does not s... (by cire)
external file read failure
 
I'm having trouble with a function that reads in data from an external txt file. inFile.fail() keep...
[no replies]
The history teacher at your school needs help in grading a True/False test.
 
The students’ IDs and test answers are stored in a file. The first entry in the file contains a...
[3 replies] Last: Not sure what else you are doing. The code compiles fine (with a few w... (by Smac89)
by MrMoe
Base class pointer and polymorphism
 
Hi, I'm trying to implement an evolutionary algorithm for an optimization problem and I need some ad...
[4 replies] Last: Thanks again for your comments. To be honest, I've never heard of visi... (by MrMoe)
Recursive adding elements in array
 
The goal of this program is to take 4 neighboring elements in an array and add them together. The pr...
[3 replies] Last: YPu clearly changed it wrong, because it should compile. And post your... (by MiiNiPaa)
Using singleton in c++
 
I created following classes in my program. Way.h class Way { private: std::string id; ...
[1 reply] : Way::Way(const Way& orig) { } void SetOnGoingWay(Way onGoingWay) //i... (by ne555)
by Dare
Someone pls help
 
//To practice writing programs using loops.Write a program that will allow the user to buy noteboo...
[1 reply] : So? What the problem is? (by MiiNiPaa)
by niuxe
The gussing game
 
Hi, I've just started c++, and I've tried to code the guissing game, but I ran into some truble when...
[no replies]
How to round to the nearest odd? C++
 
I want to make any decimal point in even to go to odd and any decimal point in odd stay as odd in C+...
[2 replies] Last: Using <cmath>... //Pseudocode If(floor(x) / 2 != 0) //If the number... (by Mats)
C++ Class Assignment, Need Assistance ASAP
 
Ok, so my assignment is to write a program that computes how many feet an object falls in 1 second, ...
[1 reply] : 1) Please use code tags when posting code, to make it readable: http... (by MikeyBoy)
by quayda
Sentinel not working....
 
I'm not sure why this isn't working, but this is my error message: Error] no match for 'operator!=...
[2 replies] Last: Yeah, that was the problem I was able to fix that, but now I'm struggl... (by quayda)
Matrix Multiplication
 
Hello, I have a program matrix multiplication but it work not for big arrays. I dont understood ...
[6 replies] Last: how can ı write as a matrix : double* x = new double[n*n]; for (int... (by candidate)
game timer suggestions
 
I am making a maze type of game and I was wondering, how would I create a background timer that keep...
[2 replies] Last: > code example would be a big help. #include <iostream> #include <fu... (by JLBorges)
Tic-Tac-Toe
 
Hello, I've been working on an AI program that has two AIs going against each other in tic-tac-toe. ...
[1 reply] : AIPlayer.hpp #ifndef AIPLAYER_HPP_INCLUDED #define AIPLAYER_HPP_INCL... (by crimsonzero2)
Pages: 1... 5758596061... 68
  Archived months: [feb2014]

Cannot post in this page. To post a new message, go to the first page.