Beginners (Page 2)

list::unique
 
Could someone explain to me how the unique function works here ? class pred{ public: bool...
[7 replies] Last: Everything is clear now. Thank you very much :) (by Guzfraba)
BUBBLE SORT HELP
 
Nothing wrong with this code, i just want a quick explanation on the second and third for loops. ...
[10 replies] Last: welcome :) (by shadder)
Arrays, basic Input/Output program
 
Ask the user how many numbers to enter. Enter those numbers into an Array, and then Show them. S...
[12 replies] Last: Glad it helped :) (by closed account 5a8Ym39o6)
String errors?
 
I've just recently tried to make a program using multiple files, mainly just in order to keep things...
[6 replies] Last: Yes I did that before everything else even before the #include's Fi... (by jlb)
by cko221
Only second line of File Input will print
 
I am inputting 2 simple data files into a linked list. FILE 1{ 17 5.25 Adam Parker 18 6.75 John F. J...
[2 replies] Last: > Does anyone know how to formulate a proper ranged for loop? Here (tu... (by closed account 5a8Ym39o6)
Temperature calculation is getting weird result
 
Hey guys, I want to know what I did wrong for my Fahrenheit to Celsius function to calculate the wro...
[8 replies] Last: > So generally, when using double and using mathematical calculations,... (by closed account 5a8Ym39o6)
seemingly simple expression yields embarrassing result. Help!
 
Write your question here. pls can anybody help me with why (212-32)/100 as shown below yield 1 inst...
[5 replies] Last: Does that help? :) (by closed account 5a8Ym39o6)
map won't print output
 
Hi my iterator for my map won't actually print the output for some reason,any idea how to fix this a...
[6 replies] Last: thanks that solved it line 13: At the time you're setting mitr here,... (by adam2016)
How do you stop vectors from getting run time errors while using an index?
 
I know you can do it with an iterator loop, but in this case I need to use an index loop, as as far ...
[3 replies] Last: If you are going so far as to correct his spelling, why not just assig... (by PanGalactic)
using operators in class
 
The goal is to create a class operator that will compare the values of different birth dates. "Overl...
[5 replies] Last: A better way to read the file is while(inFile >> month >> day >> year... (by MZH)
c++ use data in a vector as menu option
 
I have a .txt file that contains 3 lines: Food Drinks Other I read in that file: ifstream i...
[2 replies] Last: The map sounds good. How would I go about it? I've never used a map be... (by ash54546)
pointer to pointer?
 
hey guys,I understand what a pointer to pointer is a pointer to a pointer is a pointer that stores a...
[2 replies] Last: thanks for the reply,that makes a lot of sense now =) (by adam2016)
<< operator not recognized
 
I finally tracked down a bug that seems to be messing with the definition of a string. What in the f...
[2 replies] Last: Wow. I've been staring at this for an hour and missed that. Thanks! (by NimalaMaethorn)
by GonlyG
Blank output explanation?
 
I have to generate a specific prime but I'm getting blank outputs. #include <iostream> using na...
[10 replies] Last: Oh don't worry I managed it using sqrt because there's a proven theore... (by GonlyG)
typing end to return(0)
 
Hi again, working on exercises 4. I have finished the assigned but I'm trying to add new line. I tri...
[1 reply] : Line 36: You're comparing a string to itself. Line 15: You can't t... (by AbstractionAnon)
Drill on chapter, proof*
 
Hello, Thank for the help in past. I have completed the drill/test from the book. It work beautiful ...
[1 reply] : Lines 12,24,67,70: You have extraneous pairs of {}. They do no harm, ... (by AbstractionAnon)
visual studio 2012 error
 
Hi there! 1-I'm faced with this error when I used cin and cout instructions what should I do?? ...
[5 replies] Last: :) (by kemort)
help
 
Write your question here.can anyone corrert my program it has 37 errors :( #include <iostream> ...
[8 replies] Last: Line 29: main must return type int. Lines 33-41: Don't use ;}; to ... (by AbstractionAnon)
Creating random coordinates (1,2)
 
Hello everyone, I am very new to c++. And, I need to create random cordinates. I need to have my ...
[24 replies] Last: Hello everyone, I am very new to c++. And, I need to create random c... (by kemort)
File cannot be opened
 
Write a program that reads students’ names followed by theirtest scores. The program should output...
[11 replies] Last: Thanks a lot guys, finally got it. Appreciate it (by kakrot97)
Pages: 1234... 47
  Archived months: [may2016]

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