How can I get a file’s size in C++?

See http://www.cplusplus.com/doc/tutorial/files/ for more information on files in C++. edit: this answer is not correct since tellg() does not necessarily return the right value. See http://stackoverflow.com/a/22986486/1835769

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)