Beginners (Page 71)

For loop will not accumulate correctly
I'm trying to design a for loop that makes a calculation, stores it to a value, and then does the sa...
[7 replies] Last: Yeah I thought that might be the case. Stick with what you had but the... (by kemort)
by isom03
Fibonacci Lab
In my class we were asked to create a program that outputs a whatever fibonacci number the user want...
[1 reply] : Boolean is true or false... So you can make a bool variable and defi... (by pearlyman)
help with 2 counters for class assignment
I had to create a automated highway patrol system for my class and I am stuck with the counters. I h...
[15 replies] Last: You need one more function in this program... line 73 add: CheckPlat... (by pearlyman)
Need help with sentence printing in Special characters
C++ I need to know how to print a sentence out with special characters so if I was to enter "How ar...
[7 replies] Last: Are you provided with a template for the letters? (by cire)
Int Validation
When utilising ifstream how to I check if the right integer was input? (ie. the input has to be an ...
[2 replies] Last: gets (by hdj)
cant find problem
hi i cant seem to find what the problem with the code below is i keep getting the error that i'm mis...
[2 replies] Last: You did not supply data.h, so it is impossible to duplicate your probl... (by AbstractionAnon)
by aixth
Simple inventory program - no operator matches these operands
Hey, I'm trying to make a simple inventory program, but whenever I run it, it starts to say no opera...
[1 reply] : setfill << (' ') setw(15) One of these things is not like the ot... (by LB)
C++ code
Write your question here. Can anyone help me solve this C++ code? I only know how to write the firs...
[1 reply] : (by chicofeo)
by Andym
Class Inheritance
From what I have and read, a derived class can access all of the non-private members of its base cla...
[8 replies] Last: As B::code is private, it is not visible to D. But D carries around B... (by Andym)
by eazye
Performing calculations on loaded arrays
Hello everyone, I've recently started a programming course and for my first assignment, I was asked...
[4 replies] Last: Hey thanks, I ended up using a vector and it turned out much simpler, ... (by eazye)
by wongd4
Batch Processing Incorrect Output
I have a file with the integers 17 24 3 247 -5 49 and the assignment is to read the numbers and dete...
[no replies]
by prgnub
classes, array of objects, member functions, instantiation. stuck on second input
Good afternoon, This is totally a homework question and I have the code written and it compiles and...
[6 replies] Last: cire, you called it! Ran the code in xcode and it gave me a warning o... (by prgnub)
C++ using functions to deal with arrays?
Hi, I'm pretty new to C++ language and I have a question about this code as it has been driving me c...
[1 reply] : You told your compiler that populate_array returns an int , yet you... (by LB)
by C0UG3R
How to initialize a Queue (linked list) and insert an element?
I have an assignment where I have to create a linked list and add and remove items from it. I'm havi...
[no replies]
String, Multidimensional Arrays
Im doing a programme with a menu that allows the user to update the working hours of 10 people. im u...
[5 replies] Last: I see. Thanks for the help! (by windeclipse)
if statements question help
I'm kinda stuck on how to write the if statement for the following situation: Let say this person p...
[4 replies] Last: for the second one. Here is an example: if (game1score is higher tha... (by chicofeo)
Confusing Output for Values Array
I'm really confused by the output I'm getting for these two bits of code in Visual Studio. Please No...
[2 replies] Last: Ah. Wow. I wasn't aware that there were optimization options available... (by Inquisitor01)
How to stop taking in input once "done" is typed
I was trying to write a code to find the average of the numbers entered by a user. I stored them in ...
[1 reply] : (by MiiNiPaa)
Error in if Statement
I'm writing a program from my C++ class. Its called Software Sales. It wants me to write a program f...
[3 replies] Last: I suggest you to use or and not instead of || && ! so your mistake... (by ne555)
Coding an Attack On Titan game... confused with polymorphism
So I would REALLY HATE to program this whole thing in order to find this isn't practical/doesn't wor...
[no replies]
Pages: 1... 6970717273... 104
  Archived months: [sep2015]

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