In this paper, we propose a C-language learning platform for primary students includes a C- language learning platform, an interpreter and a translation terminal, and a C language learning platform. When the user confirms the identity through the login, the user can enter the C language learning platform. After learning the program learning unit or the question unit, it will be sent to the translation batch to perform translation, compilation and correction. After the user understands the error, the system can be used repeatedly until the learning is completed. The invention translates error messages into easy-to-understand chinese, and there are a large number of non-choice questions for users to learn, so it is suitable for primary students to learn C language.