18
kappekp
5y

Level 9999

Comments
  • 2
    As long as you are the one maintaining that code 👍
  • 2
    The last one refers to brainfuck Im pretty sure

    Edit:
    Just realised that brainfuck has 2 variables...
    Now I kinda wanna make a program only using one array....
  • 3
    @WIPocket actually it's a very long string that you manipulate the char's ascii value and get that char to display.
  • 1
    @melezorus34 Well if its a string (array imo, but its the same) it still uses two: the array (/string) and the pointer
  • 0
    @WIPocket In Delphi you could just use one Pointer and store anything you want with "any" size behind it.
  • 3
    @Sumafu in C and any language derived from it you can allocate chunk memory to a void pointer, then copy anything in there and cast it to any structure you might want.
  • 0
    @Sumafu In JS (or C#/Java and many other langs) you can define one array and than instead of a dynamic pointer use static indexes of it
Add Comment