April 9th, 2009, 02:35 AM
This solved my mistake, I forgot to enter the length of words [80]. Thank you everybody for trying to help! I'm new to this forum and I'm glad there are people like you who are willing to spread the...
April 8th, 2009, 10:47 PM
I figured out my confusion is not coming from classes, I'm sorry if my previous posts were confusing, I was confused myself. I realized I don't know how to create the right input and output, can you...
April 8th, 2009, 10:15 PM
Can somebody tell me what is wrong with my code, I'm not getting the right output:
#include <iostream>
using namespace std;
#include <string>
int main(){
char s[5];
April 8th, 2009, 05:13 AM
Paul, when I say class, I don't mean specific one, just as many classes as necessary, but my confusion is how to create an array of objects, a data member should be a pointer to null-terminated...
April 8th, 2009, 01:18 AM
Thanks for your replies. Tronfi, you got the point, I'm looking strictly for a solution with class objects. I know how to create arrays but I don't know how to do it within a class.
Please can...
April 5th, 2009, 06:24 AM
I've just strated learning object oriented c++ and I'm having a lot of confusion with it. Could anyone tell me how to create an array of objects that contain character strings. I want to input the...