Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. ERROR in reload operator

ERROR in reload operator

Scheduled Pinned Locked Moved Managed C++/CLI
help
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chen XuNuo
    wrote on last edited by
    #1

    #include #include #include using namespace std; class Complex{ public: Complex(); Complex(double); Complex(double,double); void write() const ; bool operator==(const Complex& ) const ; bool operator!=(const Complex& ) const ; Complex operator-(); friend ostream& operator<<(ostream& out,Complex& c); private: double real; double imag; }; Complex::Complex(){ real=imag=0.0; } Complex::Complex(double re){ real=re; imag=0.0; } Complex::Complex(double re,double im){ real=re; imag=im; } void Complex::write() const { cout<

    C 1 Reply Last reply
    0
    • C Chen XuNuo

      #include #include #include using namespace std; class Complex{ public: Complex(); Complex(double); Complex(double,double); void write() const ; bool operator==(const Complex& ) const ; bool operator!=(const Complex& ) const ; Complex operator-(); friend ostream& operator<<(ostream& out,Complex& c); private: double real; double imag; }; Complex::Complex(){ real=imag=0.0; } Complex::Complex(double re){ real=re; imag=0.0; } Complex::Complex(double re,double im){ real=re; imag=im; } void Complex::write() const { cout<

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      This is a well asked question, but this is the C++/CLI forum, try the Visual C++ forum.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      C 1 Reply Last reply
      0
      • C Christian Graus

        This is a well asked question, but this is the C++/CLI forum, try the Visual C++ forum.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        C Offline
        C Offline
        Chen XuNuo
        wrote on last edited by
        #3

        Isn't it C++ forum?:confused:

        C 1 Reply Last reply
        0
        • C Chen XuNuo

          Isn't it C++ forum?:confused:

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          "The C++ / CLI is for managed and mixed-mode C++ programming only " says the sticky post at the top of the forum. If you read that post, you'll see that it's for exactly what the name says - managed C++ and C++/CLI. This is C++ that uses the .NET framework. The visual C++ forum is for straight C++ questions.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups