yeah, i got a dev C++ compiler, but whats the difference between that and a bisual C++ compiler?
Type: Posts; User: nigy
yeah, i got a dev C++ compiler, but whats the difference between that and a bisual C++ compiler?
#include <iostream>
using namespace std;
int main (void)
{
int x;
x = 5;
Ok, yes, all goes well in command prompt, but when running it, will those codes let me see my final product? using
cin.get();, the window stays open for a simple
cout << "__";, but anything...
oh, i just edited my last post saying i got it to work via cmd.
buy why does it work there...
skynet-systems....so you just inserted the code into a compiler, compiled, ran it and it worked?...
you mean from run>>command ?
from command prompt?
how exactly would i do that? ill try, sorry.....
edit: oh, i got it to work..and it worked.
but....why....and is there a way to not go to...
that's one of the things, well, the only thing i've tried. doesn't help. or at least not for me....
#include <iostream.h>
int main ()
{
int x;
x = 5;
int y;
cout << "enter choice here: ";
cin >> y;
if (y == x)