Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: MP456
  • Order by date
  1. MP456

    using streams.

    More simple: class A { ofstream fileStream; public: // a function to intercept cout void SetStream(streambuf *pStreamBuf) { fileStream.ios::rdbuf(pStreamBuf); } friend ostream& operator << (A &obj, const ostream &os) { return obj.fileStream << os; } friend ostream&...
  2. MP456

    using streams.

    hi, you can implements a class that handling an ostream object, and than, you, simple, add to that class an overloading of the operator << (ostream &os, &quot;your object&quot;).
  3. MP456

    Implementing Vectors

    Why don't use the vector class in stl? Or you can inherit a new class from it.
  4. MP456

    inline functions

    Hy, the inline functions must be in the header file (*.h). // Inside the class pippo { ..... void SetStream(streambuf *pStreamBuf) { out.ios::rdbuf(pStreamBuf); } ...... }; Or // Outside the class class pippo { ..... void SetStream(streambuf *pStreamBuf); ...... }; inline void...
  5. MP456

    SQLNumParams seem dont work

    Hy all, ODBC driver version 1.0 My update: #define UPDATE_METEO &quot;UPDATE METEO_05_2001 &quot; &quot;SET ID_RETE_MONIT = ? &quot; &quot;WHERE CODICE_ISTAT_COMUNE = ? &quot; &quot;AND PROGR_PUNTO_COM = ? &quot; &quot;AND...

Part and Inventory Search

Back
Top