Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duoas)
Adding 90 Days to a Date
 
So I have a program that is supposed to have a user input a date, calculate tomorrow's date, yesterd...
[1 reply] : Nobody? (by hookster007)
cannot convert argument 1 to something error
 
Im having problems trying to figure out how to fix the errors that is happening on line 39 40 52. I...
[no replies]
Really need advice as to why this isnt working
 
Write your question here. am trying to write a program in C++ that emulates a college enrollment s...
[no replies]
BinaryFiles and infinite loops
 
So, if I just input spaceless data into the 'edit' string it works fine. As soon as I input a senten...
[7 replies] Last: Then don't enter any spaces when using the extraction operator since i... (by jlb)
by abeke
Soccer Game. Please help.
 
Write your question here. #include <iostream> #include <ctime> #include <cstdlib> using namesp...
[no replies]
Sorting and Swapping with Pointers
 
These are just the reference instructions for this project(question is after subscript) : Create ...
[4 replies] Last: Let's start with the Sort function. There are 2 conditions when a swap... (by fun2code)
Trying to get the calcuation for the expenditures to work.
 
I want to make a program for a students monthly budget but I can get the calculation to work. I know...
[2 replies] Last: Ok thank you. (by Berseker)
Problem with string class
 
Hello everyone. I've been trying to create my own string class, but I've encountered some problems w...
[2 replies] Last: @FurryGuy I usually use that, but I wanted to make one for practice. (by jgg2002)
exchange a symbol
 
we want to replace every ',' with '/' from '(' to ' ) ' in a string called A which user enters ...
[2 replies] Last: the most simple way to do this is to find the indexes of '(' and ')' i... (by jgg2002)
by teok
String manipulation
 
Hi I got a simple question which Im having an hard time getting to work. Lets say I have a string...
[1 reply] : http://stackoverflow.com/questions/5891610/how-to-remove-characters-fr... (by Thomas1965)
by aff
Recursive function with two different data types
 
Hi, I am having problems with generating a simple recursive function bool intTest(int n, char c) th...
[2 replies] Last: Solved, thank you!!!! if ((n/10) > 0) return (intTest((n/10),c)); ... (by aff)
Overloading operator and ostream
 
In my program I'm trying to override == operator and also stream operator <<. I have some errors in ...
[9 replies] Last: I guess we can't have it both ways without writing another ctor or som... (by fun2code)
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)
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)
Hanoi Tower puzzle with vectors
 
Hello, I am trying to implement a Hanoi Tower puzzle with vectors in C++. I specifically have to us...
[4 replies] Last: That's great. I wouldn't mind seeing the changes you made, as I'm tryi... (by whitenite1)
Pages: 123... 46
  Archived months: [mar2016]