why would you even make a programming language where this raises an error?
why would you even make a programming language where this raises an error?
Falling into your wing while paragliding is called 'gift wrapping' and turns you into a dirt torpedo pic.twitter.com/oQFKsVISkI
— Mental Videos (@MentalVids) March 15, 2023
Try doing the same with rust
You need to declare a symbol. That's usually main, WinMain, or _start. As high-level as C is, LULZ never siezes to amaze.
main is a function, not a "symbol"
main is a symbol everywhere except x86
>it wasn't obvious enough I was trolling before so I'll just throw the pole in the water and then jump in
I'm not trolling. I only know python.
Stick to python
https://beej.us/guide/bgc
lmao believe us, we know
If you had taken a look at any C language tutorial, you would have already recognized you're doing things wrong. Stop trying to write C like it's some weird cross between C and Python. Read a fucking book. Read this book in specific:
http://lshoshia.science.tsu.ge/C/Stephen%20Prata%20C%20Primer%20Plus%20%202013.pdf
And if you don't trust links, that's called C Primer Plus 6th Edition. You can find it anywhere you pirate books normally.
I am literally reading the holy bible of c
And still writing it like a retard I see.
>LULZ never siezes to amaze
OP isn't LULZ.
>siezes
this is dumb too
here is what the OFFICIAL book of the c programming language has to say about it. the word from the man himself.
>all lowercase
It's been a tranny language all along
why even make a language where this raises an error?
....typical fucking LULZ
this is like a picture of the inside of a schizophrenic's mind.
??=include <stdio.h>
int main(void)??<printf("hello world??/n");return 0;??>
Wtf did i just read?
High IQ Book [piped into] Low IQ Retard [leads to] Demented nonsensical Output
between the book and the compiler I have made it this far
don't know how that happened i meant to post
>he accidentally wrote a program that compiles
>had to remove a semicolon to force it to fail
Fucking moron
HOLYFUCKINGSHIT PUT IN A FUCKING RETURN TYPE MY EYES ARE BLEEDING
He's using K&R C. They don't write a return type with main for whatever reason. Like yeah, it's technically not required, but do it anyways, faglords.
And that's why braces SHOULD be mandatory for while loops.
Epic troll. If not, thanks for proving me right about python being the new Java.
Its
#include<stdio.h>
And also
int main()
And also, you don't call main(), the os does when it runs the programm. Fucking lmao.
>The OS calls main
No it doesn't. The entry point could be anything. Execution starts at the beginning of the executable, which usually is compiled to have a jump into the "main" function (whose name is also compiled out of the program).
I shouldn't even have to care at all in 2023 and that's my problem with this shitty language
Let's see if it can be done in C
>I shouldn't even have to care
Neither should we. About you. Also... we don't.
I'm having fun asshole
Just use RAD IDE like a normal person. Why the fuck are you trying to use sandbox for C?
>which usually is compiled to have a jump into the "main" function
If you want to be pedantic, no it doesn't. It will jump to some compiler-specific bootstrap for setting up command line arguments and shit, which will then call main.
yes it does, the OS calls _start which is basically equivalent to calling main()
>the OS calls _start
Again... no.
You really need to study compilation more. What you're calling "_start" is put at the beginning of the executable.
e_entry
I can't bother with Python because it's too bothersome. No IDE, no static types = hours of wasted time. I'll stick with C# and Java.
>Java
PAJEET
ALERT!
PAJEET
ALERT!
PREPARE YOUR RESIGNATIONS!
Well, and Delphi, but it's pretty much dead, so I didn't include it.
Your IQ is too low for C. You should try something like Rust. Unfortunately... our community doesn't specialize in Rust so you'll have to ask a different community about it.
You've got to make it more believable somehow.
IME most people cant even set up a compiler, it doesnt make sense youd get this far and not understand the fundamental diffences between C and a language like python
I don't understand this thread
It started off as shitting on C bait but now he's just learning C
>It's another thread where a tranny tries to undermine C whilst simultaneously shilling his cRust in a different thread
You know what goes in all fields?
Can't blame the troons for this one, we're dealing with the rising star of Mumbai right now.
Rust is for parallel stuff. That's it. For anything else use another language.
this was on my homework
he doesn't understand the difference between interpreters and compilers....
I will never code in rust and chop my dick off.