Beginners - April 2014 (Page 19)

finding the average using an array?
 
hi i need help finding the average using numbers from an array. this is what i have so far. please h...
[3 replies] Last: ok just finished it up thanks a lot (by JulyZerg)
Explain Program count chacracter, please
 
when i start running the program, i can't exit while loop when input character, so the program isn't...
[3 replies] Last: Ok, Thank all (by CongDao)
How to ignore extra data inputted by user
 
I can't believe how long I've spent on this... Problem asks for user to input a 6 digit account # an...
[4 replies] Last: #include <iostream> #include <iomanip> #include <cctype> int main() ... (by JLBorges)
Trying to understand lists
 
For my homework in C++ I am required to complete a program provided by my professor. The first part ...
[19 replies] Last: If I want the program to print the words in alphabetical order but wit... (by mrspam)
by Subo93
Read and select a data from a file
 
when I input rn,i dont get any output.. in Africa.txt i have saved 1 Su 1000 1203 20.3 2 Qu 390...
[7 replies] Last: Thanks.. it works... thanks for your time... ! (by Subo93)
How to get my if statement to repeat
 
Basically the question is "Chocolate Delights Candy company manufactures several types of candy....
[2 replies] Last: The program runs correctly only displaying the last cout if the input ... (by darthaq)
Finding spaces and digits
 
This is only part of my code but I need to check the input of inPin and make sure the user only inpu...
[1 reply] : look at <cctype> (by Little Bobby Tables)
by Subo93
If statement
 
How can I correct the error .. $ g++ -op p.cpp p.cpp: In function ‘int main()’: p.cpp:13:20...
[2 replies] Last: Thanks.. (by Subo93)
Two input streams into a function
 
Very noob question: Two input streams and one output stream. It reads the characters from each of th...
[6 replies] Last: "It reads the characters from each of the two inputs and compares them... (by siphenx)
NEED HELP Please
 
This program is supposed to find the sum, min, max and if its odd or even. Must ask the user to inpu...
[1 reply] : BlueWizard, you asked about this program already. If you have more que... (by PrivateRyan)
by Baso
C++11 before old C++.
 
Would it be okay to start learning C++11 or I have to learn old C++ first?
[2 replies] Last: The question doesn't really make sense. They are both 'C++'. The only ... (by TwilightSpectre)
Prime factors using stack
 
Write a program that uses a stack to print the prime factors of a positive integer in descending ord...
[2 replies] Last: Can you use a sieve to generate the prime numbers then add to stack? A... (by giblit)
Sorting strings
 
Write your question here. Write a method to sort an array of strings so that all the anagrams are n...
[2 replies] Last: Thanks a lot. It is clear and understandable. (by andrewlin2011)
For loop declared variable reference
 
Hello all. I'm writing a simple function to calculate the co-volume parameter for a mixture, but I c...
[1 reply] : Put each type (p1-p7, b1-b7) into a seperate array/vector and access t... (by Hippogriff)
by venros
Recursion Function with an Array - Help
 
Hi The first time the function recurses it changes the searchValue to 1 instead of 5, I really ne...
[3 replies] Last: That's good! you are welcome! (by eyenrique)
by bozz51
Help1
 
How can I display my eight numbers in three columns? 12 13 15 17 18 15 18 19 I get them t...
[8 replies] Last: Chervil, Again thank you... (by bozz51)
I need Help with my code please
 
I am new to c++ programming and at the moment I am using windows.h to make a simple RPG game. At the...
[no replies]
what is best used in a loop
 
What is best used to regularly add and remove integers, such as array, vector, list or other? but it...
[3 replies] Last: it depends on where you are removing/adding. There is push_back and po... (by giblit)
How to write on text file
 
I want to have this output on my screen but my code is not working correctly, could anyone help me f...
[no replies]
LNK2019 and LNK1120 error
 
I am writing a program that implements merge sort for my C++ class, and receive LNK2019 error for an...
[1 reply] : Update: I now see that I cannot template main(), so I remove that temp... (by RobertErvin)
April 2014 Pages: 1... 1718192021... 67
  Archived months: [mar2014] [may2014]

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