DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: C++ Language inline functions

Hybrid View

  1. #1
    Andy Shim Guest

    C++ Language inline functions


    February 13, 2001

    Dear C++ Language Expert:

    I am interested to learn C++ Language. There is a store named the Microcenter,
    in Fairfax, Virgina. The Microcenter sells a book with the title, "Microsoft
    Visual C++ Language Version 6.0 Programmers Guide". Are you familiar with
    this book? Should I purhase this expensive book to learn C++ Language?
    I am looking for a job as a Junior Computer Programmer at the lowest level
    using C++ Language in the Washington, D.C. area and the Arlington, Virginia
    area if you have any information that can help me. I would prefer a federal
    job.

    Could you please give me an example of a function definition for an inline
    function?

    A student in C++ Language,

    Andy Shim



  2. #2
    jonnin Guest

    Re: C++ Language inline functions


    inline int sum(int a, intb)
    {
    return(a+b);
    }

    compilers now inline "reasonable" routines for you, or explicitly like this
    one. So its redundant for many modern compilers.

    Many federal jobs are under UNIX still, so Visual may have limited use.
    Linux is favored as is free, SGI IRIX is also popular from old days when
    they had exponentially good graphics. Windows is used but knowing both will
    help...


    "Andy Shim" <andrewshim@juno.com> wrote:
    >
    >February 13, 2001
    >
    >Dear C++ Language Expert:
    >
    >I am interested to learn C++ Language. There is a store named the Microcenter,
    >in Fairfax, Virgina. The Microcenter sells a book with the title, "Microsoft
    >Visual C++ Language Version 6.0 Programmers Guide". Are you familiar with
    >this book? Should I purhase this expensive book to learn C++ Language?


    >I am looking for a job as a Junior Computer Programmer at the lowest level
    >using C++ Language in the Washington, D.C. area and the Arlington, Virginia
    >area if you have any information that can help me. I would prefer a federal
    >job.
    >
    >Could you please give me an example of a function definition for an inline
    >function?
    >
    >A student in C++ Language,
    >
    >Andy Shim
    >
    >



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