Dynamic Arrays in Pascal - Old School Cool or ...?

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • Think dynamic arrays are a thing of the past? Think again! Let's take a nostalgic trip back to Marco Cantu's "Essential Pascal" and dive into dynamic arrays and strings specifically. We'll cover everything from setting up your array to adding and working with elements.
    Links:
    Marco Cantù's Essential Pascal - www.marcocantu...
    Memory and Dynamic Arrays - www.marcocantu...
    Code - github.com/sil... (example4.dpr)
    #dynamicarrays #programming #coding #pascal #retrocoding #codingtutorial #softwaredevelopment #generics #oldschoolcoding

Комментарии • 3

  • @anon_y_mousse
    @anon_y_mousse Месяц назад +1

    I've always loved Pascal, and it's the second language I learned, but I've always felt that it was lacking when it came to arrays as compared to C. A lot of people complain about VLA's, which they added with C99, but they're actually a great feature and really replaced alloca() in my toolkit. If you don't know already, alloca() was a function to allocate space on the stack which was present in a few compilers but definitely wasn't standard.

    • @silvercoder70
      @silvercoder70  Месяц назад +1

      @@anon_y_mousse I've been a c programmer in different forms and know what you mean. Also thanks:)