In this example, the string variable holds the entire message for display.
The function returned a string variable containing the formatted date and time.
The content of a string variable can be modified by the user.
The string variable helps in manipulating and retrieving text efficiently.
You can do this by declaring a string variable but, as we will learn later on, most classes used to create a stream can take a string that represents the file.
Vous pouvez faire ceci en déclarant une variable string mais, car nous l'apprendrons plus tard, la plupart des classes utilisées pour créer un stream peuvent prendre un string qui représente le fichier.
We'll store each exercise in a STRING variable, then we'll use conditionals to control which exercise is displayed.
Nous stockons chaque exercice dans une variable STRING, alors nous allons utiliser conditionals pour contrôler que l'exercice est affiché.
When coding, remember to choose an appropriate name for your string variable.
En codant, n'oubliez pas de choisir un nom approprié pour votre variable chaîne.
You should define a string variable to manage your text data.
Vous devriez définir une variable chaîne pour gérer vos données textuelles.
Every string variable must be initialized before we can manipulate its content.
Chaque variable de chaîne doit être initialisée avant que nous puissions manipuler son contenu.
Make sure your string variable is initialized before using it.
Assurez-vous que votre variable chaîne est initialisée avant de l'utiliser.
A string variable can hold any text you want to display.
Une variable chaîne peut contenir n'importe quel texte que vous souhaitez afficher.
The string variable captures user input for further processing in the program.
La variable de chaîne capture l'entrée utilisateur pour un traitement ultérieur dans le programme.
To compare strings, use the string variable as an argument in the function.
Pour comparer des chaînes, utilisez la variable de chaîne comme argument dans la fonction.