This time i'm definitely gonna learn programming

>this time i'm definitely gonna learn programming
>I'm definitely gonna build/compile my hello world
*gets absolutely filtered by make and makefile*
bros this cannot keep happening, it has been 15 years now.

Attached: jHhxqeU.png (578x577, 410.41K)

Learn some other language

>it has been 15 years now.
dude you are not going to make it

[~] $ nano anime.c
#include

int main() {
printf("こんにちは世界\n");
return 0;
}
[~] $ gcc anime.c && ./a.out
こんにちは世界

>this time i'm definitely gonna learn programming
>drop literally every book 3 to 4 chapters in

Attached: 1642006884912.png (750x1000, 804.97K)

This can be applied to basically anything any tries to self-learn. Then they try and find a "most efficient way to learn x". Not discouraging anyone btw, just keep at it.

>filtered by make
not going to make it

the best way to learn programming is to find a reason to do it
most of my lisp knowledge comes from configuring emacs and building clojure apps

Attached: carlos.jpg (600x600, 34.54K)

literally me but with drawing and making a game

yeah man I have an assignment due monday and I just can't fucking do it, "write a function that returns true if a given input string is a palindrome, false otherwise"

I am this way. It's very hard for me to stay disciplined in self learning. How do you stay motivated bros?

Attached: 1654221346254.jpg (540x400, 39.24K)

I was there, just learn cmake instead lololol

Lol
Just iterate and compare the index with the index of the last character. Do it for half the size of the string.

unsigned char isPal(char * str)
{
unsigned long size = strlen(str);
for (unsigned long iter = 0; iter < size / 2; iter++)
{
if (str[iter] != str[size - iter - 1]) return 0;
}
return 1;
}

>filtered by make and makefile
how does someone get filtered by these?
are you baiting?

you fuck

Learn Spanish

Find out how long the string is, put in variable "string_length". Iterate through the string letter by letter, storing each letter into an array as you go, up until you reach letter that is halfway to "string_length". If "string_length" is even, check if each new letter you come across in the string matches with what you have in the array, going backwards. If a letter doesn't match, bail out and print false. If string_length is odd, skip the middle letter and do the same process as an even length string. If you match all the way up to the beginning of the array and you are out of letters, it's a palindrome.

Attached: download (1).jpg (256x256, 12.57K)

You have to make learning your major source of dopamine
easier said than done
Only way I learnt stuff was actually doing work at an internship

The real answer is to just cut the shit. You're organic and dying. Your time is limited. You either do things or you don't. It's literally that binary. The real answer that you probably won't even admit to yourself is that you're lazy unmotivated fuck.

>it has been 15 years now
you can always start tomorrow user!

You program first, reads books later

adderall, thank me later. fallout 1 mentats logic.

Attached: 1643461418103.jpg (715x315, 13.86K)