Hi,
I am quite new to programming and have an issue with running a basic program. Here is the code:
Code:#include <iostream> using namespace std; int main() { double f; double m; cout << "Enter the length in feet: "; cin >> f; m = f/3.28; cout << f << "feet is"<< m << "meters"; return 0;
When I run the program and enter a number to respond to the prompt and then press enter, the console app exits so I wont get a chance to see the output. What is missing from the code?
Secondly , I am using Visual studio 2010 and I would like to know why is there no intellisense when writing C++ code. I know there is when writing C# code.
Thanks




Reply With Quote