Beginners - May 2013 (Page 40)

Algebra program problem
 
hello, I am making a program where you input two numbers and outputs two numbers which are combi...
[1 reply] : I think you need better checks. I believe this program tries to find t... (by Bourgond Aries)
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 num...
[2 replies] Last: could you explain this further i have on line 56-60 where im reading ... (by TECKSPEED)
Hey guys
 
I'm not good with c++, and I'm realing stressing out about my last project. Problem: This project...
[1 reply] : Your next step is run the menu in a loop so they can interact with it ... (by IceThatJaw)
Help with Arrays
 
Hello Guys. Can you tell me what is the difference between an array and between a done-dimensio...
[2 replies] Last: You are wrong foxefde. In your example an array that is int array ... (by giblit)
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,l...
[1 reply] : namespaces are so that you do not have the same variable/function name... (by giblit)
read a file
 
why the inputfile is NULL in here? #include <iostream> #include <fstream> #include <string> u...
[3 replies] Last: Yes, it is part of C rather than C++. But compilers often include the ... (by Chervil)
Bubblesort Template Problems
 
Hey guys, I'm finishing up my final project and I'm running into some problems. The project is: Crea...
[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...
[5 replies] Last: Thanks! Templating the entire class worked though now my code has more... (by Daleth)
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...
[6 replies] Last: yeah I was just letting him know that the std namespace has more than ... (by giblit)
code compile error
 
hi, need help running this code #include<iostream> using namespace std; int lotteryList ; i...
[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 ...
[4 replies] Last: Thanks for coming back to me here. That is the next question: Create ... (by Rascal)
Copy Assignment operator, const and reference.
 
In this exercise the swap function pretty much does the same thing (I think) for the copy assignment...
[3 replies] Last: Const means read-only as far as I am aware of and if you are using a r... (by giblit)
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...
[2 replies] Last: Why not use a class or struct to handle all the changes to the player'... (by Daleth)
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 wi...
[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 ...
[1 reply] : Vietnamese. Funny how one can recognize certain languages without unde... (by Catfish4)
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 mach...
[6 replies] Last: You need to create the input files yourself, before attempting to run ... (by Chervil)
Error when checking for char vector equality
 
Trying to compare two vectors but I'm getting an error. IntelliSense: no operator "==" matches the...
[5 replies] Last: Can't you use the constructor or assignment operator of std::string to... (by Bourgond Aries)
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 ad...
[4 replies] Last: I have a suggestion: please use elements of modern C++ instead of left... (by Catfish4)
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: Calcu...
[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 Se...
[2 replies] Last: I figured that's what I had to do, but I thought that might be cheatin... (by Carm)
May 2013 Pages: 1... 3839404142... 66
  Archived months: [apr2013] [jun2013]

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