Beginners - October 2013 (Page 58)

How can I make this program tell me all the pythagorean triples with no repeats?
 
I'm stuck on how I should make this program loop correctly to make it show all the triples of the py...
[9 replies] Last: I think I got it... I was just overthinking a lot of things but I unde... (by Emma Naylor)
"If while" statements problem
 
When I run this program, it lets me enter in all the variables, but then it starts a new line and wo...
[no replies]
by wolfv
Pass data from child to parent?
 
The following inheritance example works for the application I am working on. The parent gets the chi...
[1 reply] : I understand part of what you are doing, and I certainly understand wh... (by Stewbond)
Understanding Code/Class definition
 
Hi, I'm trying to understand how the following declaration works. First class name1::name2{}, how d...
[1 reply] : class name1::name2{}, how do I interpret that It is a qualified name ... (by MiiNiPaa)
by Yugaeh
Isdigit for checking number/letter
 
I'm doing a program that when letter/s is/are entered the program will not acknowledge it and it wil...
[1 reply] : Firstly digits are 0-9 ( lines 11-20 ). Secondly isdigit function is u... (by giblit)
Help with switch and sorting
 
I need to create a program that computes terms of the fibonacci sequence both recursively and iterat...
[3 replies] Last: @NwN On your last snippet, I would consider replacing int highest=0, ... (by booradley60)
Map nested in a map
 
I am trying to nest a map into a map. However I do not understand how can I insert something in it? ...
[7 replies] Last: I figured out the problem.. i need to use the iterator of the map_data... (by noisycoder)
What is wrong with my code
 
I am really new to the C++ programming. I have a code that was done but for some reason I cant get ...
[no replies]
What is wrong with this? Array issue.
 
The assignment is to truncate the decimal for each number, which I did by assigning an integer value...
[6 replies] Last: Wow, I can't believe I didn't notice that. You're a life saver, man. T... (by Cryptik)
How NOT to Ask Questions (For Dummies)
 
Feel free to add more excerpts. Excerpt 1 Guys, I need to find the sum of all the multiples...
[3 replies] Last: Articles: How to use code tags http://www.cplusplus.com/articles/z13... (by Chervil)
Why my program read files incorrect
 
Hello i have a really seriuos problem. My program reads files incorrect Why? Here's my txt file T...
[2 replies] Last: Ok SamuelAdams, I have uppladed all my program there http://www3.zippy... (by deividas717)
Alignment and columns in C++ Problem
 
Hiya guys, Well I need some answers regarding alignment. I have read a bit about it but I can't s...
[7 replies] Last: He wants it to be aligned to the left. Something like 10 width and val... (by giblit)
Help with output file formatting
 
Hello all, hope you all are well. Here's my problem: Write a simple text-formatting program that r...
[3 replies] Last: You need to read in one word at a time. Then check the size of the st... (by SamuelAdams)
by Ruoter
Put condition on int about its range
 
I made a program which gives grade after checking marks. The condition i want for the first if state...
[2 replies] Last: oh... that was much simpler than expected. :D thanks (by Ruoter)
by Anna22
undefined reference to neededPaint()
 
What does 'undefined reference to paintNeeded()" mean here? I'm trying to call the function from th...
[2 replies] Last: Now I get too many arguments to function "void" with paintNeeded(are... (by Anna22)
Cant find the error(s)!!!
 
The assignment is: Write a program in C++ that inputs a value into a variable n and outputs the cube...
[2 replies] Last: "Write a program in C++ that inputs a value into a variable n and outp... (by jvjvalerio)
by ephekt
overloaded bool operator
 
can someone please tell my why this is not working? It is telling me "expected primary expression be...
[6 replies] Last: awesome thank you that makes it a lot easier to understand. I now see ... (by ephekt)
by Codeez
adding to map< string, <vector<string> >
 
One of the exercises in my book is Define a map for which the key is the family’s last name and ...
[2 replies] Last: Thanks. Yup I can use initializer lists, I just assumed they wanted us... (by Codeez)
Output Problem
 
My program is supposed to read from an input file and output the minimum value, maximum value, the m...
[3 replies] Last: I tried setting the min to the max value and now it works. Thanks for ... (by BrotherFromAnotherMother)
string problem
 
This question is about a class and I did good but my problem is when I am giving information from ke...
[no replies]
October 2013 Pages: 1... 5657585960... 86
  Archived months: [sep2013] [nov2013]

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