+ 16

Why we use # file in c & c++ ??

10th May 2019, 5:52 PM
Krunal Kurhe
Krunal Kurhe - avatar
4 Antworten
+ 12
#include is a part of C/C++ preprocessor, which makes standard C/C++ library functions accessible/available to your code.
17th May 2019, 4:29 AM
Krunal Kurhe
Krunal Kurhe - avatar
+ 6
Hi. The commands that are introduced using # symbol are telling the pre-compiler to put the code written in the named file/header at this point before the compiler translates the human readable code to machine readable/executable instructions. This increases readability since you can put code in separate files. Furthermore, it makes code re-usable since you can include header files in multiple projects. Usually including iostream is done by #include <iostream> Cheers.
10th May 2019, 6:04 PM
ChrA
ChrA - avatar
0
9n_mn
12th May 2019, 6:21 PM
سالم الشمري
سالم الشمري - avatar
0
I'm new to c++ and I'd you to help me to calculate this question "how to calculate for standard deviation using file handling?"
13th May 2019, 4:22 AM
Collins
Collins - avatar