General C++ Programming - March 2014 (Page 15)

How do i delete invalid input until correct input is entered
 
Program is to add two fractions together like so.. This program adds fractions. ‘Y’ continues, any other key exits program ==========================...
[5 replies] Last: #include <iostream> using namespace std; int main() { cout << "Ple... (by Yanson)
Need help :O
 
Okay so my program is suppose to have 3 lanes (Lane 1, lane 2, and street). I am suppose to push cars onto lane one once lane 1 is full then push to lane 2 if a...
[2 replies] Last: Ok I put it into code tags format. (by Danger417)
Vector Implimentation Help
 
Hello everyone. I am currently on vacation at the moment and am quite a distance away from any computer with a compiler to be able to help test and debug my co...
[3 replies] Last: it should read 'int * myZero = nullptr;' No that would declare an int... (by naraku9333)
Using Char to check whether the user inputs the right command.
 
I've been trying to finish this airplane seating program I've been working on for a month or two. The problem I have right now is that if the user inputs a numb...
[2 replies] Last: This might help http://www.cplusplus.com/reference/cctype/isalpha/ (by Yanson)
fstream.h
 
does function overloading work in open() using multiple ios operations?
[1 reply] : dont use fstream.h. use fstream. (by Little Bobby Tables)
Need help with this function please
 
I need to create a program that lists off each digit of an integer and then display the sum off all the digits in that integer. I know that sepereatly the sum f...
[5 replies] Last: No, switching the order of the statements does not switch the order yo... (by LB)
please
 
I need to some quizzes about binary numbers
[3 replies] Last: ooops forgot to do that. my bad (by Little Bobby Tables)
Im new to C++
 
Im trying to write a program that lists two Airplanes speed and distance for every second leading up until the first plane crosses a 10km distance. Am I even cl...
[6 replies] Last: Yeah. here's one : http://www.cplusplus.com/forum/beginner/12969/ (by faust058)
Help with Roullete Program
 
Hello all, I am working on developing this roulette program. I am trying to use dynamically allocated arrays as well as structs to make this program more manag...
[2 replies] Last: Problem: You are to develop a program that simulates playing roulette... (by vaze159)
help me
 
background about binary
[1 reply] : http://lmgtfy.com/?q=background+about+binary You need to put effort i... (by LB)
by DMG
C++ Linked-List Read-in errors
 
I have been stuck on this problem for hours will someone please help. The input is in the following format 5 1 2 9.0 1 3 12.0 2 4 18.0...
[no replies]
Need help
 
Here's the question Write a program that allows the user to enter the slope and intercept, along with a value for n to compute the values of z for the gen...
[4 replies] Last: Please use code tags and sane indentation when posting code. http://ww... (by keskiverto)
class
 
Guys i,m new in c++ so any body help to solve my problem i want to use file in this programme to store data so any one help me? #include<iostream> #includ...
[6 replies] Last: You have to decide what to write and in what format. You have to know... (by keskiverto)
HGE
 
Hi, I have a question about HGE. Does somebody know somthing abot how to install in the Compiler Dev C/C++? Or do you think that I need another compiler? ...
[1 reply] : What "HGE" are you talking about? Also, concerning Dev-C++: http://ww... (by LB)
Class - functions
 
I have a code which says (in some part of the main): /*define mesh*/ mesh electrodeMesh(10e-9,4,10); mesh electrolyteMesh(10e-9,4,10); and me...
[2 replies] Last: Although my question was not clear enough, you have answered what I as... (by ryllprous)
help
 
write a function that takes the array along with its size as parameters then it computes and returns the highest salary and the lowest salary. (Hint: use refere...
[1 reply] : Then the program should display the values. (Hint: To display the v... (by Chriscpp)
by DMG
Reading in data to a Linked-List
 
The input is in the following format 5 1 2 9.0 1 3 12.0 2 4 18.0 2 3 6.0 2 5 20.0 3 5 15.0 0 1 5 The first number is the number of vertexes in the graph. The...
[1 reply] : You seem to be doing the same thing twice. Line 41, 87, and 91 are the... (by Smac89)
Another Logic Error
 
I once again have a logic error. This time I am positively baffled: I am making a function that messes with three vectors it receives as parameters. The functio...
[10 replies] Last: Yes, I tried that, it did not work. However, I managed to solve the p... (by TsarLenin)
Multiplayer Online Game (1,2)
 
Hi, I am just wondering what would be the best method for the networking part of an online game. In the server in my client class I defined two streams. A lo...
[24 replies] Last: Also don't bother telling me anything. I don't care about talking pas... (by MikeyBoy)
need help. i need it later. thanks. urgent
 
whats the problem with my codes. i want to sort it by column, thanks :) #include<stdio.h> #include<conio.h> int main() { int i,j,c,temp; int a ...
[no replies]
March 2014 Pages: 1... 1314151617... 36
  Archived months: [feb2014] [apr2014]

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