Page 1 of 1
.cfg files and .cpp files
Posted: September 1st, 2010, 6:20 am
by owenisred
Do these two file types use different languages? I can understand most .cfg files, but none of the .cpp files, or very little.
If so what language do the .cpp files use?
Thanks,
Owen.
Re: .cfg files and .cpp files
Posted: September 1st, 2010, 6:57 pm
by chocolatepie33
.cpp files are C++ files. Those, as you know, make up the source code, along with .h files, which are part of .cpp files.
.cfg files are generic configuration files. They tell programs how to do things. Sandbox's .cfg files are written in CubeScript, which is basically a simplified, renamed version of C++.
guitext in Cubescript is like cout in C++. They both show text on the screen. That's what I mean by renamed.
Hope this helps. (I can tell already- you're turning into me!)