DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: getting started in c++

  1. #1
    joshua Guest

    getting started in c++


    I enrolled for a course on OOP last week. In the school we are using visual
    c++ and I do have a copy of Borland c++ 4 in my computer which I thought
    I could use it at home to learn as well as doing my homework.
    Now everytime I write a code(any) the compilation is complete but on linking
    it gives me a linker warning 'No module definition file specified: using
    defaults.'.
    Please assist me.
    A simple example I am trying on without success is;

    #include <iostream.h>

    int main () {
    cout<< " Hello world\n";
    return 0;
    }

    Awaiting assistance. Thanks a million
    Joshua

  2. #2
    thomas thomas_obh Guest

    Re: getting started in c++


    Check your compiler spec or there might be uncomplete installation of your
    compiler.
    If not might be the header file is giving u problem. Check the readme file
    or u can try #inlcude <iostream.H>



    "joshua" <jmiranji@usa.net> wrote:
    >
    >I enrolled for a course on OOP last week. In the school we are using visual
    >c++ and I do have a copy of Borland c++ 4 in my computer which I thought
    >I could use it at home to learn as well as doing my homework.
    >Now everytime I write a code(any) the compilation is complete but on linking
    >it gives me a linker warning 'No module definition file specified: using
    >defaults.'.
    >Please assist me.
    >A simple example I am trying on without success is;
    >
    >#include <iostream.h>
    >
    >int main () {
    >cout<< " Hello world\n";
    >return 0;
    >}
    >
    >Awaiting assistance. Thanks a million
    >Joshua



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center