Code C++ làm tăng dung lượng ổ C

chào mọi người, em đang là sv, đang học code c++ trên vscode. Không hiểu sao mấy bữa nay em học code liên tục thì dung lượng ổ C bị mất 5gb mà em không tải bất cứ cái gì cả. Mong mọi người giải thích giúp em lí do được không ạ?

C++ is, so to speak, an extended C. The word “extended” means enlargement. Therefore, C++ codes and C++ standard libraries are naturally larger and take up “more” space in your ổ C .
A 5-seat sports SUV (C++) naturally takes up more space on the road than a 2-seat sports car ( C ). Right?

Đó có thể chỉ là dự đoán bởi vì có rất nhiều phần mềm khác có thể gây ra việc đó.
Dùng phần mềm WinDirStat để phân tích xem cụ thể cái gì đang chiếm dung lượng của ổ C.

1 Like

Jokes aside, Windows always saves a backup after every update and over time it gets expensive: lost disk capacity up to 2-digit GB. As you said, I think you have a problem with the shadow backup. Two solutions:

  1. professional: open a CMD window and execute the command “cleanmgr /LOWDISK /SAGERUN:1”.
  2. amateur:
  • start File Explorer
  • click “This PC”
  • select “ổ C”
  • right-click on the mouse and select Properties
  • click “Disk Cleaning”
    …wait until it’s finished…and see how much space has been gained.
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?