Hi! I am learning codeblocks for a while but I'm still a beginner and I have a problem to a code I'm trying to make. I know that you have to use cin.get() to read a text that include spaces into a char a[100] for example. But what if I want to read the text from a file into the char a[100]? I know how to read from a file, but if I use the f>> (for example, for a file named f) I can only read the first word before the space. So how can I read the whole text from the file into a char a[100] variable?