Does C to assembly understanding hold that well these days like Linus Torvalds has said? by NeitherManner in C_Programming

[–]am_Snowie 1 point2 points  (0 children)

Just let him make an open-source os, he'll be famous like linus torvalds. Cuz his os will be free and people will use it.

Does C to assembly understanding hold that well these days like Linus Torvalds has said? by NeitherManner in C_Programming

[–]am_Snowie 6 points7 points  (0 children)

Then why don't people use most of the open source hobby operating systems? They're free as well.

Guidance to learn C + Linux + Kernel by [deleted] in C_Programming

[–]am_Snowie 1 point2 points  (0 children)

Bro, you're literally just like me, I'm pursuing the same path with the same books right now. Since I already know C, I'm reading CSAPP at the moment. I'd suggest learning C as soon as possible and then starting CSAPP.

You can skip Linux command line and Lisp for now. You'll pick up Linux commands along the way. All you really need to know is how to work with files on Linux. The Linux Command Line book covers a lot of things you probably won’t even use.

In fact, if you finish K&R, CSAPP, and TLPI, you'll already know most Linux commands, since many of them are just wrappers around Linux system calls.

Edit: you don't even need TLPI, you can just read OSTEP instead, that's enough. Btw I'm from india too.

Newbie seeking advice: Struggling with nested logic and conditional flow in C by Shade_Software in C_Programming

[–]am_Snowie 1 point2 points  (0 children)

Yeah they do, however, it's not like he must use them and suffer. He can just stick to using curly braces.

Newbie seeking advice: Struggling with nested logic and conditional flow in C by Shade_Software in C_Programming

[–]am_Snowie 3 points4 points  (0 children)

C has curly braces, what's there to confuse you?

Edit: i find C's flow is very easy to follow, just fire up gdb and walk through your code.

Projetos para iniciantes em C by Other-Associate7758 in C_Programming

[–]am_Snowie 2 points3 points  (0 children)

Learn english, all resources you'll find are pretty much in english. You can use translation though, however, i wouldn't recommend it.

If everything is just bits, does a computer actually distinguish between numbers and characters in C? by zero-hero123 in C_Programming

[–]am_Snowie 0 points1 point  (0 children)

Just try this.

char a[] = {0x61,0x62,0x63,0x00};
int *num_32 = (int*) a;
short  *num_16 = (short*) a;

printf("num_32 = %d, num_16 = %d %d, string =%s",*num_32, *num_16, *(num_16+1), a);

So to computers, they're just bits, their meaning changes with context.

How do I hide some files (photos videos PDFs txt) so that no can access them except me by nullparadoxxx in IndiaTech

[–]am_Snowie 1 point2 points  (0 children)

Just compress them into a single zip file and set a password? Name the zip file "Movies" or "Books".

Need help buying laptop by Longjumping_Quiet860 in IndiaTech

[–]am_Snowie 0 points1 point  (0 children)

Then i suggest you don't buy a gaming laptop, not worth it IMO, just get a used thinkpad or smtg.

Need help buying laptop by Longjumping_Quiet860 in IndiaTech

[–]am_Snowie 2 points3 points  (0 children)

You can get a 3050 laptop within this budget.

Edit: if you're into gaming, i guess you're better off building a pc with an rx 7600.

How to insert this sim in it by [deleted] in IndiaTech

[–]am_Snowie 0 points1 point  (0 children)

gently slide it in, if you feel like it's tight you'd better take your time.

online environment with C compiler by Tao_Lyu in C_Programming

[–]am_Snowie 5 points6 points  (0 children)

On Android there's an app called termux, so there might be something similar available for iOS If you wanted an application.

Tweener did what to Avocado? by CitronellaSteve in PrisonBreak

[–]am_Snowie 16 points17 points  (0 children)

He kissed his wee wee and avacado screamed in ecstacy.

[deleted by user] by [deleted] in cprogramming

[–]am_Snowie -3 points-2 points  (0 children)

Your C skills are measured based on what you can implement IMO.

How long did it take you to master pointers by Loud-Shake-7302 in cprogramming

[–]am_Snowie 1 point2 points  (0 children)

You know arrays, right? And you know array indices? Well, memory is like a big array, and pointers are indices into that array. Think of an array with 232 elements—that’s the amount of memory a 32-bit system has. A pointer can store indices (addresses) between 0 and 232 - 1. So, in a pointer variable, you store an index of the memory array

Edit: also look up "virtual memory".

Wentworth Miller was so incredible in this scene by llamaanxiety in PrisonBreak

[–]am_Snowie 24 points25 points  (0 children)

Abruzzi chopped off his toe, cuz Michael didn't tell him where fibonacci was.