I am following alone to a YouTube C++ tutorial on creating arrays using loops on Vscode for MacOSx. https://www.youtube.com/watch?v=Z9Wc8EsGjJY

这是我写的for循环

for(;int x=0; x<=8, x++){ 

终端不断向我发出此警告:

warning: relational comparison result unused [-Wunused-comparison] for(;int x=0; x<=8, x++){ 

结果,我的数组无法打印。难道我做错了什么?