Beginners - September 2016 (Page 23)

Cant understand why formula wont work
 
I'm trying to write a program that returns the Artithmetic, Geometric, and Harmonic mean of 5 intger...
[4 replies] Last: YES!!!! Thank you! (by marc4120)
by JayneL
Calculating discounts and totaling - undeclared errors
 
I am working on the following practice project for C++, VS 2010 - Write code for the following ...
[no replies]
2D array of zeros
 
I want to create a 2D array of zeros. Can I do this or do I need to use a loop? int numbers ...
[7 replies] Last: @cpp1024 You're welcome... (by whitenite1)
Need help!
 
I am currently working on a code for a class I have and have been reading the text book and searchin...
[2 replies] Last: Thanks for the Help I actually found out the answer myself. I had to s... (by KnowAlotOfNothing)
Entering a certain amount of values in array
 
I am trying to enter at least 5 and not more than 10 values in an array. When the user enters -1, th...
[no replies]
Yes/No questions with If/Else and char
 
Hi! Obviously Im pretty new to this but I would really appreciate some help. My assignment is ...
[2 replies] Last: The closing brace at line 19 matches the opening brace at line 6. They... (by Chervil)
by st4evr
Program Struct Of Addresses Call Array Into Function
 
Hello everyone, Beginner C++ student here starting to learn different ways of using arrays and a ...
[no replies]
Recursive algorithm for the minimum
 
Hello, I tried to create a recursive algorithm for finding the minimum but it does not work, I do no...
[2 replies] Last: I do not understand what the problem is. On your first call to Minim... (by keskiverto)
Calculate the next sum recursive
 
Hello I have to calculate the next sum recursively : S= 1! + 1/2! + 3! + 1/4! + 5! + 1/6! + ........
[3 replies] Last: [quote=thedoctor2707]So? what should I change ? Lets start with some... (by keskiverto)
by louser
Adding Arrays to existing code
 
Hi all, I hate to ask a homework related question but I am stumped and can't figure out how to ad...
[10 replies] Last: @louser Maybe this will help. I added in arrays for your customer, fo... (by whitenite1)
How to send keystrokes to different windows
 
Hi everyone, I don't understand how to send keystrokes to different windows. I've got to the poin...
[no replies]
Calculate the next sum recursive
 
Hello I have to calculate the next sum recursively : S= 1! + 1/2! + 3! + 1/4! + 5! + 1/6! + ........
[2 replies] Last: Does this look the same? 1! + 1/2! + 3! + 3/4! + 5! + 5/6! + 7! + 7/8... (by thedoctor2707)
How to insert objects in map c++
 
I don't know how to insert my objects in map.I know how to introduce items in the list , but not in ...
[1 reply] : http://stackoverflow.com/questions/97050/stdmap-insert-or-stdmap-find ... (by keskiverto)
Help Having trouble reading/writing data through structures
 
I'm trying to pass a list from a text file through a function using a structure then output the data...
[5 replies] Last: Here is an example to to read and write a struct to a file. #include... (by Thomas1965)
Help with looping a discount(I think)?
 
My problem/What I think I need to do: My code satisfies the 15% discount with the loyalty card an...
[3 replies] Last: welcome :) (by shadder)
Overlapping Rectangles,
 
#include <iostream> using namespace std; int main() { int rect1_Xa, rect1_Xb...
[5 replies] Last: I don't think the problem is on initializing the min and max, because... (by dhayden)
Differences
 
I am stuck on why *("Harry" + 2 ) and "Harry" have the same output (r) but "Harry" + 1 output is (a...
[1 reply] : The difference is that the first cout is a pointer while the other are... (by coder777)
Inheriting methods between classes
 
I have 2 classes that inherit from a liked list type structure I have written. The 2 classes work mo...
[1 reply] : if u want the same function which is returning the same as basiclist"c... (by sylphsang)
If else statement won't work.
 
No matter what I put in for "room" it outputs "the number of students exceeds the limit." Could som...
[7 replies] Last: Why you didn't use Switch-case? Its faster and more readable. switc... (by Farshad Aroon)
by Phil15
Trying to copy arrays.
 
Hi guys, was trying to copy over 1 array into the other with an element inserted. The output for ...
[1 reply] : Never mind my stupid mistake of printing incorrect staff. Sorry guys. (by Phil15)
September 2016 Pages: 1... 2122232425... 34
  Archived months: [aug2016] [oct2016]

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