Hướng Dẫn Sử Dụng Visual Studio Code Lập Trình C/C++
[0:50] Bước 1: Tải VSC
[1:09] Bước 2: Tải extensions C/C++ và Code Runner
[3:15] Bước 3: Viết chương trình C cơ bản “Hello World”
[6:24] Bước 4: Viết chương trình C++ cơ bản “Add 2 numbers”
[10:22] Cách dừng chương trình C/C++ bằng Stop Code Run
[10:50] Cách sửa lỗi “Cannot edit in read-only editor VS Code”
———— ✪ About CodeXplore Channel ✪ ————
CodeXplore là một platform chia sẻ kiến thức về Lập Trình [Coding] dành cho các bạn trẻ Việt Nam từ một cựu du học sinh Sing, hiện đang sống và làm việc tại Singapore.
Channel của mình sẽ focus vào các chủ đề sau:
► [Code] Full-Stack Web Development (HTML, CSS, JavaScript, Node JS và React JS) ☞ Future Projects: Deno
► [Code] Coding (Python & JavaScript) Interview Preparation (Cấu Trúc Dữ Liệu và Thuật Toán & LeetCode Solutions)
► [Xplore] Travel Vlog (Chia sẻ kinh nghiệm đi du lịch và trải nghiệm)
——————–
✪ Business inquiries: [email protected]
✪ Subscribe:
➥ CodeXplore Social Links:
Fanpage:
Instagram:
GitHub:
#VisualStudioCode #LậpTrìnhC #C++
———————————————-/————-
© Bản quyền thuộc về CodeXplore
© Copyright by CodeXplore ☞ Do not Reup
tui thề mỗi lần viết nhanh stdio.h là nó lại thành studio.h, cay méo chịu được :V
Sao e gõ nó có màu chữ như a ạ
good
'gcc' is not recognized as an internal or external command,
operable program or batch file.
lỗi này phải làm sao ạ
Chú ơi chi cháu hỏi cháu đã càu các phần mềm như dracula các kiểu sao no k hiện màu vậy chú
Chú ơi khi cháu viết bắt đầu viết code nó hiện" Lệnh "gcc" yêu cầu công cụ dòng lệnh cho nhà phát triển" ngta muốn cháu cài đặt công cụ này thì cháu có nên cài đặt không ạ😥
Cho e hỏi cách chạy trên Terminal với ạ, e cài MinGW rồi chạy trên VSCode đc rồi mà chạy trên Terminal bị lỗi sao ấy. Nó ghi là:
gcc: error: HelloWorld.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
anh ơi giúp em với
[Running] cd "/Users/vothanhphat/CODE/.vscode/" && gcc helloworld.c -o helloworld && "/Users/vothanhphat/CODE/.vscode/"helloworld
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Bạn ơi mình bị báo lỗi như bên dứoi, chỉnh thế nào bạn, chắc do cài thiếu j đó
clang: error: no such file or directory: 'hello'
clang: error: no input files
anh ơi em bị lỗi:"Code is already running!" làm sao để khắc phục ạ
e bị lỗi này thì fix thế nào ạ
[Running] cd "c:UsersADMINOneDriveMáy tínhCodepro" && gcc tempCodeRunnerFile.c -o tempCodeRunnerFile && "c:UsersADMINOneDriveMáy tínhCodepro"tempCodeRunnerFile
'gcc' is not recognized as an internal or external command,
operable program or batch file.
5p26s e ko chayj dc aj
[Running] cd "d:Microsoft VS Code.vscodebC1" && gcc hellowwolrd.c -o hellowwolrd && "d:Microsoft VS Code.vscodebC1"hellowwolrd
'gcc' is not recognized as an internal or external command,
operable program or batch file.
[Done] exited with code=1 in 0.033 seconds
anh ơi em bị lỗi "helloworld.c:1: No include path in which to find stdio.h" thì mình sửa sao a?
anh ơi cout của em ko hiện màu phải làm sao ạ
Cho e hỏi là e đã tải hai cái kia r nhưng khi chạy nó ko nhận dạng xác định đc ngôn ngữ là sao v ạ
4:35 kìa, nó là stdio.h chứ ko phk là studio.h ông ạ
Sao của em code chữ nó màu trắng hết nhỉ. Huhu
Cảm ơn a rất nhiều
Quá đỉnh luôn anh ơi. Hướng dẫn dễ hiểu lắm ạ.
Làm sao để khi Run code hiện ra một cửa sổ như Command Window vậy anh
anh ơi VS code của em đang dùng bt mà hôm trước bị lỗi này anh biết cách khắc phục không ạ "The token '&&' is not a valid statement separator in this version.
At line:1 char:19
+ cd "d:Visual" && <<<< g++ tempCodeRunnerFile.cpp -o tempCodeRunnerFile && "d:Visual"tempCodeRunnerFile
+ CategoryInfo : ParserError: (&&:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : InvalidEndOfLine"
mong anh giải đáp giúp . em cảm ơn !
Thank you huynh😁
Anh ơi, cài vậy thôi, hay cần cài đường dẫn nữa ạ?
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (E:visual codeC-CPPbeginer.cpp).C/C++(1696)
cannot open source file "iostream"C/C++(1696)
cho e hỏi là lỗi này phải làm đây ạ?