#c: the programming language
Explore tagged Tumblr posts
Text
https://www.youtube.com/watch?v=t7F03957gec
doing some C: THE PROGRAMMING LANGUAGE
1 note
·
View note
Text
Xenia and Chujin are K&R friends
239 notes
·
View notes
Text
My program crashed for an hour or so and I tried to fix it
I finally fixed it
Twas a fucking compiler command gone bad
My code was good
FUCKKKKKKKKKKK
#cpp is a FUCKING bastard and I HATE it#programming#frc programming#code#coding#cpp#c++#cppprogramming#c++ language#c++ programming
77 notes
·
View notes
Text
Look I don't hate C you can write good code in C if you try and I understand the reasons for its popularity but so many people who don't know shit about C give insane made up reasons for why C is good. C is like if after world war 2 everyone decided to pattern every single gun on the sten because it was really easy to make. And now people retroactively were like actually the sten is the original gun and it's good because it interacts very closely with the bullet and has fewer moving parts. This is nothing, the sten is like that because it's cheap as fuck and when it breaks you can fix it in a burned out French cottage with some sheet metal and a rock and a cigarette.
#computer stuff#saw someone talking about C performance again#it's not! it's not performant!#that's the incredibly fucking complex compiler you built it with you rube#programming languages
98 notes
·
View notes
Text
🧠💾🛠️ I've always had a fascination with The Sims franchise and I am currently looking to get into programming. How was The Sims created? What programs were used (Python, Java, etc.)? What programs and computer languages would I need to learn to emulate this sort of game? - Quora
Answer by Eric Bowman:
I was part of the core Sims team. The first Sims code was written by Jamie Doornbos, later I joined him along with Don Hopkins; the three of us wrote pretty much all of the core code using Visual C++ and used a lot of STL. We also adapted an internal Maxis framework called Gonzo, written by a few people including Paul Pedriana (Paul later drove EASTL). I ended up rewriting a lot of Gonzo specifically for The Sims, but it was a nice windowing abstraction to get started with. I'm still quite proud of my text edit widget, which had all kinds of features totally unnecessary for a computer game, but I had a little time to kill while the game play was coming together.
I think the precursor to the original character animation code was written by Jacques Servin, who was responsible for the famous SimCopter easter egg (SimCopter) and is now one of the Yes Men (in an odd twist of fate, along with a college acquaintance of mine, Igor Vamos). Or maybe Jamie helped him with that, I honestly can't remember.
We wrote a ton of code as a small team, and it was 100% C++ -- there wasn't a single line of assembly code in The Sims, at least not in the core code. By the time it shipped we were using a few internal EA libraries as well, in particular for font rendering. We also didn't use 3d acceleration at all, which turned out to be a good call for massive market penetration. We hit a sweet spot in terms of CPU requirements for smooth gameplay and Moore's Law. We also had basically no unit tests; back then Real Programmers didn't test their own code, which led to an army of testers (who were amazing) and basically a lot more pain that necessary. I'm really happy the world moved toward automated unit testing since then.
Jamie created the "tree language" which gave the characters behavior, which they received from the objects they interacted with. Patrick Barrett was the first and probably greatest tree programmer of them all, and added a huge amount to the game.
One thing that I recall is that the original prototype for The Sims, written by Jamie (in C++) was written for the Mac. When he ported it to Windows, he introduced some Mac-like data abstraction layer to make the Mac code work on Windows, and some of that survived in the shipped game. That must have made porting it back to the Mac particularly interesting (as did my somewhat flagrant use of the DirectX APIs in a way that I'm still embarrassed by).
One thing we considered doing was using Swatch Internet Time which looked like it might take off there for a minute or two, and that would have been an interesting twist how time worked in the game.
There is an ok history of The Sims at the Will-Wright Fansite ::.
Source:
#sims#the sims#simulation games#game engine#game engines#c++#programming languages#game development#Eric Bowman
12 notes
·
View notes
Text
Learning C++ | Log #1
Friday 20th October 2023
I have been studying C++ for some time now, and I'm really happy with my progress. I really thought it was a super difficult programming language (I am jinxing it right now, aren't I?), but what I mean is that even the beginner stuff would be hard. But it's not!
Two days ago, I stumbled upon a website called Saymor Academy, buried seven pages deep in Google. I decided to check out the CS107: C++ Programming course, and I'm so glad I did! I've been learning so much, and it's been a blast, especially since I'm taking the course along with my friend over on Discord teaching me C++ too.
Learning can be challenging, but it's also incredibly rewarding. Once I master the basics, I'll be able to create all sorts of amazing things. I can't wait!
In the meantime, I'm just enjoying the journey~! So if you're ever thinking about learning C++, I highly recommend checking out Saymor Academy. It's a great resource, and it's a lot of fun!
☆ What I learnt today...
History of C++
Syntax
Comments
Data types
Variables
User Input
⤷ ♡ my shop ○ my mini website ○ pinned ○ navigation ♡
#xc: studies#codeblr#coding#progblr#programming#studyblr#studying#computer science#tech#cplusplus#c++ studies#c++ programming#c++ language
153 notes
·
View notes
Text
I HAVE FINALLY SUCCEEDED
IT WORKS!!! IT WORKS!!!!!
[4, 5, 4.3] -> add BECOMES 13.3!!!!!!!!!!
YOU PEOPLE I HAVE DONE IT
source code will be coming soon (as soon as i get more helper functions working.
For now, PLEASE contribute if you can. Even as little as suggesting some helper functions could help me a ton.
Contribute below:
Open a PR, An issue, Anything, Just mention what the language lacks and you don't even need to implement it yourself, I'll add it to the To-Do list and get working on it ASAP.
Join the discord server, I will be posting updates and asking for suggestions and providing beta builds: https://discord.gg/JxnKn9jd
#code#codeblr#programming#compblr#programmer#progblr#developer#software engineering#c#programming languages#github#coding#coder#software engineer#technology#development#software development#software
109 notes
·
View notes
Text
Post #83: Tumblr Opinion Poll by Python-Programming-Language, Question: Which programming resp. script language do you prefer?, 2023.
#programming#coding#coding is fun#i love coding#learning#education#i love programming#programming language#python#c++#c sharp#visual basic#small visual basic#i love python#php#scratch#html#css#java#javascript#script language#opinion poll
212 notes
·
View notes
Text
I go by no pronouns but not as in my name, more so like my pronouns are an undefined variable in shell coding
#neo.txt#coding#programming#like. 5 people will get this#shell and unix in gen are a pretty niche kinda part of programming#with people more so sticking to python html java and the C family#and i guess sql? SQL counts as a language itself doesn't it?#I haven't really used it outside of making basic databases so I don't know fundamentally what it is and why it was created#anyways this was your fairly-rare-on-tumblr more-common-on-twitter tech ramble
18 notes
·
View notes
Text
Which coding languages should I learn to boost my IT career opportunities?
A career in IT needs a mix of versatile programming languages. Here are some of the most essential ones:
Python – Easy to learn and widely used for data science, machine learning, web development, and automation.
JavaScript – Key for web development, allowing interactive websites and backend work with frameworks like Node.js.
Java – Known for stability, popular for Android apps, enterprise software, and backend development.
C++ – Great for systems programming, game development, and areas needing high performance.
SQL – Essential for managing and querying databases, crucial for data-driven roles.
C# – Common in enterprise environments and used in game development, especially with Unity.
24 notes
·
View notes
Text
Everyone says Pointers and Function is difficult in C++ but this stupid Arrays specially Bubble Sort and Selection Sort!!! I CAN'T UNDERSTAND IT!!!
48 notes
·
View notes
Text
Sooo, I'm continue working on 3D engine for Raspberry Pi Pico 2. I have Gouraud, Quaternions, ZBuffer, all that stuff. Everything in C.
5 notes
·
View notes
Text
a Tridaily Dose of Emika
(because of exams)
programming languages I use
I do programming, sometimes. I will list the languages I know, chronologically.
Scratch (when I was 10 or something)
Processing/weird combination of a Java library and a very shitty integrated code environment that comes with it, or whatever that word is. (when I was 14, maybe??)
Python (I dunno, used it for the first time at 16, I would guess)
C (when I was either 20 or 19)
HTML, CSS, Javascript (when I was 20??)
Haskell (when I was 20 (I am still 20))
So Scratch is just adorable, right??
Processing?? I dunno, it helped me learn the concepts????? It was really weird looking back at it. I feel like I was very shitty, but it had a library to make visual stuff easy, so it worked. I wouldn't know how to use actual Java, though, because classes were an advanced concept for me back then, and I forgot it since, and I don't ever use classes with the other languages I use.
Python sucks so bad, I hate it, but school coerces me into using it sometimes.....
C is my favourite, and the one I'm the best at. It's just very satisfying, I guess. I've been building a datastructure library lately.
HTML and CSS are kinda funny, Javascript sucks, but you need it I guess
Haskell is so cute, I love it, but I suck at it as of now. I had a month orso of using it and then went back to C, but I do plan to learn more of it later on :3 now, I will tell you more about these languages
Scratch is just some little kid who is throwing paint around (they are fine??? like they're a kid.... you can't judge them)
Processing is some friendly old white dude (he is fine)
Python is some 30-year old in lower upper management of some multinational who thinks very highly of himself and stuff (we hate him)
C is a 25-year old non-binary cool person (we like them)
HTML is not a person
CSS is not a person either
Javascript, we don't know enough to tell, and with we, we mean I
Haskell is a 16 or 17 year old alt girl (we like her)
#programming#scratch#processing#python#c#html#css#javascript#haskell#determining the personalities of programming languages
12 notes
·
View notes
Text
#pythons live in trees#programming#python#c#programming language#programming meme#nerdy meme#nerd humour#meme
73 notes
·
View notes
Note
hello! i'm a new college student, and the syllabus says c and java are the languages they'll teach in the first two semester. could you direct me to some resources or someone who could help if you're not interested? no pressure, thank you!
hey! i'm unsure how helpful my advice will be because i've only dabbled in c and java, but i can certainly point you in the right direction. i know how much of a pain searching for beginner-friendly resources can be. good luck in your studies, and welcome to college!
GENERAL:
there are a lot of community-curated resources in the tag awesome-list on github. check it out here, and have fun going through them all because you'll never escape
w3schools is great for referencing
this basically gives you the equivalent to a bachelor's degree in computer science and is completely free
freecomputerbooks has a c and java language category. i can't recommend you specific books though
i only discovered wikiversity was a thing when i became an adult, which is a right shame. there's free courses for computer science and information technology
C LANGUAGE:
harvard has an online course called cs50 you can find for free on freecodecamp's youtube channel (the cs50 website also includes notes for the course). it introduces computer science (and the basics of c) pretty nicely
wikiversity's "C Programming" and its wikibook companion
freecodecamp's "C Programming Handbook for Beginners"
if you ever get confused about pointers: A Tutorial on Pointers and Arrays in C
commonly asked c programming questions & answers are in this FAQ
the article "What A C Programmer Should Know About Memory" (a bit more intermediate)
JAVA LANGUAGE:
the wikibook "Java Programming"
wikiversity's java portal has links to both internal and external java resources. i'd recommend looking through it
freecodecamp's "The Java Handbook – Learn Java Programming for Beginners"
freecodecamp's online course "Java Programming for Beginners"
dev.java's "Learn Java"
the free training course offered by oracle
if anyone else has anything to add, feel free to chime in! i hope this helps :)
18 notes
·
View notes
Text
Learning any programming language from scratch is deeply confusing, it's really just like being an alien trying to understand the whole world and navigating through Wikipedia pages to do so
#progblr#programming#codeblr#c language#its like there is MORE to know about?? it just never ends#its hard to focus i feel like i have adhd when i'm in the thick of it
16 notes
·
View notes