Beginners (Page 9)

inheritance & polymorphism
 
I have an exercise where the following class hierarchy must be adhered to:- Base class - Shape then...
[17 replies] Last: It's possibly flogging a dead horse but a few major problems I had wit... (by kemort)
Determining how many minutes have passed using two strings with two different set of time ?
 
Write your question here. Let's say I have two std::string that have two different times like so...
[3 replies] Last: int seconds_since_midnight( std::string t ) // format is hh:mm:ss (24... (by JLBorges)
Minimum moves to rearrange one string into another
 
I want to rearrange string a into string b in the minimum amount of moves. Both strings are of the s...
[13 replies] Last: Thanks for the help everryone (by Code Apperentice)
HELP: determineType with cin
 
I am new to c ++ and what I am trying to achieve is cin a value and make the overloaded functions de...
[4 replies] Last: Something like this, perhaps: #include <iostream> #include <string> ... (by JLBorges)
Sports stats
 
Greetings all, I am trying to create a program that shows sports stats. I have several resources at...
[2 replies] Last: Alright I decided to use a SQLITE database. I already have the databas... (by bigler1910)
[THIS IS HW] - Printing things twice, only need once
 
As noted above, this is HW but I'm hoping someone could help me find out what I'm doing wrong? My...
[2 replies] Last: Thank you!! (by mongoliancowboy)
by F95
Help needed writing a c++ program that handles passenger reservations information.
 
Need to use a class with an array of 10 structures in the private portion of the class and instances...
[2 replies] Last: I'm not allowed to use any quit or exit commands. This is the code I ... (by F95)
Why won't my validation loop?
 
So I am making this program that checks user input for a Customer ID #. Formats that should be allow...
[2 replies] Last: Thomas1965, Yup. I totally overlooked the relational operators. Silly... (by MisterTams)
by nomat
Logic Error
 
Guys I have a logic error in my code and I cant seem to spot it!this program should calculate the ci...
[2 replies] Last: Wow! Thanks Cire it actually works perfectly now! Amazing how one line... (by nomat)
HELP: My 2d array is reporting incorrect inputs. I am not sure why
 
I am having a problem where if I input 1, 2, 3, 4 for each game and i am receiving a different outpu...
[8 replies] Last: Post your current code. and when i change to the same for statement ... (by jlb)
remove duplicates from an array
 
I'd like to make a void function that merge two arrays and delete duplicates then return the size of...
[2 replies] Last: In your code, you aren't copying the first n1 items of arr2. I always... (by dhayden)
fstream: Saving parts of a line into different strings without the white spaces included ?
 
Lets say I have a text file with a bunch of names on it. The position where each element start rem...
[3 replies] Last: You don't need to substring the line into first, last etc names in thi... (by gunnerfunner)
by B260z
Plinko help
 
Hello, I am new to coding and could use some help to understanding what I am doing wrong. I have...
[1 reply] : First of look at line 122 which says int main() { .... } You alread... (by Misenna)
Prog unable to re-enter username
 
Dear all, Newbie here. My prog is unable to re-enter username after do-while loop. please guide me. ...
[4 replies] Last: Hi Gunnerfunner, many thanks. will try to figure out.. (by xingwangzer)
Files
 
Greetins all, I had an idea for a program project but not sure how to get started. The idea is to c...
[9 replies] Last: Hello g8whitebuffalo, It would be helpful if you would post the code ... (by Handy Andy)
I need some help.....
 
" write a program that implements the following C++ concepts 1. Data Encapsulation 2. Instantiat...
[17 replies] Last: The Reports class has member variables such as totalRecords , tota... (by PolloLoco4645)
by sam80
Visual studio C++ and assembly language
 
Hello everyone, I am trying to learn assembly language in C++ MS Visual Studio. In my C++ I have...
[2 replies] Last: consider downloading the free masm to go with your visual studio, if t... (by jonnin)
Interesting problem
 
Okay so I have a set of integers that I enter, I have a number N which I also enter, as well as a nu...
[3 replies] Last: comments within the code: #include <iostream> #include <vector> #incl... (by gunnerfunner)
Need help with the code. Struct and Array
 
Hello, this is my first time using the forum so I wasn't sure where to post so I put it in beginner....
[16 replies] Last: I see. Thank you for your help. It's true that I wasn't pay a carefu... (by silver11235)
Template Functions and typedef
 
I was curious as to what the differences and advantages of a template function over typedef? Mayb...
[4 replies] Last: > I don't have to reassign the data type > because the template acce... (by JLBorges)
Pages: 1... 7891011... 57
  Archived months: [dec2016]

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