Self taught c

>self taught c
lmao, what were you thinking retard bwahahaha

>lunix user
lmao

what's so funny about knowing the most powerful language on the planet?

> Most powerful language
C is second in power to ASM

That you were self taught by reading old out of date textbooks and looking at pajeet examples on stack overflow and github.

jokes on you I was self taught by watching a video series uploaded by a professor in 2009 and practicing what he taught.

wasted your time with outdated, bad practices
unhirabable : you are worthless
self taught spaghetti code trash

>just taught myself mips assembly in one day
simple program to take in credit hours and shit out your current year. Actually C is worse than assembly so I'll shut up.

Read a book nigger, its really not that hard.

>niggers
>reading books at all

Being able to write C is like bragging about being an author because you know the alphabet.

>i'm so spuhscial cauze muh degree!
The worst code I've seen has come from "educated" programmers, and some of them literally could not program at all.

In my experience there are "self taught" programmers who think watching one YouTube video means they can claim to know the language. Then there are self taught programmers who ripped through books because they fucking loved it. They tend to be as good, or better, than the best degree holders.

Of course brainlets like you aren't going to understand the superior language of C.
Stack *stack_new(size_t capacity)
{
Stack *stack = malloc(sizeof(*stack));
stack->capacity = capacity;
stack->data = malloc(sizeof(void *) * stack->capacity);
stack->size = 0;
return stack;
}

void *stack_resize(Stack *stack, size_t capacity)
{
stack->capacity = capacity;
void **temp = realloc(stack->data, sizeof(void *) * stack->capacity);

if (!temp)
{
return NULL;
}
stack->data = temp;
}

void stack_delete(Stack *stack)
{
free(stack->data);
free(stack);
}

bool stack_empty(Stack *stack)
{
return !stack->size;
}

bool stack_full(Stack *stack)
{
return stack->size == stack->capacity;
}

That's the worst way to write a stack I've seen.

isn't pretty much every programmer self taught except bootcamp and SE codemonkeys?

>stack is array
>stack_resize doesn't even return
>no push/pop functions
I hope this is bait

>I hope this is bait
no, this is Sup Forums

>stack is an array
Yeah no shit, stacks are linear data structures. Would you prefer if your stack were implemented as a linked list, you brainlet?

You do realize you are in the wrong thread, right, wintoddler?

>implying K&R is outdated
>implying the Linux Kernel source code is outdated

are you dumb? (watch out, this is a rhetorical question!)

public class Stack extends Vector

I'll defer to the Java devs over the incorrect opinions of a waterhead on Sup Forums thanks.

I am not a nigger like linus