Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
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.... -
@WIPocket actually it's a very long string that you manipulate the char's ascii value and get that char to display.
-
@melezorus34 Well if its a string (array imo, but its the same) it still uses two: the array (/string) and the pointer
-
Sumafu22426y@WIPocket In Delphi you could just use one Pointer and store anything you want with "any" size behind it.
-
neriald14456y@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.
-
@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
Level 9999
joke/meme