If someone can help me i will be thankful

So I posted the error log down below it's a program from school but I can't make it work and I'm very angry so i turned to forums for a solution i know the program works because at school i played with it but the version of Arduino was 1.8 if I'm not mistaken also thank you to everyone for reading this and for helping me in case of something i can also post the code here.

Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "Arduino Uno"

In file included from c:\program files\windowsapps\arduinollc.arduinoide_1.8.49.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\avr\io.h:99:0,

             from c:\program files\windowsapps\arduinollc.arduinoide_1.8.49.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\avr\pgmspace.h:90,

             from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:28,

             from sketch\1010_TP_BANDEAU_WS2812B.ino.cpp:1:

1010_TP_BANDEAU_WS2812B:6:34: error: 'reinterpret_cast<volatile uint8_t* {aka volatile unsigned char*}>(37)' is not a constant expression

SSIN_WS2812B_2020T_STATIC<F16MHZ,_SFR_IO_ADDR(PORTB),_BV(PB0)> gRuban(NBLED); // atof nano V1

                              ^

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino:6:62: note: in template argument for type 'unsigned char'

SSIN_WS2812B_2020T_STATIC<F16MHZ,_SFR_IO_ADDR(PORTB),_BV(PB0)> gRuban(NBLED); // atof nano V1

                                                          ^

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_00()':

1010_TP_BANDEAU_WS2812B:16:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:19:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(0,0,16,0); // led 0 en vert puissance 16/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:20:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(2,1,0 ,0); // led 2 en rouge puissance 1/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:23:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_01()':

1010_TP_BANDEAU_WS2812B:32:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:36:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,0,0,16); // led 0 en vert puissance 16/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:40:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_02()':

1010_TP_BANDEAU_WS2812B:50:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:51:8: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

gRuban.flushRuban();

    ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:54:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:58:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,16,0,16); // led 0 en vert puissance 16/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:62:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_03()':

1010_TP_BANDEAU_WS2812B:71:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:78:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,16,15,0); // led 0 en vert puissance 16/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:83:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_04()':

1010_TP_BANDEAU_WS2812B:93:11: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

gRuban.resetRuban();

       ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:94:11: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

gRuban.flushRuban();

       ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:97:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:101:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,16,0,16);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:102:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(j,0,0,2);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:106:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_06()':

1010_TP_BANDEAU_WS2812B:118:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:119:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,16,0,16);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:120:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:127:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:128:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,16,0,16);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:129:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_07()':

1010_TP_BANDEAU_WS2812B:145:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:146:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,16,0,16);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:147:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(j,16,16,16);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:148:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_08()':

1010_TP_BANDEAU_WS2812B:167:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:168:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,0,0,16);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:169:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i+1,16,16,16);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:170:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i+2,16,0,0);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:171:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_0special()':

1010_TP_BANDEAU_WS2812B:182:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:183:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:187:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:190:14: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

   gRuban.resetRuban();

          ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:192:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,16,0,16); // led 0 en vert puissance 16/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:193:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:198:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_09()':

1010_TP_BANDEAU_WS2812B:210:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:213:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,r,0,0); // led 0 en vert puissance 16/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:218:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_10()':

1010_TP_BANDEAU_WS2812B:230:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:233:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,0,r,0); // led 0 en vert puissance 16/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:238:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_09B()':

1010_TP_BANDEAU_WS2812B:251:14: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

   gRuban.resetRuban();

          ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:254:21: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

          gRuban.setLed(i,r,0,5);

                 ^~~~~~

1010_TP_BANDEAU_WS2812B:256:14: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

   gRuban.flushRuban();

          ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_10b()':

1010_TP_BANDEAU_WS2812B:275:14: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

   gRuban.resetRuban();

          ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:279:21: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

          gRuban.setLed(i,0,r,0);

                 ^~~~~~

1010_TP_BANDEAU_WS2812B:281:14: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

   gRuban.flushRuban();

          ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:289:14: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

   gRuban.resetRuban();

          ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:293:21: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

          gRuban.setLed(i,0,r,0);

                 ^~~~~~

1010_TP_BANDEAU_WS2812B:296:14: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

   gRuban.flushRuban();

          ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_0special3()':

1010_TP_BANDEAU_WS2812B:311:11: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

gRuban.resetRuban();

       ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:312:11: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

gRuban.flushRuban();

       ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:315:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:318:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,r,0,0); // led 0 en vert puissance 16/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:320:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:323:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_0special2()':

1010_TP_BANDEAU_WS2812B:331:11: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

gRuban.resetRuban();

       ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:332:11: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

gRuban.flushRuban();

       ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:335:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:338:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,16,0,16); // led 0 en vert puissance 16/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:340:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:343:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Alluments(int)':

1010_TP_BANDEAU_WS2812B:351:10: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

gRuban.resetRuban();

      ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:354:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,0,0,lum); // led 0 en vert puissance 16/255

        ^~~~~~

1010_TP_BANDEAU_WS2812B:359:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_11()':

1010_TP_BANDEAU_WS2812B:398:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:403:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,0,0,16);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:407:12: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.flushRuban();

        ^~~~~~~~~~

C:\Users\calin\OneDrive\Documents\Arduino\Arduino\MyArduinoSketchBook\1010_TP_BANDEAU_WS2812B\1010_TP_BANDEAU_WS2812B.ino: In function 'void Fonction_12()':

1010_TP_BANDEAU_WS2812B:419:12: error: request for member 'resetRuban' in 'gRuban', which is of non-class type 'int'

 gRuban.resetRuban();

        ^~~~~~~~~~

1010_TP_BANDEAU_WS2812B:426:12: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

 gRuban.setLed(i,0,0,16);

        ^~~~~~

1010_TP_BANDEAU_WS2812B:432:15: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

    gRuban.setLed(i,0,16,0);

           ^~~~~~

1010_TP_BANDEAU_WS2812B:438:17: error: request for member 'setLed' in 'gRuban', which is of non-class type 'int'

      gRuban.setLed(i,16,0,0);

             ^~~~~~

1010_TP_BANDEAU_WS2812B:449:13: error: request for member 'flushRuban' in 'gRuban', which is of non-class type 'int'

  gRuban.flushRuban();

         ^~~~~~~~~~

exit status 1

'reinterpret_cast<volatile uint8_t* {aka volatile unsigned char*}>(37)' is not a constant expression

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

There is obviously a problem with the code that you did not post

The easier you make it to read and copy the code the more likely it is that you will get help

Please follow the advice given in the link below when posting code , use code tags and post the code here

Ouch.

My poor scrolling finger.

Sorry I'm still new to this so yeah now I'm trying to post my small code

So someone suggested to me to post my code, it's small but it caused me a lot of headache and still it doesn't worl

<<
#include "SSIN_WS2812B_2020T_STATIC.h"
#define PIN_POTENTIOMETTRE A0
#define NBLED 16
#define PINLED 8

SSIN_WS2812B_2020T_STATIC<F16MHZ,_SFR_IO_ADDR(PORTB),_BV(PB0)> gRuban(NBLED); // atof nano V1

void setup() // Start of setup
{
pinMode(PINLED,OUTPUT); // atof nano V1
}

void Fonction_00()
{
// on efface l'écran en "RAM"
gRuban.resetRuban();

// on remplie la RAM video
gRuban.setLed(0,0,16,0); // led 0 en vert puissance 16/255
gRuban.setLed(2,1,0 ,0); // led 2 en rouge puissance 1/255

// on tranfert le contenu de la RAM vidéo sur le bandeau de LEDs
gRuban.flushRuban();

}

void Fonction_01()
{
// Allumer toutes les LEDs en bleu niveau 2
// on efface l'écran en "RAM"
int i;
gRuban.resetRuban();
for(i=0;i<16;i++)
{
// on remplie la RAM video
gRuban.setLed(i,0,0,16); // led 0 en vert puissance 16/255
}

// on tranfert le contenu de la RAM vidéo sur le bandeau de LEDs
gRuban.flushRuban();

}

When I asked you to post your code I also suggested that you use code tags when doing so and provided a link to advice on how to do it

Did you deliberately ignore that advice and where is the rest of your code ?

Idk how to use tags it's first time posting here and I believed this is whole like code but I was wrong didn't saw that it doesn't include everything like my code is structured in different functions which I swap in another loop each time I want something different.

The simplest way is to use edit->copy for forum in the IDE and next paste it in a reply.

And you should read the link in post #2

Also, don't use the windows app version of the IDE, it is buggy & old. Download the current version from here.

The good news for a beginner, is that when your code generates pages of errors like this, - the problem is usually very fundamental - in only one or two important places.

The compiler simply can’t figure our what you’re trying to do, hence when it tries to understand your code, it goes looking for references…. and fails.