
please wait
by krakkens
Array/Function cout issue
|
Hello there. My issue seems to be that my cout command is displaying all the work instead of just the final answer. At the end of the Code the cout (the last fo... |
Jul 31, 2011 at 11:17pm
[2 replies] Last: Thanks for a quick response. I really appreciate the help. (by krakkens)
|
by sgr1987
output problem !
|
so i have this program that reads in 6 scores from a text file, and prints out the average of the 6 scores and the squared average of it, using a function void ... |
Jul 31, 2011 at 10:41pm
[1 reply] : This function prototype void stat ( float , float& , float& ); does ... (by shacktar)
|
by WhiteVandal
Abstract Base Class - Can't use derived functions cause compiler can't find member function in base class
|
Hi folks, I'm learning about Abstract base classes. I have a base, Shape, and derived, Triangle, Rectangle and Circle. I'm trying to set the float base in Tr... |
Jul 31, 2011 at 9:05pm
[9 replies] Last: Just had a look at your pastebin page... You need to move your memb... (by andywestken)
|
by Sputnik
Altering Console Display
|
Where can I get literature on changing the way the windows console displays its information? What if I want to clear the screen at certain inputs. Also, my ... |
Jul 31, 2011 at 8:39pm
[8 replies] Last: Linux console works separately from the gui part of it (kde, gnome, et... (by eidge)
|
by KrixisLV
read digits from file and store them as separate integers
|
Hi, i have been trying to figure out how do i read some digits from a file and store them as separate numbers in an array, so far i can read it as one integer a... |
Jul 31, 2011 at 8:39pm
[11 replies] Last: ou yess :) somehow didn't really consider that :) const int n_max =... (by KrixisLV)
|
by dustegeek
RPN calculator
|
I'm making this RPN calculator in c++, but I'm having some trouble on the input section. I need the user to be able to input a double OR an operator, and the pr... |
Jul 31, 2011 at 8:34pm
[3 replies] Last: Well theres an easy fix for that, try something out, bang your head ag... (by eidge)
|
by Cyclonic
Chars and if-else
|
Hi all! I just began programming in C and C++ and ran into a problem while making a program. #include <iostream> #include <string> using namespace std; ... |
Jul 31, 2011 at 8:26pm
[5 replies] Last: I suppose you're using goto for the sake of experimenting. goto is not... (by eidge)
|
by Attie001
A structure question.
|
I am new to C++ and am having a hard time understanding How to pass information from a structure into a function. //Inside Sorted.h file struct Sorted { i... |
Jul 31, 2011 at 7:35pm
[3 replies] Last: your algorithm is not correct void ins-sort() { int i,j, x; for (... (by ahura24)
|
by kassik
binary shift
|
Hi there I am going to write a binary code. I don't know how to use binary shift. my code looks like this : #include<iostream> using namespace std; int main... |
Jul 31, 2011 at 7:28pm
[7 replies] Last: Dear Athar <...> What Athar meant was that you don't say what you wan... (by hamsterman)
|
by barda4
Getting garbage from vector output
|
Hi, So I'm having a problem getting information from a vector I've created. The vector is composed of a class I've called "person". When I try to get the ... |
Jul 31, 2011 at 6:42pm
[2 replies] Last: Thank you soo much! It works perfectly now! (by barda4)
|
by krakkens
Function calling issue
|
Hello I'm new to C++ and was hoping to find some advice/tutoring with an issue I'm having. This is a homework code however I'm really just looking for help to u... |
Jul 31, 2011 at 6:09pm
[6 replies] Last: great thanks for all the help! (by krakkens)
|
by Konig
Hangman game, almost there!
|
For some reason I am having issues printing off the letters correctly when guessed. Anyone help please? #include<iostream> #include<fstream> #include<st... |
Jul 31, 2011 at 6:06pm
[3 replies] Last: I suggest you... 1. modify your load loop so it counts the actual n... (by andywestken)
|
by lupicantor
says string does not name type
|
#include <iostream> #include <string> #include <fstream> using namespace std; int main() { system ("color 2"); ofstream theFile("Orde... |
Jul 31, 2011 at 5:09pm
[2 replies] Last: wow....i am really stupid. i forgot all about the semicolons. but i ad... (by lupicantor)
|
by heenan
Need Help with programming getting an error dont know what to do
|
I am trying to get this program to work what it is supposed to do is PRINTING CONTENTS OF ARRAY and adding x to every other element A x C x E x G x I x K x M... |
Jul 31, 2011 at 5:03pm
[2 replies] Last: You're attempting to assign a character to an array of characters, the... (by Warnis)
|
by joatmon
Pushing onto a Queue
|
Having a little trouble pushing a new entry onto a queue. (note this is a double-ended queue, so I can push/pop from either end). int main() { //ins... |
Jul 31, 2011 at 4:28pm
[7 replies] Last: yes , you are right . i just look at template <class Item> void Dequ... (by ahura24)
|
by ploglo
Unknown Integer Problem
|
I very recently started coding with c++(earlier today). I have coded a good bit with Python, but felt that c++ would open more doors for me. I spent a few hours... |
Jul 31, 2011 at 4:01pm
[10 replies] Last: Happykiller, it would be more efficient to write if else statements in... (by Maese909)
|
by solarboy
Hi i am a beginner in c++ and just start learning array, i am not able to output the average any idea why ???
|
Hi i am a beginner in c++ and just start learning array, i am not able to output the average any idea why ??? #include<iostream> using namespace std; int m... |
Jul 31, 2011 at 3:56pm
[3 replies] Last: Sorry, but is that a serious question? Ans: you count them! Sort... (by andywestken)
|
by lloydkirk
Program Won't Print To Output File?
|
Basically, I can't get the average GPAs for either male or female to output to a txt file. I've been tinkering with this thing for hours but to no avail. I know... |
Jul 31, 2011 at 2:38pm
[6 replies] Last: Other than that (a few small changes) your program runs: Total Sum ... (by andywestken)
|
by shiyongseng
Inheritance
|
I have my code almost all done, and I get no errors, but I can't get my Timezone to print when I call it. Can anyone point me in the right direction, what am I... |
Jul 31, 2011 at 1:04pm
[10 replies] Last: Thank you for all of the information- it really helps. (by shiyongseng)
|
by eidge
VB 2010 PRO Dbg doen't tell which line produces the error.
|
I've changed this week from C::B to VS2010 Pro. When an exception that wasn't handled is thrown the debugger spitts out an error, like "Debug Assertion Faile... |
Jul 31, 2011 at 12:31pm
[4 replies] Last: A new bar popped up with Process, Thread and Stack Frame. Problem sol... (by eidge)
|