WTH is this kinda "file.L" do in c++?

When I am reading the source code, something like this "file.L" appears.

1.How does it work for a program?
2.How to load it in program.C?
3.How can I know which file is loading it?

Many thanks!
If you mean that "file.L" is actually inside quotes that means that it is a string literal. How it is used by the program depends on where it's used.

#include "file.L" This includes the file.L file into the source file. file.L have to contain C/C++ code or otherwise it will not compile.

It could also have been used in connection with std::ifstream, std::ofstream or std::fstream. In that case it is naming the file name to read to/write from.
Topic archived. No new replies allowed.