Beginners - March 2017 (Page 6)

How to have classes working together
 
I'm getting error codes - Line 20 - error: 'text_output' was not declared in this scope Line 28 - ...
[8 replies] Last: I also don't know about static and why the second option works http:... (by gunnerfunner)
Returns not working - Telephone Assignment
 
Having problems here. I've been trying to work this out on my own for the last several days but it'...
[1 reply] : Alright - I can get the if statements to check but I don't know how to... (by jen23il)
Dynamic Arrays of Students
 
Hi! I'm a little stuck in this project I am trying to program that acts as a class roster. My plan w...
[6 replies] Last: A vector IS a dynamic array, a fixed-sized array and a vector both ord... (by closed account E0p9LyTq)
Coin Class Issue. Unable to get correct read out.
 
I am having an issue with my program. The object is for two coins to be flipped simultaneously and t...
[6 replies] Last: Thank you very much I appreciate the assistance. (by rcwade93)
Errors in Code
 
There are errors in my code at lines 37 and 40 and i'm not sure how to fix them/ what I did wrong ...
[2 replies] Last: I just updated the code but it still doesn't work #include <fstream... (by TommyGun4)
by val24
Doubly Linked List Node Deletion
 
Hello everyone, I'm having problems with deletion of a single node within a linked list. I have a po...
[8 replies] Last: HAH! A damn semicolon. Well that's something I didn't know would happe... (by val24)
Why am I only returning 1?
 
I've pasted my entire code (minus the header), but the focus is simply lines 130 onward in both file...
[1 reply] : Hello ccwtree11, I noticed that you started your question with a gree... (by Handy Andy)
Help with a for loop?
 
I need help writing a for loop. For example, let's say the code has the user enter the number of tim...
[3 replies] Last: No problem. Learning everything takes time (by bmakloski)
Help with Overloading Operators for Polynomial Class?
 
Hi, I am trying to write a program that can add, subtract, and multiply polynomials with my class ty...
[2 replies] Last: I didn't know this was a double post, this is where my program current... (by bmakloski)
by Angel1
least Common Denominator somewhat works
 
hi guys, i have a problem when i insert two numbers that are negative , the answer is zero. i know t...
[6 replies] Last: Alright I understand, thank you guys. (by Angel1)
Runtime Vector Error
 
Hello all, I am trying to create a vector of integers of random size, and random numbers. I have ...
[2 replies] Last: Thanks so much for your help! I made a temporary vector within SystemD... (by patrick58d)
by Ponvo
How can I implement templates here?
 
Hello guys, I am currently working on an assignment that is due in 3 days. The program is supposed t...
[5 replies] Last: Consider using std::valarray<> to implement numeric operation on mat... (by JLBorges)
how to edit particular data in file
 
i have this data in my file 1234 Alex 4th 3 1235 Sam 4th 3 1233 Salman 4th ...
[1 reply] : you'll find some ideas below but the best way would be to read the inp... (by gunnerfunner)
by Angel1
Case doesnt work
 
hi guys , just wondering why doesnt case 4 run in the program. Can you please help me by pointing a...
[11 replies] Last: Im doing almost the exact same problem how did you do case 5? this is ... (by cantgetrignt)
cannot find data in the file
 
is anything wrong with my code void display() { bool check = true; ifstream file; fil...
[1 reply] : ouh i fix it i don't need to use cin.ignore() , file.ignore(); (by bird1234)
Using structs and Reading from file
 
I am creating a simple address book that reads a file and allows user to search by name, phone, or a...
[5 replies] Last: Thanks for all of your help! (by tayloras96)
by Troix
Calculate time difference
 
Hello! I would like to calcualte the time difference: #include <iostream> #include <chron...
[1 reply] : http://en.cppreference.com/w/cpp/chrono/duration (by closed account 48T7M4Gy)
Matrix help!
 
I keep getting a segmentation fault with this code. Help is appreciated. #include <iostream> ...
[2 replies] Last: Gearmaster I run your code in Visual Studio, and I can shows that you... (by xxvms)
Error with void
 
I am a beginner in C++ and I am attempting to write a code. However, after writing the code I was to...
[2 replies] Last: omg thanks a lot >< that's such a silly mistake from me. >< Thanks! (by seutaclarice)
What's wrong with my code
 
The question is. When Robin's new baby was born, she opened a savings account with $1,000.00 On eac...
[3 replies] Last: lvalue required as left operand of assignment We can't say without... (by mbozzi)
March 2017 Pages: 1... 45678... 36
  Archived months: [feb2017] [apr2017]

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