Beginners (Page 8)

need a help for hailstone sequence
 
I used this code to get the hailstone series, but it does not give me the values, what should I do? ...
[3 replies] Last: Just initialize an int with 0 as value, something like int count = 0;... (by Omni)
Program Help
 
After i enter the budget given, it prints out the next question and just gives the percent calculati...
[3 replies] Last: I took the cin.ignore() and put it before the first cin.peek and i put... (by fivestar)
Need a bit of help.
 
Hello guys, I'm new to the forums! My name is Leonardo, if you wish to call me by that. I have this...
[2 replies] Last: Thank for the fast reply, SakurasouBusters. Can I integrate this solu... (by Fundamental)
Homework help
 
Hello all, Class started two weeks ago and this is my first time getting my feet wet with coding. Im...
[9 replies] Last: Just thought id keep you updated, I got it to work thanks to you ! :D... (by SakurasouBusters)
Help with looping
 
Hey guys, about 3 weeks into my first C++ class and I'm writing a program to calculate mpg. I have ...
[1 reply] : I'd start with Initialization of variables. (by SamuelAdams)
by Lado
Read a .txt file into arrays
 
Hello, So I´m new in C++ programming and I´m trying to read a .txt file into arrays. My file con...
[4 replies] Last: Thank you! So the file contains information about number of students... (by Lado)
by junfan
How to reference a .DLL file in Visual Studio 2012
 
What is the process of referencing a .DLL file for a Win 32 console application in Visual Studio 201...
[2 replies] Last: Hi, https://msdn.microsoft.com/en-IN/library/ms235636.aspx PS: pleas... (by shadder)
Average of n numbers
 
So basically I have to average how many ever numbers a user enters. I can only accept positive numbe...
[3 replies] Last: Thank you both for the help. I now have it working. (by doctterdre)
by JJ2828
CPU scheduling
 
Write your question here. Hey guys do you all have any FCFS cpu scheduling c++ code or any else w...
[no replies]
How to make my program run?
 
So, what I want is if you fit any of the following criteria, the code will go to to determine your c...
[7 replies] Last: // BEGINNING OF YOUR CODE bool qualified = ( age >= 18 && ... (by booradley60)
by aloz
Problem with random
 
Hey guys, I'm trying to make a "horse race" with the drawings moving across the screen by creating a...
[3 replies] Last: Thanks, Chervil! #include <iostream> #include <conio> #include <wi... (by aloz)
Error Help - Skips Line
 
Does anyone know why the line after "else if (month >9)" will not execute? If I remove "cout << "Duc...
[3 replies] Last: I had someone read over my code and explain it to me. Thank you! (by Teamdeathmatch1787)
Input/output with files
 
My only problem is the data is not inputting/outputting through the files. I tried running these tw...
[9 replies] Last: hello mclogical, One question: on line 11 and 12 you open files, but... (by Handy Andy)
Issue with if/else statement
 
Sooo, whenever my input hits the first and second if statement, my outcome is loan += 10k when it sh...
[9 replies] Last: Yes, I'm happy you are able to solve the assignment. A couple of thing... (by SakurasouBusters)
Program keeps crashing
 
Im writing a code that requires the input and output of a file which is typed on the command line....
[1 reply] : The first thing you should look for when it crashes is an out of bound... (by coder777)
Random number generator and restricting conditions
 
Hi guys, working on a program that is meant to be a math quiz for the 3rd grade level. It is for hom...
[8 replies] Last: What is the chance that you do get a valid pair? You have to repeat un... (by keskiverto)
LNK2019 Errors???
 
Cannot figure out why program has these errors. #include <iostream> #include <string> #include <c...
[5 replies] Last: With all types. (by keskiverto)
by rlake
Creating a matrix class overloading the +, -, * and << operators
 
For my data structures class, we have been given the assignment to create a matrix overloading the +...
[3 replies] Last: That worked. Thanks! (by rlake)
Checking for greatest value with multiple ints
 
For my intro to C++ class we were recommended to create a program that checked for a maximum value a...
[3 replies] Last: You can actually get it done without an array : #include <iostream> ... (by SakurasouBusters)
by ll1234
the distance of two points
 
Write your question here. how to work out the distance of two points
[1 reply] : double distance = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1))... (by SakurasouBusters)
Pages: 1... 678910... 51
  Archived months: [jul2016]

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