Beginners - October 2015 (Page 30)

Calculating Rate of Shipping Company program
 
The Fast Freight Shipping Company charges the following rates: Weight of Package (in Kilograms)...
[1 reply] : I have no idea what you are doing wrong either, excluding your origina... (by closed account 48T7M4Gy)
by Edgy
Comparing Integers to Same Array Twice
 
I know where the problem is but am still confused. When I run this program the lastCloseness varia...
[1 reply] : See line 82 and comment on line 81. (by helios)
Error C2679. Need help fixing it.
 
Hi! I'm trying to write a simple code where I test the inheritance of a class and two derived classe...
[4 replies] Last: Sorry I called the function wrong. So this is it: int main(void) { ... (by brownjas)
C++ errors
 
Heyo, I'm new to C++ and I'm having trouble having the function grab two random integers between ...
[6 replies] Last: How, in the generation, can I exclude the previous outputted numbers? ... (by Rhenzo51)
by bigjes
using enum indexed array
 
I'm attempting a program with an array indexed by and enum. I will need user input to determine whic...
[4 replies] Last: My fear is that he may think that I've "stolen" the code. However, if ... (by bigjes)
stack
 
Hello everyone. I'm now writing a code that does some actions with a stack. Actually it's ok, but I ...
[2 replies] Last: Thanks so very much. Sorry for the delay (by The suffocated)
Switch Statement Won't Run?
 
I've been working on this code for hours trying to find a reason why my switch statement won't run a...
[2 replies] Last: Ahh yeah my professor did say something about Case C not going to be n... (by dvarona1)
PayStub Help
 
}
[5 replies] Last: Thank you for the help kbw. I am sorry it did work. (by jolley1002)
For Loop Confusion!
 
Hello, Im working through some for loops trying to get the concept in my head but unfortunately I ju...
[3 replies] Last: @zacklucky: actually I wouldn't have the asterisk printing code inside... (by LB)
Help me, to search factor O(log n)
 
can you help to search how many odd number at Numbers of Factor ex : number 8 have factor 1,2,4,8...
[1 reply] : http://www.cplusplus.com/forum/beginner/27855/ just adapt it to consid... (by ne555)
NEED ASSISTANCE WITH ERRORS
 
Write your question here. // ImageComponents #include <iostream> #include "Position.h" #include "...
[4 replies] Last: You've made Q templated on int , so Q->dequeue() is going to retu... (by MikeyBoy)
NEED ASSISTANCE WITH ERRORS
 
The following code is giving me the following error Error description : Unhandled exception at 0x...
[2 replies] Last: Line 81 (ImageComponents): here will never be NULL while x might b... (by coder777)
How can I delete a node from anywhere in a linked list?
 
I know how to remove a node from the front of a singly linked list, but I have no idea how to remove...
[10 replies] Last: Change line 27 to check whether removeAge is the age in question. Als... (by dhayden)
How to exit when different data type is entered.
 
Hello I'm currently trying to write a program that prompts the user to enter alphabets (letters: ...
[2 replies] Last: Also, is there a way to do multiple assignments within one loop, for ... (by coder777)
exception not working
 
Well it sort of works but only with integers... The problem is that as I soon as I put a character o...
[7 replies] Last: It makes no sense to throw and catch within the same place. why not li... (by coder777)
Trying to compare two files, each with two datasets, line by line to look for similarities in one dataset [Homework]
 
I have two files, HourlyRate.txt and HoursWorked.txt each file has an employee ID number, and either...
[1 reply] : You can solve that with stringstream: http://www.cplusplus.com/refere... (by coder777)
Question: Prompt user for a list of numbers.
 
Hi everyone, I would like to know if it's possible to write a program that will allow the users to ...
[1 reply] : Something like this? #include <iostream> #include <vector> #include ... (by Ch1156)
loops, arrays
 
So I am trying to save 15 user entered numbers into an array (to eventually find the average of them...
[2 replies] Last: Wow, thank you! (by b29hockey)
What is the purpose of bool?
 
Hello, I just want to ask a question, as a beginner in c++ programming what is the purpose of bool? ...
[1 reply] : This code hasn't been completed nor is it close to, compiling will sup... (by Radar)
October 2015 Pages: 1... 2829303132... 57
  Archived months: [sep2015] [nov2015]

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