411 REFERENCE · Wikibooks
Programming Fundamentals/Strings and Files
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Overview
This chapter introduces string and file processing.
Chapter Outline
../Strings/
../String Functions/
../String Formatting/
../File Input and Output/
../Error Handling/
../Loading an Array from a Text File/
Code Examples
C++
C#
Java
JavaScript
Python
Swift
../Practice: Strings and Files/
Learning Objectives
Understand key terms and definitions.
Given example pseudocode, flowcharts, and source code, create a program that processes strings to solve a given problem.
Given example pseudocode, flowcharts, and source code, create a program that processes a text file to solve a given problem.
Understand how to replace, add or remove strings into a file.
Be able to read and understand a given file and string program.
Be able to organize a file from any given format.
Understand how to use outside functions within a file and string program.
Understand how to delete, read, or create a file.