Beginners (Page 59)

by iluv41
guessing game question, calculate games won?
 
I cannot get this to accurately calculate the percent of games won. I tells me 0% even if i did win ...
[4 replies] Last: nvm (by iluv41)
writing my first oop code and having issues...
 
My code has compiled, however when I am having trouble finding out why it is not working properly. ...
[2 replies] Last: right off the bat it is saying the list is sorted when there is no li... (by helios)
Money Change Program
 
I don't get why the bills aren't working, but the coins are... When I enter 50 in, it says 5 tens, w...
[1 reply] : The code is assigning values to those other dollar note variables that... (by wildblue)
class separate interface from implement.
 
3 errors on client code undefined reference to GradeBook::GradeBook( std::string name ) can you...
[1 reply] : http://www.cplusplus.com/forum/general/113904/#msg622055 (by ne555)
Better way to handle this long if, else-if structure.
 
Hi all, I have a project that started out with a pretty simple if, else if structure, but over ti...
[3 replies] Last: You could use std::map . You'd use input as a key, and look up for, l... (by MatthewRock)
Precision of variables
 
Hello, I am writing a program to calculate Newtons Method and I want to use 10^-6 (0.000001) as my ...
[2 replies] Last: 1e-06 is the same as 10^-6. (by giblit)
Text Based Game help
 
Write your question here. #include <cstdlib> #include <iostream> #include <string> int na...
[7 replies] Last: No doubt, that writing code is the BEST way to learn code. the only re... (by Chillieman)
How to print??
 
Okay so I am trying to print four words and four numbers every line. Since there are conditions atta...
[1 reply] : int counter = 0; for(i=0; i < 65; i++) { if(HashinString !="EMPTY... (by Smac89)
by Ram1
Help Please
 
1. Write a function that receives a string of characters. This function display each character in th...
[3 replies] Last: What is "not working"? (by keskiverto)
by Taylrl
Currency Converter....do I need pointers?
 
Hi, I have been reading up on C++ for months now and have copied many examples but have now I h...
[3 replies] Last: http://www.cplusplus.com/reference/map/map/find/ see the example here... (by mutexe)
2 Dimensional Arrays
 
Any ideas on how to simulate a random walk using 2D arrays? You can only go up, down, left or right....
[4 replies] Last: Thank you! (by tylergarner)
dateClass program
 
hello can u help me with this program please : Build a DateType class with day/month/year format....
[4 replies] Last: thank you benbalach (by johny777)
add int to string
 
Hi.I have to write a class with string and static int member,and to add int to string in the default...
[2 replies] Last: Š¢hanks.Now it is OK. (by fitipaldi)
by combzy
Quick problem with password program
 
I am having one little problem with my password program. At the end it tells you how many valid and ...
[2 replies] Last: Your increasing the invalid variable on line 81 without first initial... (by Softrix)
C++ I need help with Arrays/files, please
 
my problem is i cant read the names from a file and into an array the txt file is formatted like th...
[1 reply] : getline() reads a whole line, including the position and score. Positi... (by keskiverto)
by heston
name swap in array
 
If I have a name in an array. (i.e. John Doe), how can I get it too take "Jim Smith" and have it ret...
[3 replies] Last: You can use the substr function: see http://www.cplusplus.com/referenc... (by NT3)
by jb1200
basic function question
 
Note that not every function has to have parameters. . Using this information, write a function call...
[3 replies] Last: The position of things cause that. cout << "Please enter a number,... (by closed account iAk3T05o)
by baljit
Help with Paralillelogram
 
Parallelogram is suppose to be between 3 and 23 lines forced to enter a value between 3 and 23. I ...
[no replies]
Rock Paper Scissors code-Homework Help
 
Write your question here. I need help with homework from my C++ programing class, in my class we ar...
[3 replies] Last: i also need help on completion of the code's final part exactly what c... (by CelestialX)
Factors Code
 
Hi! I was working on a project for my class and got stuck after writing the first loop. I wasn't qui...
[no replies]
Pages: 1... 5758596061... 118
  Archived months: [feb2014]

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