Welcome: Hunan Intelligent Applications Tecgnology CO.,ltd.-HNIAT.com
Language: Chinese ∷  English

Basic knowledge

Find the number of files in a folder in MFC

CFileFind find; bool ret = find.FindFile (*. *); Int i = 0; while (ret) {ret = find.FindNextFile (); if (find.IsDots () || find.IsDirectory ()) continue; i ++;} i
————————————————
Copyright statement: This article is the original article of CSDN blogger "helonSY", which follows the CC 4.0 BY-SA copyright agreement. Please reprint the original source link and this statement for reprinting.
Original link: https://blog.csdn.net/helonSY/article/details/6643869

CONTACT US

Contact: Manager Xu

Phone: 13907330718

Tel: 0731-22222718

Email: hniatcom@163.com

Add: Room 603, 6th Floor, Shifting Room, No. 2, Orbit Zhigu, No. 79 Liancheng Road, Shifeng District, Zhuzhou City, Hunan Province

Scan the qr codeClose
the qr code