
please wait
by Besm Osman
Algebra program problem
|
hello, I am making a program where you input two numbers and outputs two numbers which are combined number1 and timed number two for example input: 7 12... |
May 12, 2013 at 12:24am
[1 reply] : I think you need better checks. I believe this program tries to find t... (by Bourgond Aries)
|
by TECKSPEED
Reading Numbers from a text file into an array, then compute the average of the numbers!
|
I need to read numbers into an array from a file and then compute the average and check how many numbers are above a certain quota and below a certain quota. I ... |
May 11, 2013 at 11:19pm
[2 replies] Last: could you explain this further i have on line 56-60 where im reading ... (by TECKSPEED)
|
by dock123
Hey guys
|
I'm not good with c++, and I'm realing stressing out about my last project. Problem: This project deals with creating a menu-driven program that employees of... |
May 11, 2013 at 10:24pm
[1 reply] : Your next step is run the menu in a loop so they can interact with it ... (by IceThatJaw)
|
by elmoro15
Help with Arrays
|
Hello Guys. Can you tell me what is the difference between an array and between a done-dimensional array??!?!? |
May 11, 2013 at 9:47pm
[2 replies] Last: You are wrong foxefde. In your example an array that is int array ... (by giblit)
|
by Foxefde
What for are namespace?WHAT ABOUT SKYPE GROUP CHAT?
|
No code here, just wondering what can i do with namespace? I saw a lot of strange uses of it,like use namespace life...:D Also... BEGGINNERS,WH... |
May 11, 2013 at 9:38pm
[1 reply] : namespaces are so that you do not have the same variable/function name... (by giblit)
|
by sabbirshawon
read a file
|
why the inputfile is NULL in here? #include <iostream> #include <fstream> #include <string> using namespace std; int main () { FILE *outputfile; ... |
May 11, 2013 at 8:45pm
[3 replies] Last: Yes, it is part of C rather than C++. But compilers often include the ... (by Chervil)
|
by Jangoon24
Bubblesort Template Problems
|
Hey guys, I'm finishing up my final project and I'm running into some problems. The project is: Create 5 myFloat objects and 5 myName objects, print them to the... |
May 11, 2013 at 8:06pm
[12 replies] Last: Glad to hear it. My pleasure . (by nedo)
|
by Daleth
Implicit template argument deduction
|
I'm trying to build a matrix class that can take various containers for its parameters via templates. Unfortunately, when I try to compile the code below, my co... |
May 11, 2013 at 8:04pm
[5 replies] Last: Thanks! Templating the entire class worked though now my code has more... (by Daleth)
|
by betabob2000
Including an external class
|
This is the simplest problem and yet I have been searching for the last two hours and can not find a single source showing how to do this. main.cpp #incl... |
May 11, 2013 at 7:38pm
[6 replies] Last: yeah I was just letting him know that the std namespace has more than ... (by giblit)
|
by kittycat
code compile error
|
hi, need help running this code #include<iostream> using namespace std; int lotteryList ; int main() { const int LOTTERY = 10; int nums = {13579, ... |
May 11, 2013 at 7:10pm
[7 replies] Last: nevermind i got it up and running.. thanks guys :) (by kittycat)
|
by Rascal
Headers and Classes
|
Hi guys, I am going over an old exam paper and need some help with a few of the questions. Below is the scenario given. Define a class Booking that repres... |
May 11, 2013 at 6:48pm
[4 replies] Last: Thanks for coming back to me here. That is the next question: Create ... (by Rascal)
|
by Olysold
Copy Assignment operator, const and reference.
|
In this exercise the swap function pretty much does the same thing (I think) for the copy assignment operator as it's proper definition. //Wrong way to d... |
May 11, 2013 at 5:45pm
[3 replies] Last: Const means read-only as far as I am aware of and if you are using a r... (by giblit)
|
by AlitCandle
If I were making a game, could I use fstreams to change stuff in real time?
|
If I had a text file that said "Player speed = 5" Could I use an fstream to be constantly reading that so that I could go into the text file and change it to... |
May 11, 2013 at 5:44pm
[2 replies] Last: Why not use a class or struct to handle all the changes to the player'... (by Daleth)
|
by SlenderMan
How can I simplify a fraction
|
For example if you enter 6/8 the program will display 3/4. My teacher said it has something to do with the common factor but im not coming up with anything. ... |
May 11, 2013 at 5:42pm
[6 replies] Last: use the modulo or how ever you spell that thing lol ( % ) then use a l... (by giblit)
|
bái sư học nghề ! ngành lập trình viên . |
mình đang tìm hiểu về ngôn ngữ lập trình, chương trình ứng dụng để phát huy thứ ngôn ngữ máy tính khô khan mà mình đang tìm ... |
May 11, 2013 at 4:40pm
[1 reply] : Vietnamese. Funny how one can recognize certain languages without unde... (by Catfish4)
|
by chem major
Homework help - debugging needed
|
Hello, I can't seem to figure out what's wrong with my code. I wrote a program for a vending machine that requires you to pull info from a product file and a... |
May 11, 2013 at 4:09pm
[6 replies] Last: You need to create the input files yourself, before attempting to run ... (by Chervil)
|
by the5thace
Error when checking for char vector equality
|
Trying to compare two vectors but I'm getting an error. IntelliSense: no operator "==" matches these operands operand types are: std::vector<char, std::alloca... |
May 11, 2013 at 3:24pm
[5 replies] Last: Can't you use the constructor or assignment operator of std::string to... (by Bourgond Aries)
|
by the5thace
How to add a char to a char vector?
|
I'm trying to build words inside of vectors by adding one character at a time but it won't let me add the char. How can I bypass this? Also, is my use of vector... |
May 11, 2013 at 3:02pm
[4 replies] Last: I have a suggestion: please use elements of modern C++ instead of left... (by Catfish4)
|
by IngBaby
Please Help me with some exercises
|
I've started the exercise but there is something wrong. What I am supposed to do is to ex1: Calculate the estimated production of: the squares of single digi... |
May 11, 2013 at 3:02pm
[3 replies] Last: @Bourgond Aries It wasn't so for me, but I updated the example anyway... (by Vidminas)
|
by Carm
Bracketing Search
|
Hi, I'm doing the exercise on (http://www.cplusplus.com/forum/articles/12974/) called "Bracketing Search", 4 star. I'm pretty close to what I need, but just can... |
May 11, 2013 at 3:01pm
[2 replies] Last: I figured that's what I had to do, but I thought that might be cheatin... (by Carm)
|