Beginners (Page 9)

Copy constructor and move constructor
I'm trying to learn C++ 11. I'm confused about copy constructor and move constructor . Can anyone...
[4 replies] Last: I'm sorry to say that these are all USELESS! These are written as dif... (by PSYCHAMERON)
by Dizi
Help.. Can't figure out Min & Max
Hello, I'm writing a code for a program that has different departures and land for an airport. I...
[2 replies] Last: Hi Moschops, I see where my mistake is at. Really appreciate your he... (by Dizi)
Writing an encrypted file to another file?
Write a C++ program that reads text from a file and encrypts the file by adding 4 to the ASCII valu...
[6 replies] Last: Thanks for your help, I think I finally figured it out. (by djsmith217)
Overloading operator and ostream
In my program I'm trying to override == operator and also stream operator <<. I have some errors in ...
[8 replies] Last: OK, it solved half of the problem, but for my predefined car1 object, ... (by ben1355)
Need help with a card game application
Hi, I need to make a card game application for my class that uses a standard playing card deck, exce...
[5 replies] Last: I think I've got it now, thanks for all your help! (by zipporaid)
Set lower/upper bound implementation
Hello, I have some troubles with this code, which I can't compile/run... It's all about upper bou...
[1 reply] : #include <iostream> #include <set> struct pos { int x,y; }; bo... (by JLBorges)
Dungeon crawler help
Everytime i press 'r', it does not move the 'P' char to the right like i want it to. Not sure what i...
[7 replies] Last: Thanks a lot. (by fivestar)
by setia
Monty Hall problem solution
How about step by step mathematical solution of game Monty Hall if the program like this ? Please he...
[1 reply] : Double post: http://w... (by chicofeo)
C++ from basic to advance by practice
Hello everyone, Here is a new tutorial C++ from basic to advance by practice, I just started to uplo...
[no replies]
split a string array by delimiter
we have an string array A {12/23/34/45/456/565/.....} that the user is going to enter then we want...
[2 replies] Last: Thank You we will check it (by Maryaaaaaaaaaaaaaaaaam)
Can predicate function be a member function of a class ?
Hello forum, I have a stl list and I need to remove some of the elements from the list based on s...
[no replies]
How to fix the errors my code has
[no replies]
Saving an inventory into a file
Hi, I was trying to save an inventory into a file so I can load it afterwards. I tried using the fil...
[4 replies] Last: Thanks, I think it will be easier to overwrite the operator because of... (by Ismael123)
need help with this program (student information manager with linkedlist)
this code stores information about students (with linked list) , i need to add these abilities to it...
[no replies]
How does new handle structures and classes?
If we look at the following example: struct structure { int _varaible; char _char_var= 'c'; }...
[1 reply] : Heap. (by Moschops)
if/else in for loop
#include <iostream> #include <cstdio> #include<string> using namespace std; //I'm new to c++ a...
[2 replies] Last: ... (by Chervil)
cant deduce type in function template
Hi, in this code when I'm trying to pass this deeply nested class to function it somehow fails to de...
[2 replies] Last: Tnx a lot man, the rule 1 fits my problem perfectly! :) (by etrusks)
Function returns array
i have function that return array and i want to use this array in main () but it doesn't work , Ther...
[4 replies] Last: #include <iostream> #include <string> #include <vector> #include <sst... (by JLBorges)
Triva Game
I'm attempting to write a program for a trivia game, but failing miserably. It's supposed to be a tw...
[1 reply] : Hey, if you look at it your correctnum its never initialized anywher... (by etrusks)
Keeping Score on a Quiz?
Hey everyone, I just made a post regarding a project I'm working on and I have another question. I'm...
[2 replies] Last: Hey, thanks for your advice. I ended up creating variables for each qu... (by gma1818)
Pages: 1... 7891011... 52
  Archived months: [mar2016]

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