Posts by Tarc • 156 points
3 posts
-
0
votes2
answers4952
viewsA: How to display "Press any key to continue" in C++?
To display the "Press any key to continue", you must include the library <cstdlib> and add system("pause") at the desired location. Note, however, that this function does not return the…
-
3
votes1
answer52
viewsA: Downloding of WINDOWS directories
One option for this is to have this process applied to each file in the directory: #include <dirent.h> struct stat st; lstat(caminho, &st); if(S_ISDIR(st.st_mode)){ //Se for diretório DIR…
-
1
votes2
answers4088
viewsA: How to concatenate two chained lists?
Concatenation between two lists has a very simple and very interesting solution, which is a property of the list type itself: To do so, one must first take into account these properties: each No…