-
March 25th, 2004, 01:27 PM
#1
Creating an Array of Strings
can anyone tell me why this wont work,
#include<iostream>
#include<string>
using namespace std;
string testarray[3] = {"please","help","me"};
id appreciate any help given thanks
-
March 25th, 2004, 01:30 PM
#2
Re: Creating an Array of Strings
Originally posted by Keith10100
can anyone tell me why this wont work,
#include<iostream>
#include<string>
using namespace std;
string testarray[3] = {"please","help","me"};
id appreciate any help given thanks
I took your code and compiled with no errors and no warnings (VC++ 6.0). What do you mean by "this won't work"?
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|