X-Originating-IP: [206.216.151.26] X-Originating-Email: [davidkobilnyk AT msn DOT com] From: "David Kobilnyk" To: Subject: cout command Date: Mon, 11 Aug 2003 09:40:02 -0500 MIME-Version: 1.0 X-Mailer: MSN Explorer 7.02.0011.2700 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0001_01C35FEC.89CE38E0" Message-ID: X-OriginalArrivalTime: 11 Aug 2003 14:39:24.0695 (UTC) FILETIME=[5C154270:01C36016] Reply-To: djgpp AT delorie DOT com ------=_NextPart_001_0001_01C35FEC.89CE38E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I'm having trouble getting "cout" to work. The compiler tells me there ar= e no errors with my code; but when I try to turn the object file into an = executable file using DOS, I get a bunch of error messages. Here's the co= de: #include #include #include using namespace std; int main(void) { int i; i =3D 2; cout << i << '\n'; system("pause"); return 0; } I'm a beginner in C++, but I get the feeling that "cout" is an important = word in C++. Does anyone know what the problem is? Thanks, David KobilnykGet more from the Web. FREE MSN Explorer download : http:/= /explorer.msn.com ------=_NextPart_001_0001_01C35FEC.89CE38E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I'm having trouble getting "cout" to work. The compile= r tells me there are no errors with my code; but when I try to turn the o= bject file into an executable file using DOS, I get a bunch of error mess= ages. Here's the code:
 
#include <stdio.h&= gt;
#include <stdlib.h>
#include <iostream>
using na= mespace std;

int main(void)
{
  int i;
 = ; i =3D 2;
  cout << i  << '\n';
<= DIV>  system("pause");
  return 0;
}
 
 
I'm a beginner in C++, but I get the feeling t= hat "cout" is an important word in C++. Does anyone know what the problem= is?
 
 
Thanks,
Da= vid Kobilnyk




Get more = from the Web. FREE MSN Explorer download : http://explorer.msn.com

------=_NextPart_001_0001_01C35FEC.89CE38E0--