home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / cplus / 18662 < prev    next >
Encoding:
Text File  |  1993-01-04  |  1.3 KB  |  48 lines

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!frmop11!barilvm!bimacs!tamari
  2. From: tamari@bimacs.BITNET (tamari zvi)
  3. Newsgroups: comp.lang.c++
  4. Subject: Turbo C++ version 1.01 cout problem
  5. Keywords: c++,cout
  6. Message-ID: <4620@bimacs.BITNET>
  7. Date: 4 Jan 93 14:01:42 GMT
  8. Organization: Math & CS, BarIlan U, Ramat-Gan, Israel
  9. Lines: 37
  10.  
  11.  
  12.      I have started learning C++, and I have a problem linking program with
  13.      cout.
  14.  
  15.      my program looks as follows :
  16.  
  17.      #include<iostream.h>
  18.      main()
  19.      {
  20.        cout << "Hello\n";
  21.      }
  22.  
  23. The linker gives the following messages :
  24.  
  25.  
  26. Linker warning: ios::stdioflush conflicts with module FSTREAM in module HELLO.C
  27. Linker error: Undefined symbol ostream(const char far*,const char far* ) in module HELLO.C
  28.  
  29.  
  30.  
  31.    I will be greatful, and God will bless you I you can sort out this problem
  32.    for me.
  33.  
  34.                                         Thanks in advance,
  35.                                                 Zvi Tamari.
  36.  
  37.  
  38. --
  39. Name : Zvi Tamari
  40.  
  41. E-Mail Addresses : BitNet   : tamari@bimacs.bitnet
  42.                    InterNet : tamari@bimacs.cs.biu.ac.il
  43.  
  44. Address : 3   Hameiri  st.
  45.           Ramat Gan 52 651
  46.           ISRAEL            Telephone : +972-3-340169
  47.                             Fax       : +972-3-6910525
  48.