Run Code
|
Code Wall
|
Users
|
Misc
|
Feedback
|
About
|
Login
|
Theme
|
Privacy
illegal instruction (SIGILL)
//Title of this code //clang 3.6.0 #include <iostream> #include <iostream> // std::cout #include <iterator> // std::back_inserter #include <vector> // std::vector #include <algorithm> // std::copy int main() { std::vector<int> foo = {1,2,3,4,5}; std::vector<int> bar; std::copy_if(foo.begin(), foo.end(), bar.begin(),[](int x) { return x % 2 == 0; } ); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
back_inserter example
Pure virtual function called!
Rounding float to nearest 1000
HTML Timetable generator.cpp
Last Class Quiz - Working with Hash Table
U2
constructor-is-not-called-in-this-aggregation-class
Tree Example
non-deduced context
C++ Program to Print Binary
Please log in to post a comment.