Skip to main content

Using File IO to Save and Load Games

  • Chapter
  • First Online:
C++ Game Development Primer
  • 2656 Accesses

Abstract

Saving and loading game progress is a standard feature of all but the most basic games today. This means that you will need to know how to handle the loading and saving of game objects. This chapter covers one possible strategy for writing out the data you will need to be able to reinstate a player’s game.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 32.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Bruce Sutherland

About this chapter

Cite this chapter

Sutherland, B. (2014). Using File IO to Save and Load Games. In: C++ Game Development Primer. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0814-4_3

Download citation

Publish with us

Policies and ethics