Beginners - November 2016 (Page 28)

would like to exit loop with Y/n
 
Hello, everything works but I am having trouble exiting the program and having the user repeat the s...
[9 replies] Last: Your final code, it is. #include <iostream> #include <string> using ... (by CarolStar)
OutFile not working
 
Hello everyone, I am new to c++, I am working on a project for school (completed) the only piece I a...
[7 replies] Last: IT WORKS!!!!! Thank you guys so much!!! (by asper18)
Almost There
 
In line 19 the inputs should be displayed in descending order but it remains the same as ascending a...
[1 reply] : void Sort(double& number1, double& number2, bool ascending) { if (as... (by gunnerfunner)
by userco
unsigned/signed error code
 
I am suppose to convert all 1st letter of each word in a sentences. This is the function I created...
[6 replies] Last: when i input a sentences to convert it isn't converting why isn't my m... (by userco)
by nu123
multiplying final value
 
hi there can anyone help me with this. i found this program on the internet and have changed it a bi...
[2 replies] Last: i had put in the wrong code sorry, i had put up one i had been messing... (by nu123)
by bobby5
writing class for restaurant check
 
Hi, im having trouble writing the class for this homework assignment and im hoping you guys can help...
[no replies]
Reading txt file into an array of strings
 
Hello, I've been trying to read a txt file into an array of strings for quite some time. There are a...
[1 reply] : I ended up figuring it out. Here is the correct code that runs. ... (by parkhill)
Vectors and strings
 
Okay so I have to write a program that will read in a line of text and output the number of words in...
[8 replies] Last: yes that did it thank you, I just hope that rest of my code works now. (by StevenHans96)
Help w/ avg, sum, num from file.
 
Struggling to get the program to work correctly. I'm needing to read a file and count the numbers, f...
[1 reply] : Well my sum and average is working but having issues with the count. H... (by ret squid)
by Kiramy
Numbers of palindromes
 
Can you please tell me what i did wrong? I have to enter some numbers and then to find out if they ...
[2 replies] Last: Thanks gunnerfunner! Now it works :D (by Kiramy)
Erasing an element from Vector<Vecter<short>>
 
Hello, I ask if any one knows how it is possible to erase a random element in the vector< vector< ce...
[14 replies] Last: Actually I am moving this to another thread. (by CelestialX)
by nu123
add numbers apart from last
 
hello there. I'm new here I may trying to write a c++ code that will add all of the numbers together...
[3 replies] Last: that's brilliant thanks. i was trying to figure it out for ages. i hav... (by nu123)
What should be learnt first, GUI programming with Qt or game graphics programming with Opengl?
 
After learning cpluplus for 2 years now,i am migrating to learn GUI and game programming with openg...
[4 replies] Last: thanks (by MrPercy)
Getting loop code to output.
 
Hey so I am new to C++ and have been trying to write a piece of code that would sudo encrypt some te...
[7 replies] Last: Fair enough, I will stick to VS for now until I stop making so many mi... (by WULTKB90)
structure and file
 
Hi there, I have to create a structure which includes student last name, his average mark and cipher...
[8 replies] Last: Well, I made the first mistake because i wanted to rewrite the program... (by WilliamMorris)
file to print single words per line
 
I'm trying to print each letter from a data file (will show data). but my program just ends up prin...
[2 replies] Last: Hello awesomesause. As gunnerfunner pointed out you are trying to rea... (by Handy Andy)
Using Threads (Creating connecting etc)
 
I am trying to get cin on a different thread so that the cin will run without interfering with the c...
[1 reply] : I've figured out the threads now and got the thread running yet the re... (by ExSanity)
by ypamc
Find the sum of columns in a 3*4 matrix
 
I dont understand why this is wrong. I have to use the header given to help find the sum of the e...
[1 reply] : #include <iostream> using namespace std; const int SIZE = 3; double ... (by ypamc)
by cpp82
subset handling in bitsets
 
My program deals with lots of bitsets that includes comparing subset of one bitset with another subs...
[1 reply] : Though iterators won't work with bitsets you can compare the subsets i... (by gunnerfunner)
Reading a file into an array
 
Trying to read from file into an array. Don't understand what this error is, "no matching function f...
[1 reply] : line 21 sales_file >> sales ; //semi-colon added sales_file is th... (by wildblue)
November 2016 Pages: 1... 2627282930... 44
  Archived months: [oct2016] [dec2016]

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