Beginners - April 2011 (Page 11)

Error Trying to Compile
 
I am brand new to programming,so I apologize in advance. I was given an assignment to put together ...
[6 replies] Last: I know it's a joke, and I can understand the humor in it, completely, ... (by d14racer24)
by weaboo
String array to function for addition
 
I am working on a project that adds and multiplies two very large integers (up to 200 digits for add...
[2 replies] Last: Thank you for helping, the code is running now. However the resulting ... (by weaboo)
Trouble with class composition
 
I'm trying to write a basic program that uses a point class and a vector class to perform basic vect...
[3 replies] Last: Thanks. You're right it should have been multiplication rather than ad... (by Nismoz3255)
Trying to pass an array of structures to a function
 
My problem is that i'm trying to make a function that uses information stored in an array of structu...
[12 replies] Last: err, wait i see now how it was still inside. Thanks again. (by pantsbandit)
rock, paper, scissors game
 
What am i doing wrong with my code? #include <iostream> using namespace std; #include <ctime> ...
[12 replies] Last: I coded my own rock paper scissors game after reading this just for fu... (by TheNoobie)
Opinions?
 
I want opinions of this script I made in C++ like a month ago when I first started. Although I edite...
[13 replies] Last: Actually in C++, it is required to have main return an int. (by firedraco)
problems with fstream
 
hello everybody, i've got an assignment at uni to make a program that echoes data from a file saved...
[2 replies] Last: thank you! (by closed account 98qGz8AR)
First C++ Project.
 
So, I just started learning C++ about three days ago. I'm using Sam's Teach Yourself C++ in 21 Days...
[7 replies] Last: @GodPyro haha =P i said it was really quick. i actually expected mor... (by metl wolf)
getting data from an infile
 
For my C++ class i have to make this little program that gets its data from a text file, so all i've...
[11 replies] Last: @Framework Really? Do you have any links to the discussion thread? Wou... (by GodPyro)
by bayar
Unicode Characters
 
how can I read arabic characters from file? when i do that i get only one character ??? i think it...
[2 replies] Last: Of course it is possible. How the file is stored makes a difference. G... (by Duthomhas)
Having trouble with my output.
 
The text file this file is reading is as such... CS162;Finish Lab 2;09/26/2009 CS161;Finish Lab ...
[3 replies] Last: Oh, I use Dev-C++ compiler. It doesn't have a built in library to acce... (by Khaltazar)
character array question.
 
I have a program that uses character arrays, and it works fine, but i am concerned about a possible ...
[5 replies] Last: haha yeah.. i know this now =P i'm just not used to using charactors i... (by metl wolf)
Trouble validating input
 
I'm having trouble validating user input in the DISPLAY WELCOME MSG module of my program. I've read...
[3 replies] Last: i like using charactors for my user input, that way no matter what a u... (by metl wolf)
How to pass a pointer to an object to a function?
 
I'm writing a program for my class that has us creating a Fraction class and making some member func...
[4 replies] Last: if you put your UpdateObject function before your main function (or be... (by metl wolf)
Array help
 
I need to add up all the pounds of food sold from this inFile. I cannot get the array right? Joe ...
[1 reply] : #include <iostream> #include <fstream> using namespace std; int main... (by Khaltazar)
Error: " undefined reference to......."
 
Hey guys, how to over come the error in the title?
[3 replies] Last: And to what is the undefined reference? EDIT: If you don't know how t... (by anonymous23323124)
oddity with charactor arrays..
 
when a user enters in a character for b , it gets assigned to a and c .. someone please explain wh...
[10 replies] Last: Aren't compilers supposed to obey the standard!? Isn't that the whole ... (by anonymous23323124)
by opopop
Pointer initialization in a class constructor
 
Hi, Suppose I have the following class: class Closed_chain { public: private: int element; in...
[2 replies] Last: @Khaltazar, I believe you wanted PtrElement = &Element; because othe... (by Zeillinger)
Mortgage Problem, Need help!
 
Hello, I am really struggling on this problem, we have the conditions: down pymt amount in...
[1 reply] : #include <iostream> using namespace std; main() { int HouseCost ... (by Khaltazar)
by dAND3h
Declaration of custom 'class' inside another class
 
Hey, I have made an Array class. I use this class like this: Array<DataType> myArray(5); ......So, ...
[3 replies] Last: Hi, can someone please explain what zhuge means? (by dAND3h)
April 2011 Pages: 1... 910111213... 55
  Archived months: [mar2011] [may2011]

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