H
hn.ft.pris
Hi:
I have the following simple program:
#include<iostream>
using namespace std;
int main(int argc, char* argv[]){
const double L = 1.234;
const int T = static_cast<const int>(L);
int arr[T];
return 0;
}
But I get the error message shown in title. Why doesn't my program
work? Thanks for help!
I have the following simple program:
#include<iostream>
using namespace std;
int main(int argc, char* argv[]){
const double L = 1.234;
const int T = static_cast<const int>(L);
int arr[T];
return 0;
}
But I get the error message shown in title. Why doesn't my program
work? Thanks for help!