Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 What is the inline function? 

Last post Tue, Sep 25 2012 11:50 PM by IonutC. 1 replies.
Started by celina 25 Sep 2012 04:22 AM. Topic has 1 replies and 862 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, Sep 25 2012 4:22 AM

    • celina
    • Not Ranked
    • Joined on Tue, Sep 25 2012
    • <?xml version="1.0" encoding="utf-16"?><string>london, London</string>
    • Posts 1
    • Points 20
    What is the inline function? Reply

     Hi i am celina, and i am interested in software field. so i have a question like a coding. What is the inline function?

     




    • Post Points: 20
  • Tue, Sep 25 2012 11:50 PM

    • IonutC
    • Not Ranked
    • Joined on Thu, Jul 5 2012
    • Bucharest, Romania
    • Posts 4
    • Points 50
    Re: What is the inline function? Reply

    Hello.

    I consider this quote from the wikipedia article to be helpful:

    "In various versions of the C and C++ programming languages, an inline function is a function upon which the compiler has been requested to perform inline expansion. In other words, the programmer has requested that the compiler insert the complete body of the function in every place that the function is called, rather than generating code to call the function in the one place it is defined. Compilers are not obligated to respect this request."

    and also this:

    "Inline expansion is used to eliminate the time overhead when a function is called. It is typically used for functions that execute frequently."

    Best regards, Ionut Ciocirlan
    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by celina at 25 Sep 2012 04:22 AM. Topic has 1 replies.