Beginners - August 2011 (Page 30)

Need help in Text array file
 
i need help in figuring out how to find the average interest of type u Text file 1111 p 50000.00 4.50 1112 e 35000.00 5.00 1113 u 45000.00 2.50 11...
[1 reply] : Put your code in [cod e] tags. Express your problems. Do you only n... (by hamsterman)
How do we use ios::ate and why do we use it?
 
Hi, I'm a new person here and I was wondering how do we use ios::ate in file reading and writing. What does it do and how will it help me? Thank you =)
[1 reply] : http://www.cplusplus.com/doc/tutorial/files/ (by webJose)
by sf123
storing variables.
 
Hi! Can anyone help me identify what does these statement means? "zero count. minus sum. plus sum." Thanks!
[4 replies] Last: ok thanks! (by sf123)
Need Help With Function
 
#include <stdio.h> #include <math.h> #define PI 3.14159265 void main(void) { float calculate_Sine_Cosine_Tangent(float param); int result1, result2,resu...
[2 replies] Last: #include <stdio.h> #include <math.h> #define PI 3.14159265 void mai... (by Frozendog11)
Accessing member functions
 
I have an if statement inside of a loop that creates dynamic objects. After the if statement finishes, I need to get back to these objects and access their pri...
[4 replies] Last: First, you need to pass vector<int> customer into your function: ... (by shacktar)
cout does not execute (1,2)
 
Now, this might be a stupid error, but I can't figure it out. I just started learning C++, and I am currently following this tutorial: http://www.cplusplus.com...
[30 replies] Last: Which other headers a given header includes is not defined by the stan... (by helios)
Program Closing Out When Specific Input is Used
 
Hi All, This is my first post here - I've been struggling for most of the day trying to figure out what I'm doing wrong on a class programming assignment. I ...
[3 replies] Last: OK - got it figured out. Looks like the problem was due to the followi... (by cromulentone)
by JoeyS
What's wrong with my integer declaration?
 
Hello, When I tried compiling a simple program I had written, I got the error message "Badly formed expression" in reference to an integer variable declarati...
[6 replies] Last: Interesting. I just ran a couple variations of the code on Ubuntu's g+... (by benedictusk)
Would you say this is program generates a random set of numbers?
 
This program is supposed to be a pick and match game that will allow a player to pick two cards and if they match then the numbers are permanently revealed and ...
[3 replies] Last: it doesn't allow me to repeat more than one time. What are the symp... (by andywestken)
by Catt
Surmounting the "Procedural" Class
 
Hey everybody, I'm a long-time programmer, but taking my first steps at C++. I have a problem with class declaration in a project with mine. I have two c...
[15 replies] Last: Sorry I didn't get in on this sooner... Because no one has mentioned t... (by Duthomhas)
C++ without Fear (2nd Ed) Exercise 15.2.2. Help Please.
 
Hello, I'm working through the above book and I've become stuck at this exercise (spent a few hours so far). The example code given performs the 'Towers of Ha...
[9 replies] Last: The colon signifies an initialization list for the constructor, see:- ... (by closed account DSLq5Di1)
debugger
 
"main.cpp - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping... Nothing to be done. ...
[1 reply] : When you post, don't assume anything either, like we can read minds an... (by webJose)
Bool Datatype
 
I Cant figure out even a single bit of the bool datatype even after reading over 10 books..... The problem is "is bool a built-in data-type in c++???" "If it i...
[2 replies] Last: Note that bool isTrue = 1; bool isFalse = 0; generate warnings wit... (by andywestken)
indata/outdata
 
i just have a question concerning writing out to a text file and reading in one, i have this reading in and out a text file : ifstream indata ("atmosphere...
[2 replies] Last: thanks! (by sgr1987)
CodeBlock MinGW Compiler Suite
 
I downloaded the CodeBlock 10.05mingw then it has options about mingw compiler suite and c::b share config. Are these important to install? My vista is running ...
[no replies]
Noobtastic
 
Hello all. I'm currently in a programing class where the professor is just falling through. We get some training in pseudo code then are required to go and fi...
[2 replies] Last: include <iostream> using namespace std ; int main() { float score... (by happykiller)
by rori
operator overloading
 
i need to overload the operator , any ideas??
[7 replies] Last: @andywestken: Yes:) (by ModShop)
Difference between Console and Win32?
 
Could someone explain to me why programs in C++ that will compile in a Win32 Console, wont in a Win32, and vice versa. I add #include "stdAfx.h" to the p...
[3 replies] Last: Can you do exactly the same things with a windows app as you can with... (by andywestken)
Having Problem in using a map
 
I was trying to make a simple Text based RPG in the console (I know the console isn't made for that,I am making it just for fun). Now I was reading about maps ...
[2 replies] Last: Thanks. There was re definition in my code! I just can't guess why did... (by Nisheeth)
help!c + + development environment
 
What do you think c + + development environment easy to use some of that?
[3 replies] Last: Code::Blocks and CodeLite are both popular IDEs, and both support Wind... (by andywestken)
August 2011 Pages: 1... 2829303132... 39
  Archived months: [jul2011] [sep2011]

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