- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to compile a simple C++ 0x program using the icpc 12.1.5 Intel compiler as:
icpc -std=c++0x tt.cc
where, tt.cc :
[cpp]// array::at #include
#include
int main ()
{
unsigned int i;
std::array myarray;
// assign some values:
for (i=0; i<10; i++) myarray.at(i) = i+1;
// print content
std::cout << "myarray contains:";
for (i=0; i<10; i++)
std::cout << " " << myarray.at(i);
std::cout << std::endl;
return 0;
}
[/cpp] but Iam getting:
tt.cc(3): catastrophic error: cannot open source file "array"
#include
^
Is array NOT supported by icpc 12.1 ?
thanks
michael
I am trying to compile a simple C++ 0x program using the icpc 12.1.5 Intel compiler as:
icpc -std=c++0x tt.cc
where, tt.cc :
[cpp]// array::at #include
tt.cc(3): catastrophic error: cannot open source file "array"
#include
^
Is array NOT supported by icpc 12.1 ?
thanks
michael
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This forum is for the discussions about the Intel Cilk Plus extension to C and C++. This is a base compiler question. You're more likely to get an answer to your question in the Intel C Compiler forum.
- Barry

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page