On 1/31/07, Robert Ryan <[EMAIL PROTECTED]> wrote:
#include "std_lib_facilities.h"
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
cpp.cpp
cpp.cpp(1) : fatal error C1083: Cannot open include file:
'std_lib_facilities.h': No such file or directory
make: *** [cpp.obj] Error 2
int main() {
cout << "Please enter the name of the person you want to write to\n";
string first_name;
cin >> first_name;
cout << "Dear " << first_name << ",\n\n";
cout << "How are you doing, " << first_name << "?\n";
}
I ran the above C++ code today on Visual C++
You clearly have some non-standard libraries there then.
and it looks a whole lot like the code below with the loop for an array
It looks nothing like the original code :
[snippage]
At 10:07 2007-01-28, Robert Ryan wrote:
> > >how is a vector diff from an array:
> > >int[] num = {5, 4, 7, 8, 9};
> > >int total = 0;
> > >for(int i = 0; i = num.length ; i++) {
> > > total += num[i];
> > >}
> > > cout << "The total is "<< total << endl;
> > >}
>
--
PJH
#706281 +(1868)- [X]
TriPod11: bush ain't THAT bad...he kinda knows what he's doin
idaredbeet08: Please, Monica Lewenski had more President in her than George
Bush ever will.