Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Wrong type deduction of std::valarray expression
#include <iostream> #include <valarray> int main() { using namespace std; valarray<int> numerators = {99, 26, 25}; valarray<int> denominators = {9, 2, 5}; for (int i : numerators / denominators) { cout << i << ","; } // lots of errors return 0; }
run
|
edit
|
history
|
help
0
Fibonacci stairs
hangman
7
Chord Note Finder
#30.3
hangman
hangman
Program of cube
fun
student.h