Beginners - February 2011 (Page 36)

by II15X
Problem Reloading a External File
 
Hello, I've been working on a little program for a while now, I recently added a piece of code th...
[3 replies] Last: Well, i don't use ifstream too much, but i think that it doesn't allo... (by II15X)
by zJho
New to C++
 
Write a C++ application that is intended to covert temperatures in centigrade to the equivalent in F...
[1 reply] : 1. yes, it should be 9.0/5 (it's enough if one of them is a double). D... (by hamsterman)
NEED ASSISTANCE!!! if statements & loops
 
!!!!!!!PLEASE HELP!!!!!!! hi everyone. im stumped on this C++ code i have to write. i have ...
[10 replies] Last: thanks alot! (by neverknownig)
Classes, functions
 
#include "stdafx.h" #include <iostream> #include <string> using namespace std; class Goblin ...
[1 reply] : try cout << flush; (need to #include <iomanip> You don't initia... (by ne555)
Rounding a number
 
If anyone can offer help, I'd very much appreciated it. This is about my 3rd program, so I'm brand n...
[4 replies] Last: I think I've solved it! My big issue was having three conditional stat... (by rdavenport)
by amaac
A quick question on Referencing vectors.
 
I am trying to find out how to access a vectors data once it has been passed by reference to another...
[1 reply] : Sorry, I don't understand you. Could you provide a code example, plea... (by ne555)
For Double Condition
 
Hi, I'd like to have a for condition with two interrupting conditions: for(temp=hl;temp!=NULL,bO...
[2 replies] Last: for(temp=hl;(temp!=NULL)&&(bOver1==false); temp=temp->next) T... (by MessMyHair)
comparing strings issue
 
I'm having a problem with the two if statements. I get the error no match for 'operator>'. I'm doing...
[9 replies] Last: Well i figured it out, finally. the switch statements helped alot. I a... (by crunkjuice210)
Complete Beginner Basic Strings Array
 
Hi. Thanks for helping me in advance! I am used to Java and C# but C++ is completely different. I am...
[2 replies] Last: no one can help me? (by tomhangler)
by pooshi
String comparision
 
I am comparing these c strings and it prints out not equal. Why does it do that? Aren't these the s...
[4 replies] Last: Thank you. (by pooshi)
creating class objects in a header file
 
Why does it seem impossible to create an object inside a header file of another class(made in a head...
[10 replies] Last: thats really weird for me, I guess there must be some other error (by Blessman11)
Need some advice on input data
 
The current input in the text file is: IBM 100 93.2 98.6 MER 200 67.2 43.89 QQQ 300 78.9 70.0 C...
[3 replies] Last: Hmm.. do you need a nested loop to read each row/col? (by pq1wx1p)
by amaac
A little advice Returning Vectors Please
 
I am having trouble remembering how to return vectors back and forth between classes. I seem to reme...
[4 replies] Last: Thankyou Moschops. You are of great help. I dont know if it will compl... (by amaac)
Unable to open include file IOSTREAM
 
Hi, I just wrote my first program hello world. I'm getting the compilation error (unable to open ...
[15 replies] Last: Moschops what's the problem there? :))) (by Janlan)
Storing song information using strings, classes and overloaded operators
 
So guys, first post and these forums have been very helpful in helping me understand programming a l...
[1 reply] : Anyone? I've updated the program above to what I've been able to figur... (by Chimuel)
by lrwham
User input using exclusively <iostream>
 
I need to be able to accept user input of the date in the format MM/DD/YYYY, exactly. I am limited ...
[2 replies] Last: Thank you sir. I had tried that, but I clearly must have overcomplica... (by lrwham)
if (!cin) and other input mismatch questions.
 
I know that if cin gets an incorrect type of input (like giving a character for cin >> intVariable;)...
[2 replies] Last: Thank you for your help. Also, never mind about the last question. ... (by Kieth89)
Incorporating functional programming into C++
 
When I first learned programming in C++ (perhaps less than 2 years ago though it feels much longer),...
[2 replies] Last: <functional> could help, but under C++98 it is still quite kludgy. C+... (by PanGalactic)
by HMW
The logic of logical operators?
 
I am having trouble understanding the logic of a couple of logical operators. I will show you ...
[2 replies] Last: Hello again Moschops! This gives me a headache (and I have read Wit... (by HMW)
Concatenation: what's wrong with this program?
 
#include<iostream> using namespace std; char concat(char a, char b); void main() { char a...
[16 replies] Last: IIRC the comma operator is not overloadable at all , the default resu... (by ne555)
February 2011 Pages: 1... 3435363738... 43
  Archived months: [jan2011] [mar2011]

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