TCPL general

C programming general

Other urls found in this thread:

css-tricks.com/tales-of-a-non-unicorn-a-story-about-the-trouble-with-job-titles-and-descriptions/
pastebin.com/GQPnUi7d
twitter.com/NSFWRedditGif

My favourite programming language general? Yes!

#include
int main (void){
while(1){
puts("Enter your number");
int num;
scanf("%d", &num);
puts(num%3==0?(num%5==0?"FizzBuzz":"Fizz"):(num%5==0?"Buzz":"No fizz or buzz for you m80."));
}
return 0;
}

that's pretty leet, user

Ayy wtf
#include
int main (void){
while(1){
puts("Enter your number");
int num;
scanf("%d", &num);
puts(num%3==0?(num%5==0?"FizzBuzz":"Fizz"):(num%5==0?"Buzz":"No fizz or buzz for you m80."));
}
return 0;
}

I'm sorry I am not used to use code blocks in 4chen, but why the fuck is it breaking?

#include
#include

void f(int j)
{
static void (*const ft[2])(int) = { f, exit };

printf("%d\n", j);
ft[j/1000](j + 1);
}

int main(int argc, char *argv[])
{
f(1);
}

std::cout

For those that don't understand this meme: css-tricks.com/tales-of-a-non-unicorn-a-story-about-the-trouble-with-job-titles-and-descriptions/

literally the worst book about C i've read. Such an outdated meme at this point.

#thread rule: post your fizzbuzz before your shitty opinion

how can she still convince herself she's skilled enough to be an engineer?

this is the most fucked up thing i've read all year

it's like they learn all the unimportant stuff and skip the important stuff yet still feel entitled to a job

>b-bu-but i can use PHOTOSHOP
yeah, so can any 14 year old in america

Did ya even read the article? It demonstrates why women shouldn't be outside the kitchen.

what is the best resource for starting with C?

i have a semester of python and oop under my belt

knr

top quality bait
fish

actually, i didn't say this, but i'm more interested in a project that can introduce me to low level networking with C.

any ideas?

Want to test your C and x86 assembly skills?

Tell me what this code outputs if compiled on Linux for IA-32.

pastebin.com/GQPnUi7d

const char *data =
"\x8b\x44\x24\x04\x8b\x5c\x24\x08"
"\x8b\x00\x8b\x1b\x31\xc3\x31\xd8"
"\x31\xc3\x8b\x4c\x24\x04\x89\x01"
"\x8b\x4c\x24\x08\x89\x19\xc3\x90"
"\x55\x89\xe5\x8b\x45\x04\xc9\xc3"
"\x55\x90\x90\x89\xe5\x90\x90\x90"
"\x8b\x45\x08\x89\x45\x04\xc9\xc3"
"\x60\xe8\x05\x0c\x0c\x0f\xcc\xc0"
"\x17\x0f\x12\x0c\x04\xc1\x60\x00"
"\x20\x47\x4f\x54\x4f\x00\x43\x4f"
"\x4e\x53\x49\x44\x45\x52\x45\x44"
"\x00\x48\x41\x52\x4d\x46\x55\x4c"
"\x20\x00\x69\x6e\x73\x74\x61\x6c"
"\x6c\x20\x67\x65\x6e\x74\x6f\x6f";
\

I aint running that shit, nigga

beej's guide to networking

How low level?

is really good for a general introduction to socket programming.

who GLib here?

It's harmless user, it only outputs "goto considered harmful" and "Hello, world!"

I also added a watermark to prove that I wrote it, see pic.

i love you

Doc we are usually on the same page, it hurts me to see you attack me like this.

sorry. The rule still stands though