Tumgik
#c language
ace3899 · 1 year
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Programming as an Aesthetic.
1K notes · View notes
agent-z-coding · 1 month
Text
Writing a programming language in C. How is this syntax:
Tumblr media
Join the discord server, I will be posting updates and asking for suggestions and providing beta builds: https://discord.gg/JxnKn9jd
42 notes · View notes
hayaway · 6 months
Text
100 Days of code 💻✨
Tumblr media
Day 43 - 45
So far i hate c language 😞 and python is getting more confusing but you know what? I will keep going ✨
I mean whats i am going through is totally normal especially as a self studying 💻
By the way, how do you deal with your mind when its hate to think of answers? I know coding is all about solving problems but my head have been on a break for yearssss (I graduated from college 2013) and now its like if my mind can’t solve it in a few second, i am checking the answers right away or searching the internet for it (or do i simply have no patience lmao)
74 notes · View notes
wobinbug · 7 months
Text
I decided to sit my ass down and learn what a linked list is finally 🫣
Tumblr media
It was shockingly uncomplicated 💀
I ended up implementing my own doubly linked list for integers in C and it was super helpful for understanding the data structure as well as a nice reminder about using pointers and manual memory allocation.
Of course, I wrote a few functions to do the following:
- Add to start of list
- Add to end of list
- Remove from start of list
- Remove from end of list
- Delete specific value
Of course, there's much more I can do, but I'm happy with where I'm at so far. Definitely a good exercise to get back into things before uni starts properly 😁
71 notes · View notes
fyeah-tmnt · 3 months
Text
What is the code that can be seen from April's assignment in The Purple Jacket?
I looked into it, because I wanted to know if it was just gibberish pseudo-coding or if it was actually something.
Here's the answer:
The language is C.
It's a very generic code.
The part that can be seen in the clip serves to allocate memory to go through a list of groups. (The rest is missing.)
It is an excerpt of Linux kernel code. It is from the function groups_allocate within the groups.c unit. It allocates memory of the proper size so it can be filled with the result of a group info query.
Furthermore, the code is featured on Hackertyper. The producers likely took a screenshot of that website to use as generic source code for that scene.
30 notes · View notes
nixcraft · 11 months
Text
Visual guide on how memory allocation works:
102 notes · View notes
xiabablog · 1 year
Text
Tumblr media Tumblr media
I just want to code and program for fun. There are so many things I want to learn and program with just for fun. I’m not learning to get a job, I’m learning all of this for fun!!!!!
I’m happy when I code and I get an error and can’t find the solution for 2 days, and just when I’m about to break my laptop, I find the solution. I don’t mind that because in the end… I make something cool.
I make something where I’m like “Well, goddamn! I did a pretty good job! Let’s do this whole process again with a new idea! 🥲🙏🏾”
No but seriously I have a list of languages, frameworks and some backend stuff I want to work on:
Rust 💗
Python 💗
JavaScript (more in-depth) 💗
C# (more in-depth - I’m starting to like C# more) 💗
C++
C
TypeScript
Flask
Django
Unity
Node.js
MongoDB
Vue.js
React.js 💗
PHP 💗
Go
Ruby
Winforms 💗
Ruby
Lua 💗
WPF 💗
I want to dabble in all of them and give each one a go. And I will. Not for a job, but out of my own curiosity to see what I can build with each of these languages! 💗
My brain says I can’t and I’m competitive so I’m gonna prove her wrong 👏🏾✨
176 notes · View notes
izicodes · 9 months
Text
Zoey's YouTube! 🐝💗
youtube
Just wanted to promote @zoeythebee's videos she's made recently since I have been watching them and enjoying them! They're doing a series on programming a physics engine in the C programming language~!
Now I have zero knowledge of the C language but it's still cool for me to see her trying to code and explain what she's doing! I
If you haven't already, I highly recommend visiting @zoeythebee's profile and diving into their video series! ヽ(‘ ∇‘ )ノ
The video above is episode 1, here are the rest so far:
episode 2
episode 3
Have a nice day! 🐝🙌🏾💗
55 notes · View notes
bas-fish · 5 months
Text
i’m playing with C these days and wanna try some (fun) beginner project.
here, abzu basking shark gif for your attention
Tumblr media
18 notes · View notes
fcthots · 7 months
Text
Do any of y’all know how to code in C, I need help
I have this stupid fucking zybooks due in 2 hours and I can’t figure it out + I have other hw
24 notes · View notes
sandycodes · 9 months
Text
day 10/100
Tumblr media
today was my first day (well not technically first because i started this forever ago and only finished week 0 lmao) doing cs50!! as i said, i completed the week 0 exercises a while ago and i also am very familiar with scratch and how it works, so i figured it wouldn't be a huge deal to move straight into C. honestly, i thought it would be more confusing but it's not quite as bad as i thought yet. i like how straightforward and specific it is, even if it is a little roundabout at times.
the lecture i watched today taught me about basic syntax, function libraries (and how to create your own), conditionals, variables, loops, and some basic terminal commands <3
26 notes · View notes
brightgreendandelions · 2 months
Text
i finally succeeded at running wasm code (compiled from c) with webgl support, without using emscripten
no more 1.2GB compilers everyone!! all you need is clang and the 1400 lines of code (the library_webgl.js file) i stole from emscripten
7 notes · View notes
Should I actually make meaningful posts? Like maybe a few series of computer science related topics?
I would have to contemplate format, but I would take suggestions for topics, try and compile learning resources, subtopics to learn and practice problems
4 notes · View notes
gla55t33th · 9 months
Text
Ok. I need a consensus. C/C++ programmers.
Tumblr media
12 notes · View notes
antibabypillen · 9 months
Text
Making a package manager in C lmfao
Github: https://github.com/cement-drinker/grovepkg
Pinging <? Idk what it's called> @xiacodes and @anndcodes and also @wallf1ower because idk how you guys study for this
15 notes · View notes
amaiguri · 8 months
Text
Okay, fine, we'll TALK about Nouveau Thuille...
Tumblr media
Nouveau Thuille is a city settled in a fertile valley under the Upper Continent run by a collection of mafia-like families -- and of those, there are four (kinda) primary House with the most influence:
House d'Magnia — The Spec Ops & Research
House d'Aramitz — The Military & Production
House d'Fealtoire — BIG old money folks
House d'Romanach — The Factory Workers & Agriculturalists
House d'Solais (Deceased) — The local-equivalent of King Arthur's house
The nobles collectively tell the people that they are holding power until their Emperor Under the Mountain, the Once and Future Emperor, Riavh Solais, returns to lead the world to eternal peace. And they definitely all believe that and it isn't propaganda. Definitely. 🙂
Anyway, without a very clear central authority, there are functionally no laws for nobles or those affiliated with them -- this includes this like murder and using corpses for science experiments and so forth. And so... there are basically laws for no one, because even the commonfolk farmers will pay taxes to (read: Get extorted by) at least one of the nobles families. That being said, you cannot be SEEN just MURDERING PEOPLE in the streets. You have to SEEM respectable. Openly murdering or kidnapping or robbing people? That's uncouth and you're properly stupid and dangerous if you can't HIDE your crimes. So, perhaps it's better to say, "There are no laws if you don't get caught breaking them."
Somehow, despite this relative anarchy and decentralized government, technology advances steadily. (Probably because competition between the Houses has led to growth!) And, recently, increased contact with the South has led to rapid industrialization over the last 50ish years here, which has led to the creation of a middle class. House d'Magnia and House d'Romanach both appeared into the last three or four generations or so.
Tumblr media
So, with all that said, let's get into the thing WE ALL CARE ABOUT the most: What do people even EAT? Here's just a handful of foods:
- Stroganina -- Cut frozen fish into strips, eat raw
- Salmon Roe
- Frozen Rumateur Liver -- Freeze a Rumateur lamb liver, eat raw
- Eider Foie Gra -- (Force) feed an eider a diet of mostly black pine nuts, blood, and meat scraps, kill it at a year old, fry the liver on a rock slab, salt and top with thyme
- Rumateur jerky
- Rabbit Stew -- Every family has a unique stew recipe.
- Frozen Cream -- Rumateur cream is whipped and mixed with wild berries frozen or dried from the summer
- Bechamel Sauce -- Butter, barley flour, warmed and whipped. Add salt or honey for different flavors, frequently put on bread
- Barley Bread -- Both risen and flattened
- Fermented Rumateur Milk -- Has a vodka/soda like taste, sometimes warmed before drinking
- Barley-based Beer
- Rumateur Tongue Sandwich -- Traditionally on a barley bread bun with rumateur cheese, Tongue is grilled, roasted, or fried in lard, Lightly salted, sometimes dusted with thyme, sometimes eaten with bechamel sauce
- Barm Cake
- Blood pudding
- Scrap Meatloaf -- Made of scraps of meats from other meals, ground up, frozen into a cube, and then fried in lard
- Honey Mead
- Berry-Wines/Champagne/Ciders -- Every family has unique fermenting process for their Wild Berries
Tumblr media
The Evolution of Theatre in Nouveau Thuille
This might seem random but hear me out: What could be more important to a culture than HOW THEY TELL STORIES about themselves?
See, for the longest time, across the North, they would tell stories of legendary figures, animals (particularly seals), and stock characters in song-form -- with funny voices for each of the characters. Sometimes puppets would be involved, particularly with children.
Then, around the time of Riavh Solais, the oral tradition just evolved to have more specific forms of songs -- and more people were expected to learn to sing songs or at least have their own, unique verse to a song -- but the melodies became more standardized, as a means of telling history. Character voices and accents became very specific, and some costumes became iconic. However, sorta like Opera, you didn't have to move around -- you just entered, exited, maybe even only stood up and sat down, and sang/played your instrument to play your role -- maybe with some, minor hand gestures or props. This means that they often explicitly said what they were doing, rather than demonstrating.
Today in Nouveau Thuille, shadow plays are popular -- typically set to music, sometimes with the help of tiny music boxes that cast shadows -- but dolls are considered crude and for children. This evolved into shadow dances briefly before just becoming actual dances, set to music, with poetry being recited -- sometimes by the actors themselves but usually by the chorus or the musicians. But the body language -- intended to be slightly stylized but with realistic facial expressions (much like their paintings being stylized but leaning towards realism these days) -- is supposed to do most of the work. And sometimes, there will be extended periods of no-speaking, only dance, and music.
These are performed in people's homes or the streets, but special effects in Ysse contraptions, alchemy, and other such special effects are used to enhance the performance and Nobles particularly are expected to tip to learn the secrets of how it was done -- and so, theatre is just an extension of the industrial military complex.
Nouveau Thuillean Language
For all 2 of the Conlangers who follow me (unless you've come over from YouTube... in which case, hello all ~650 of you lol), Nouveau Thuillean is intended to look and sound Franco-Irish. It has two grammatical genders (Normal or Transcendent), a definitive and subjunctive mood, and special Timeless conjugation -- for things that are happening regardless of time.
Since I have a whole language breakdown on my website, I won't dig into it here but here's just some sample sentences for you:
If you had loved me, none of this would have happened! = The ev'vatoirias eu, flavon s'de eblivui. I hear the call of the Abyss. (I.e. I feel self-destructive, I want to do/know something that will hurt me. "Call of the void" refers to something that will hurt you but you MUST do) = Nenne theillan d'flavoneisse. It's a flower. (i.e. It's really simple/easy.) = Zaira peo.
AND WITH THAT, I will leave you for the day. This was such a long post lol and I didn't even cover everything XDDDD
13 notes · View notes