- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to compile and run a very simple Hello world program using icpc. Nothing fancy, what I do is following,
#include <iostream>
using namespace std;
int main()
{
std::cout << " hello " << std::endl;
return 0;
}
~
I compile the above code using
icpc hello.cpp -o hh
compilation works just fine but when I try to run this I get "segmentation fault" I am not sure what is causing this error. Could anyone please help trouble shoot this.
Link Copied
0 Replies


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