Hi, I'm having issues with some basic cpp. Basically when I try to use the double data type eg. double d = 10; then print the value of d to the screen it comes up as 0. Any help would be greatly appreciated Thanks,
There's no way to give any real help if you don't post your code. Try the following program. What is the output? Code: #include <iostream> int main() { double d = 10; std::cout << d; return 0; }