Beginners - December 2017 (Page 16)

undefined behavior output in deque
 
Write your question here. #include<iostream> #include<deque> using namespace std; deque<string>...
[4 replies] Last: thanx a lot Peter <3 (by zeroblank)
finding largest column
 
For the array created I'm having a problem finding the largest column. #include<iostream...
[1 reply] : Line 65: sum += a ; should be sum += a [ i... (by lastchance)
Rental System
 
Guys I need help coding a car rental program. I wanted to know how to make the program update the...
[1 reply] : Keep a record of which cars have been booked for the day. You could do... (by Repeater)
C-string vs string objects
 
Hey guys. Although I use this website frequently I've never actually needed to make a post. Anyways,...
[9 replies] Last: If you are using Visual C++ then use CString; the CString Class is act... (by Bater)
HELP WITH PROJECT c++ (Array, string file, sort)
 
Okay, I have this project due today. I have written the codes. I need to read a .txt file and put ...
[2 replies] Last: Thank you so much. Although i don't what std: i see the pattern of th... (by trazafin)
i need help aboutmaking matrix array
 
hi guys. i need a array like 'int array ;' this array will contain 1 to 100 numbers. every nu...
[2 replies] Last: #include <iostream> #include <iterator> #include <numeric> #include <... (by JLBorges)
searching array of a template type
 
Hello everyone, I'm trying to search an item in an array of the same type in the function searchFo...
[5 replies] Last: template <typename InputIterator, typename T> InputIterator searchFo... (by mbozzi)
question in array
 
question can how can i add new elements in an array that already has existing elements?? im adding s...
[7 replies] Last: constexpr size_t Capacity = 15; size_t size = 0; std::string words ... (by keskiverto)
Help with Search Funtion
 
Hello, Really new to this topic. I have to read the data from one file, which i was able to due, ...
[11 replies] Last: Code is listed here due to size. #include <iostream> #include <fst... (by sr2cute702)
[Error] expected primary-expression before ']'
 
Hi there; I'm working on this code for school and I got pretty far but now I'm 100% stumped. I keep ...
[1 reply] : Lines 72-74: You can't assign arrays like that. Call your setters. (by AbstractionAnon)
by ebba
intro to string classes/function hw
 
It's finals week and I admit I didnt study enough for this chapter. We are learning about string cla...
[1 reply] : I put together this monster and it just feels hideously clunky (altho... (by jlb)
Need help!!
 
Hello everyone, i wrote a program and there are few errors that i can't fix. Please help me correct ...
[2 replies] Last: Line 38: a is an uninitialized variable. Line 40: This is undefined... (by AbstractionAnon)
Why is the output going to be 3?
 
Sorry for the many questions. I am studying for my final in a week and i am going over my midterm. ...
[1 reply] : Note that it outputs the counter and not the number. It is essentially... (by Peter87)
Assistance with assignment question
 
Write a program that prompts the user for a value greater than 10 as an input (you should loop unti...
[5 replies] Last: http://lmgtfy.com/?q=java+help+forums (by AbstractionAnon)
I dont know how to make the question stop popping up
 
I have to write a program that uses a loop to get the sum of all integers from up to 1 entered. For ...
[1 reply] : Line 9: This is only rejecting numbers less than 0. You stated you w... (by AbstractionAnon)
Finding input in textfiles!
 
We are making a program where we input a name, social security number, salary, month for that salary...
[4 replies] Last: The next problem after that is searching from a certain month and a ce... (by Jaggy1997)
book rental program
 
Hey guys im really stuck with this problem!!Need Help!I very confused on what approach I should take...
[2 replies] Last: You need a few variables int quantityBooksinStock; // keeps track o... (by fiji885)
Student Grades 2D Arrays
 
WriIn your program you are going to save 3 exam grades (Exam 1, Exam 2 and Exam 3) of 5 students in ...
[2 replies] Last: It looks like you are close to done. The only thing you have left to ... (by JayBari)
by f2200j
arrays
 
The question is long so just posted the link of the question http://www.chegg.com/homework-help/q...
[1 reply] : ¿why so much whitespace in the code and why the random line breaks on... (by ne555)
Simplifying Tests
 
Hello! I've got this one bit of code from a test my teacher gave me a while back, and after finishin...
[3 replies] Last: That's not the only place where you have a redundant test. Look, for ... (by MikeyBoy)
December 2017 Pages: 1... 1415161718... 23
  Archived months: [nov2017] [jan2018]

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