|
-
Sep 5th, 2008, 02:06 AM
#1
Thread Starter
Member
C++ project running in something other than cmd
#include <iostream>
using namespace std;
int main()
{
int carrots;
carrots = 25;
cout << "I have " << carrots << " carrots." << endl;
carrots = carrots - 1;
cout << "Crunch crunch, i now have " << carrots << " carrots." << endl;
return 0;
}
When ii compile and run this code with microsoft visual c++ it opens in command prompt all the time with anything. Ive seen applications in C++ in a fully user friendly format like a VB app.. WTH is it always opening in cmd?
help is mre than appreciated
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|