Lern the HolyC !!!
Install TempleOS !!!
k
Seems to work fine for me in GCC.
U8 *vars
...
Reminder that TempleOS is digital circumcision, and on the day of Judgement, only those with TempleOS installed will find favor with the LORD.
try remove 1st line
may be predefinations is not need
Wrong.
Only those who only use TempleOS will be saved
Nope. Also tried having it with the array declared outside a function. Maybe you just can't pass arrays to functions in HolyC.
I dont suppose you need empty parenthesis on main do you
Looks like that was part of it. The other part was that it seems like you have to pass arrays to functions with a pointer and the final part was that you can't have function prototypes and a pointer parameter without it thinking that parameter is unused.
post the fixed screenshot please
bleh
Also buy the syscoin!!! :DD
retard
>Maybe you just can't pass arrays to functions in HolyC.
That's what it says in the first screenshot you posted. "ERROR: No arrays in fun args"
...
Still a weird limitation though. I also don't get why you can't have function prototypes with pointer parameters but ones without pointer parameters are fine.
try this
U0 print_stuff(U8 * vars)
{
if(!vars){return;}
U8 * p = vars;
Print("%d\n",*p);
print_stuff(++p);
}
U0 main
{
U8 * varsp[101];
U8 vars[100];
U64 i;
for(i=0;i
Is it ok to install it on a VM?
yes
this code is complety stuped and extrimly non effective
you guys realize that if he kills someone, then Sup Forums will be shut down, right?
God will shut down evereone who regect hes will
care to explain your reasoning or do you like being a retard?
this code worck by mistake
U0 print_stuff(U8 * vars)
{
if(!vars){return;} // this is true only if
U8 * p = vars;
Print("%d\n",*p);
print_stuff(++p);
}
U0 main
{
U8 * varsp[101];
U8 vars[100];
U64 i;
for(i=0;i
You don't know what you are talking about. Why are you throwing out the NULL when the recursion clearly checks if the pointer is NULL? Do you know what an array of pointers is?
>print_stuff(varsp[0]);
print_stuff(varsp);
Maybe a double pointer would work as a better arg for print_stuff(), but it would need to be doubly dereferenced when printing.
>print_stuff(varsp[0]); // varsp[0] is same like &vars[0] and it equal vars
why you so retarded?
OK, WEE NEED TO PORT SOME SORT OF BASIC IN TEMPLE_OS
HOLYC NOT FOR EVEREONE
...
Woah
...
This is what amerigoys consider as "jerking off". Truly disgusting.
I can't believe you've done this
>TempleOSCrash.webm
kek'd
...
DELETE THIS!!!
terry is streaming btw
fixed
U0 print_stuff(U8 * vars)
{
if(!vars){return;} // this is true only if
U8 * p = vars;
Print("%d\n",*p);
print_stuff(++vars);
}
U0 main
{
U8 * varsp[101];
U8 vars[100];
U64 i;
for(i=0;i
>The
right to do your own port banging is what the C64 being our God given ancestral
land means.
>declaring array lengths in 2017
i seriously hope you guys dont do this