General C++ Programming - April 2015 (Page 10)

cross reference problem
 
I cant get the following code compiled. The following code is an abstraction of the problem I met in...
[2 replies] Last: Files cannot inlucde each other. In test1.h it is completely unnecessa... (by coder777)
Literature on performance of C++ algorithms
 
Hey guys. I've been on a programming competition last week, and I scored 5th place in my city, whic...
[1 reply] : And how can even know that my code will work with 100000 inputs You t... (by kbw)
/help please
 
//can someone help me solve this question, i don't understand the code and what is is needed from me...
[1 reply] : Q) Identify where the vulnerabilities are in the given code below an... (by keskiverto)
Roulette and Cards Project
 
//Project 2 #include <iostream> #include <stdlib.h> #include <time.h> using namespace std; main()...
[no replies]
C++ coding problem
 
So for a homework assignement i was suppose write a C++ program to determine which movie production ...
[1 reply] : I straight c/p'ed your code and compiled fine (after including the mis... (by TheM0nk)
expression convert from infix to prefix
 
Can someone post pseudocode to convert expression from infix to prefix as mentioned below: plz do AS...
[2 replies] Last: i want pseudo code algorithmi found earlier thanks (by bali971)
filling an array with strings
 
I need to fill an array with a list of strings and am having trouble figuring this out. i want it to...
[1 reply] : Like so: std:string string_array = { "Warrior", "Wizard", "Archer", "... (by coder777)
by R57x
Array Problem
 
Hi Guys I Have Problem int main(int argc, char** argv) { char array ; int i; ci...
[2 replies] Last: the type of array is char ‘1’ ASCLL is 49 ‘6’ ASCLL is 54 49 +... (by PoorMonk)
by codas
allegro 5
 
how to jump an object in allegro 5 by using gravity concept in which when we press a key, our object...
[1 reply] : http://fixbyproximity.com/2d-game-development-course/ Here is a pretty... (by pnoid)
by c1885
string to int
 
I am trying to convert a string to a signed int from a file: -1 2 3 4 5 6 7 8 9 Trying to ...
[5 replies] Last: My code reads one integer at a time, but since your file has only one ... (by keskiverto)
sorting a dynamic 2d array?
 
Hello, so I have a code to finally create a user designated dynamic 2d array that is filled with ran...
[1 reply] : please use code tags and indentation. (by anup30)
Pass vector element as a function parameter
 
I have a global vector of structs that is dynamically resized, and the way I use it is by push_back ...
[6 replies] Last: Thanks for the explanation. The program is multi-threaded, it's just t... (by dhayden)
Exe error.
 
I am writing a simple program (more of a template for later programs, really) to quickly program qui...
[12 replies] Last: Good luck. Learning can be hard, but once you start working on a proje... (by muffin1)
Any standard on how to define operator overloading type
 
Is there any standard or guidelines which say when to declare an operator overloading function as fr...
[5 replies] Last: thanks (by csstudent123)
by saisr8
inheritance
 
please help me with the following question class Parent { char name ; protected : int so...
[2 replies] Last: (VI) You can check it's size with sizeof operator, but I think it'd be... (by TheHardew)
Putting a save game feature in a game
 
hello peoples, so i have a question i am making a game that will be similar to zork and will be setu...
[1 reply] : You just need to code methods that will store the game state attribute... (by cnoeval)
Reading/Writing Files - Is this correct?
 
I need someone to run this code for me (or just read it if you're an expert) and tell me if it is sy...
[1 reply] : You forgot to post your source file OP, how can we know if this is rig... (by Computergeek01)
I need to add an exception in this code, not sure how to do it.
 
This code works fine, it allows me to convert a hexadecimal to a decimal. I used the ascii chart. ...
[no replies]
by Flippy
Please assist me make a simple and easy text-based minesweeper game!
 
Hi Guys! I am a noob in C++ programming. I have lots of ideas and stuff in my mind limited however o...
[no replies]
some problems with cout vector<vec>
 
hello can someone fix my problems. i have no idea what is not working. i got this code with a vec...
[7 replies] Last: ¿have you overload the insertion (>>) and extraction (<<) operators t... (by ne555)
April 2015 Pages: 1... 89101112... 28
  Archived months: [mar2015] [may2015]

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