# 程式設計正課 ## Announcement - 12/5 上機考 ## 211030 - function ### 優勢 - 精簡重複的功能 - 節省記憶體 ### Inline Function By copy function to where u call to reduce the exec time. ```cpp= inline void func(){ //todo } signed main(){ func(); // copy func to here } ``` :::warning <font size="4">注意 太頻繁用inline可能會造成code過肥</font> ::: <style> span.hidden-xs:after { content: ' x MCU CSIE ' !important; } .ui-view-area { /* background-color: #1f1e33; */ /* color: #fff */ } </style>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up