Descargar las hojas de atajos recomendadas:
opcional - Yarn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def calculate_storage(filesize): | |
block_size = 4096 | |
# Use floor division to calculate how many blocks are fully occupied | |
full_blocks = filesize//4096 | |
# Use the modulo operator to check whether there's any remainder | |
partial_block_remainder = filesize%4096 | |
# Depending on whether there's a remainder or not, return | |
# the total number of bytes required to allocate enough blocks | |
# to store your data. | |
if partial_block_remainder > 0: |
- 🌏 The official ISO C++ Get Started! page
- 🎥 Herb Sutter: (Not Your Father’s) C++
- 🎥 Beginning with C++ by Jens Weller
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |