#c programming language tutorial
Explore tagged Tumblr posts
tpointtechblog · 4 months ago
Text
What is C? A Beginner’s Guide to C Language and C Programming
what C is, why it’s important, and how you can get started with C programming When it comes to programming languages, C holds a special place as one of the most popular and foundational languages in the software development world.
Tumblr media
Whether you’re just starting your coding journey or want to build a strong base for advanced programming, understanding C is essential. Let’s dive into what C is, why…
2 notes · View notes
tpointtech · 23 days ago
Text
https://livepositively.com/the-role-of-c-language-in-operating-system-development/
0 notes
brainlesstechnerd · 2 years ago
Text
Introduction: As a high school student in the 21st century, there's no denying the importance of computer science in today's world. Whether you're a seasoned programmer or just dipping your toes into the world of coding, the power of computer science is undeniable. In this blog, I'll share my journey as a 12th-grader venturing into the fascinating realms of C, C++, and Python, and how this journey has not only improved my computer science profile but also shaped my outlook on technology and problem-solving.
Chapter 1: The Foundations - Learning C
Learning C:
C, often referred to as the "mother of all programming languages," is where my journey began. Its simplicity and efficiency make it an excellent choice for beginners. As a high school student with limited programming experience, I decided to start with the basics.
Challenges and Triumphs:
Learning C came with its fair share of challenges, but it was incredibly rewarding. I tackled problems like understanding pointers and memory management, and I quickly realized that the core concepts of C would lay a strong foundation for my future endeavors in computer science.
Chapter 2: Building on the Basics - C++
Transition to C++:
With C under my belt, I transitioned to C++. C++ builds upon the concepts of C while introducing the object-oriented programming paradigm. It was a natural progression, and I found myself enjoying the flexibility and power it offered.
Projects and Applications:
I started working on small projects and applications in C++. From simple text-based games to data structures and algorithms implementations, C++ opened up a world of possibilities. It was during this phase that I began to see how the knowledge of programming languages could translate into tangible solutions.
Chapter 3: Python - The Versatile Language
Exploring Python:
Python is often praised for its simplicity and readability. As I delved into Python, I realized why it's a favorite among developers for a wide range of applications, from web development to machine learning.
Python in Real-Life Projects:
Python allowed me to take on real-life projects with ease. I built web applications using frameworks like Flask and Django, and I even dabbled in data analysis and machine learning. The versatility of Python broadened my horizons and showed me the real-world applications of computer science.
Chapter 4: A Glimpse into the Future
Continual Learning:
As I prepare to graduate high school and venture into higher education, my journey with C, C++, and Python has instilled in me the importance of continual learning. The field of computer science is dynamic, and staying up-to-date with the latest technologies and trends is crucial.
Networking and Collaboration:
I've also come to appreciate the significance of networking and collaboration in the computer science community. Joining online forums, participating in coding challenges, and collaborating on open-source projects have enriched my learning experience.
Conclusion: Embracing the World of Computer Science
My journey as a 12th-grader exploring C, C++, and Python has been an enlightening experience. These languages have not only improved my computer science profile but have also given me a broader perspective on problem-solving and technology. As I step into the future, I'm excited to see where this journey will take me, and I'm ready to embrace the ever-evolving world of computer science.
If you're a fellow student or someone curious about programming, I encourage you to take the plunge and start your own journey. With determination and a willingness to learn, the world of computer science is yours to explore and conquer.
2 notes · View notes
Text
2 Jahre bei SoloLearn ...
Tumblr media
Heute habe ich meinen 2-jährigen Lauf erreicht, d.h. ich habe 730 Tage lang täglich mit SoloLearn gelernt. Mein Abo habe ich jetzt aber beendet. Momentan absolviere ich noch den Einführungskurs in C++, werde mich aber danach auf Python, Small Visual Basic und Scratch konzentrieren.
Tumblr media Tumblr media
Post #243: SoloLearn, Mein 730-Tage-Lauf, 2025.
2 notes · View notes
leveragehunters · 4 months ago
Text
CoPilot in MS Word
I opened Word yesterday to discover that it now contains CoPilot. It follows you as you type and if you have a personal Microsoft 365 account, you can't turn it off. You will be given 60 AI credits per month and you can't opt out of it.
The only way to banish it is to revert to an earlier version of Office. There is lot of conflicting information and overly complex guides out there, so I thought I'd share the simplest way I found.
How to revert back to an old version of Office that does not have CoPilot
This is fairly simple, thankfully, presuming everything is in the default locations. If not you'll need to adjust the below for where you have things saved.
Click the Windows Button and S to bring up the search box, then type cmd. It will bring up the command prompt as an option. Run it as an administrator.
Paste this into the box at the cursor: cd "\Program Files\Common Files\microsoft shared\ClickToRun"
Hit Enter
Then paste this into the box at the cursor: officec2rclient.exe /update user updatetoversion=16.0.17726.20160
Hit enter and wait while it downloads and installs.
VERY IMPORTANT. Once it's done, open Word, go to File, Account (bottom left), and you'll see a box on the right that says Microsoft 365 updates. Click the box and change the drop down to Disable Updates.
This will roll you back to build 17726.20160, from July 2024, which does not have CoPilot, and prevent it from being installed.
If you want a different build, you can see them all listed here. You will need to change the 17726.20160 at step 4 to whatever build number you want.
This is not a perfect fix, because while it removes CoPilot, it also stops you receiving security updates and bug fixes.
Switching from Office to LibreOffice
At this point, I'm giving up on Microsoft Office/Word. After trying a few different options, I've switched to LibreOffice.
You can download it here for free: https://www.libreoffice.org/
If you like the look of Word, these tutorials show you how to get that look:
www.howtogeek.com/788591/how-to-make-libreoffice-look-like-microsoft-office/
www.debugpoint.com/libreoffice-like-microsoft-office/
If you've been using Word for awhile, chances are you have a significant custom dictionary. You can add it to LibreOffice following these steps.
First, get your dictionary from Microsoft
Go to Manage your Microsoft 365 account: account.microsoft.com.
One you're logged in, scroll down to Privacy, click it and go to the Privacy dashboard.
Scroll down to Spelling and Text. Click into it and scroll past all the words to download your custom dictionary. It will save it as a CSV file.
Open the file you just downloaded and copy the words.
Open Notepad and paste in the words. Save it as a text file and give it a meaningful name (I went with FromWord).
Next, add it to LibreOffice
Open LibreOffice.
Go to Tools in the menu bar, then Options. It will open a new window.
Find Languages and Locales in the left menu, click it, then click on Writing aids.
You'll see User-defined dictionaries. Click New to the right of the box and give it a meaningful name (mine is FromWord).
Hit Apply, then Okay, then exit LibreOffice.
Open Windows Explorer and go to C:\Users\[YourUserName]\AppData\Roaming\LibreOffice\4\user\wordbook and you will see the new dictionary you created. (If you can't see the AppData folder, you will need to show hidden files by ticking the box in the View menu.)
Open it in Notepad by right clicking and choosing 'open with', then pick Notepad from the options.
Open the text file you created at step 5 in 'get your dictionary from Microsoft', copy the words and paste them into your new custom dictionary UNDER the dotted line.
Save and close.
Reopen LibreOffice. Go to Tools, Options, Languages and Locales, Writing aids and make sure the box next to the new dictionary is ticked.
If you use LIbreOffice on multiple machines, you'll need to do this for each machine.
Please note: this worked for me. If it doesn't work for you, check you've followed each step correctly, and try restarting your computer. If it still doesn't work, I can't provide tech support (sorry).
3K notes · View notes
ccoderlearner · 1 year ago
Text
The Importance of basic syntax of the C programming language Tutorial
If you're new to the world of programming, learning the basics Syntax of the C programming language is an excellent place to start. C is considered one of the foundational languages in the field, and understanding its syntax is crucial for any aspiring programmer. In this article, we will delve into the fundamental syntax of the C programming language, breaking it down step by step to help you grasp its core concepts.
Introduction to C Programming Language
C is a general-purpose, high-level programming language that was developed in the early 1970s by Dennis Ritchie at Bell Labs. It has since become one of the most widely used programming languages due to its efficiency and versatility.
The Structure of a C Program
A C program is typically organized into functions, each of which contains a set of statements. These functions are the building blocks of a C program.
Comments in C
Comments in C are used to provide explanations within the code. They are ignored by the compiler and are essential for documenting your code.
Variables and Data Types
In C, you declare variables to store data. Data types specify what type of data a variable can hold, such as integers, floating-point numbers, characters, and more.
Constants
Constants are values that do not change during the execution of a program. They are declared using the const keyword.
Operators
Operators are symbols that perform operations on variables and values. C includes various types of operators, such as arithmetic, relational, and logical operators.
Control Flow Statements
Control flow statements determine the order in which the instructions in a program are executed. This includes conditional statements (if, else if, else) and loops (for, while, do-while).
Conditional Statements
Conditional statements allow you to make decisions in your code based on certain conditions. They use if, else if, and else keywords.
Loops
Loops are used to repeat a block of code multiple times. C provides for, while, and do-while loops for this purpose.
Functions
Functions are reusable blocks of code that perform a specific task. They are defined with a return type, a name, and parameters.
Function Declaration
A function declaration provides information about a function's name, return type, and parameters.
Function Definition
The function definition contains the actual code that performs the specified task.
Function Call
To use a function, you need to call it within your program. This is done by using the function's name followed by parentheses.
Arrays
Arrays allow you to store multiple values of the same data type under one variable name.
Pointers
Pointers are variables that store memory addresses. They are powerful tools for working with data directly in memory.
Structures
Structures are user-defined data types that allow you to group different variables under one name.
0 notes
johnbrand · 9 months ago
Text
Call of Duty: Next Potential Chief
With @mrrharper
Inspired by nothing but boredom, Craig booted up his older brother’s console. If he found out that Craig was touching his stuff, his brother would have easily put him in the hospital. The two often fought, being on either end of the masculine spectrum. Craig, the liberal, more effeminate gay, had nothing in common with his conservative, ultra macho douchebag of a brother. Their fights were more or less his older brother shouting slurs at him for being girly, “a pussy” and “a fag," before landing numerous kicks and punches.
The home screen of the console displayed an array of games, most of which were the standard first person shooters. One however caught the short, slim boy’s eyes: Call of Duty: New Potential Chief. He was unfamiliar with any of the COD titles, but this one appeared to be new. At least, that’s what the small “NEW” banner above the icon hinted at. Intrigued, Craig decided to engage, opening the application. It took a while for the game to load, but eventually he was brought to the main menu. 
Complete the Entry Campaign before joining online.
Craig assumed that was reasonable; he would have to endure a tutorial if he wanted to play the game properly. As soon as his finger accepted the prompt, a piercing electric shock paralyzed his entire body. Frozen, Craig now sat completely still as the screen continued forward, ready to engage its program.
Entry Campaign activated, downloading Physicality package…
The screen in front of Craig began to display multiple bars with different characteristics. 
HEIGHT - 68/77 Units
WEIGHT - 152/200 Units
ADIPOSE TISSUE - 16/15%
MUSCULATURE - 23/85%
FEET - 8/15 Units
PHALLUS - 5/9 Units
The standardized inputs confused Craig at first, who although unable to move, still held some consciousness to the situation around him. After the first bones began to crack however, he began to understand the situation a bit more. Fearfully, Craig desperately attempted to move any portion of his body while tendons and ligaments shifted and expanded. As his HEIGHT bar slowly ticked further, Craig could literally hear himself stretching larger and larger, eventually reaching a height of 6’5.
Craig began to plead internally for escape as his muscles proceeded to bloat. His lanky body was quickly evolving, broadening with power. His calves and upper arms swelled, thickening with strength and testosterone. His quads widened, bolstering incredible durability along with his newly-prominent muscle gut. Craig’s seat expanded beneath him, plumping while his hardware opposite upgraded into a juicy 9 inches. Although still paralyzed, Craig’s legs were forcibly separated to accommodate the masculinized bundle, his soles inflating into obscenely large monsters.
Physicality package downloaded. Installing required MASCULINITY data points…
VOCAL HEIGHT - C5/D#4
VOCAL DEPTH - C#3/D2
FACIAL SHAPE - J
FACIAL HAIR - 2/61%
STRENGTH - 21/85%
AGGRESSION - 14/95%
Craig’s head naturally arched back as an emerging Adam’s apple distended from his neck, his vocal chords sculpting an uncommonly deep bass. His jaw was restructured as it jutted forward, stretching his nose and accentuating his brow along with it. A beard quickly grew in to cover the squaring shape, with dark hair flowing through Craig’s pits, down the sternum, across his crotch, and along his arms and legs.
Still fighting for release, Craig felt his inward ambition grow stronger, more offensive. In his mind, he had begun cursing the game, swearing to do unholy things to it and its creator once freed. His language and manner became cruder, brasher, and brutish–akin to his older brother’s demeanor that he had typically admonished. Craig's less analytical behavior distracted him from the the final set of downloads that were being made.
Finalizing Subordination supplements…
INTELLIGENCE QUOTIENT - 145/60 Units
INTERPRETATIVE ANALYSIS - 97/10%
EXECUTIVE SUBORDINATION - 0/100%
Initializing GAMEPLAY package, uploading TF4971-Wolf onto virtual network…
Without realization, Craig’s protests slowly became weaker and less deliberate. His specific remarks began to loosen, his targeted opinions evaporating as the progress bars ticked towards their end quotients. While his aggressive demeanor remained, Craig gradually lost the language he wished to use. Eventually, even his reasoning was wiped away, diluting his directed anger into simplistic barbarism. 
Once his numbers matched the game’s standards, Craig’s brain was completely devoid of any independent thought. His head was cluttered with only the required media truly necessary. Images of loyal men, bulky men, masculine men in specific uniforms established only one precedent. Instructions on how to shoot, when to shoot, and who to shoot became his only scripture. His mind absorbed the gameplay, understanding its commands.
Now unable to process anything but the mission, TF4971-Wolf did not comprehend his teleportation into an online match in the game. He stood at one end of a battleground, surrounded by other men with the same objective. They all wore the same camo utility pants, thick jackets, and beige caps. They held the rifles they were all programmed to easily operate.
TF4971-Wolf did not question who he was, where he was, or even why he was as he proceeded towards the battleground. He was nothing more than a strong, masculine soldier NPC with permanent instructions to follow the COD programming and win the next match.
Tumblr media
211 notes · View notes
strangeaxel · 5 months ago
Note
How do you draw with rebornicas artstyle?
And how did you became rebornicas artstyle?
Tumblr media
Well... LET'S SEE ... (i'm suffering, THIS AIN'T FOR THE WEAK/J btw english isnt my first language so excuse any mistakes :c) Ill tell you some things about the style but keep in mind, i've been drawing realistic stuff for years and also been drawing cartoons for about 2-3 years when i was a teen so keep that in mind, you gotta study other things too that i can't explain on a simple tutorial soo......
Ladies, gentleman and gay autistic aliens... I present to you...
MY REBORNICA TUTORIAL... SMALL... TUTORIAL.
(I ain't no professional on this, i'm a beginner on this style yet)
Tumblr media
i think most of us try to go for the classic era but you can also go for the first one from fnaf 1 (You also gotta use the correct Mike uniform since the one where he has his tie on it's when he's working at the day shift because Jeremy took his shift instead :3)
Tumblr media
When i was a kid and even this year i asked myself why all Rebornica's art was so fcking pixelated and thEN... I IMPORTED THEIR ART INTO MY ART PROGRAM AND DAMN DUDE, WHAT WAS THAT TINY AAAH CANVAS?!
Also, i personally use a very soft sensitivity for my wacom, the less you press the better(?)
Tumblr media
There's a lot of detailed tutorials on how to study art from other artist, you can search it as "master studies" too i think. OBVIOUSLY studies are something you gotta credit ALWAYS, since it's a direct copy. Use references a loooot, i have a lot of references for these guys. ALSO, i recommend to study Mike at first since he's like the base of all the other characters!
Tumblr media
I wish i could have made more of those Do's and Don'ts but i couldn't think of a way to teach some of them in a very simple way. But the most important thing to keep in mind is to not really try to correct much of Rebornica's old anathomy mistakes if you want it to be more authentic etc. :)
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Here's some practice i did today before the tutorial and some from some days ago, I been drawing in this style since august approximately :D
Hope this helps even just a little bit, this can work with any style, you gotta learn how to study anything tbh!
Note: i might continue the tutorial later (reblogging this post) with some info about the body and stuff like that but you gotta know that at least for me (and other ex mutuals) faces/heads are the hardest in this style IDK WHY 😭
83 notes · View notes
starscream-is-my-wife · 19 days ago
Text
Tumblr media Tumblr media
Trying to get back into game dev, so I practiced using the bois
Tumblr media
I've made some dating sims as a joke for me and my friends + some actual games in unity but I haven't touched it since that whole debacle last year, so I've been meaning to get into Godot, the only problem is that Godot has their own language and I like using C#, and although they have improved their support for it, all of the tutorials use Godot Script or whatever so I have to actually read the documentation. I miss the unity UI creation and gameobjects, still getting used to the node system
Trying to program their movements is pretty interesting though, rn it's way too smooth but this could work for their alt mode, like when you press and hold shift they can transform into their alt
(Hasboro I'm just practicing on Godot don't sue me)
77 notes · View notes
2headedb0y · 20 days ago
Text
Tldr I'm 98% sure I'll be able to get stuff like Steam achievements working in my game as well as stuff like checking for DLC ownership if the game ever gets popular enough to warrant a DLC.
Also this is Yurei's apartment so far, he needs more furniture! And I gotta adjust the alignment of a mirror so he can have a bathroom mirror without it clipping into the sink or ceiling.
Long boring version: I got basically nothing done on 2-Headed Boy yesterday, found out Steam's API integration thing only supports C++ and if you want Steam features on your Steam game that's programmed in a different language, you basically gotta use a 3rd party service, the website for the one they list as commonly used for my engine was down of course.
But thankfully the RM community came in clutch once again, and someone wrote up a thorough tutorial on a community forum, including a zip file with all the files I needed to update my engine and game etc. for Steam integration. So that's what I did yesterday. And worked my job too, dumb I know but I got bills to pay 🫠
31 notes · View notes
rigelmejo · 3 months ago
Text
learning to code!
When I was 9 years old, I learned enough html to code neopets pages, my own geocities websites, and I even made forums on my own sites so my friends could all roleplay together or rant together lol. And then? I forgot so much. I no longer no how to make a forum, or even a 'next page' button - so even the dream of just making a simple blog or webnovel site feels like a huge hurdle now. (9 year old me could probably figure it out in 2 hours).
So I'm relearning! I figured this would be a fun post to place resources I find for coding, since there's coding languages, and I figure maybe if you like running you're blog then you also might be interested in tools for making blogs!
First, for those of you who miss the old geocities and angelfire type of sites to make your own free site on: neocities.org
You can make free sites you can code yourself, the way 9 year old me did. A lot of people have made SUCH amazing sites, it's baffling my mind trying to figure out how they did, I definitely wish I could make an art portfolio site even a fourth as cool as some of the sites people have made on here.
And for those pressed for time, who aren't about to learn coding right now: wix.com is the place I recommend for building a site, it requires no coding skill and is fairly straightforward about adding pages or features by clicking buttons. I used it to make my art portfolio site, I am testing out using it for my webnovel - the alternative is Wordpress, but wix.com is letting me basically make a wordpress blog Inside my own site. It's very beginner friendly in terms of "how the fuck do I set up a 'sign up for updates' message and have my site actually email these people my novel updates?" and "I need a 4x20 grid of my art down the page, that lets people click the art to see it's information and make it bigger."
I did neocities.org's little html tutorial today, it's the part of html I DID remember (links, paragraphs, headers).
My next step is to go through htmldog.com's tutorials. They go from beginner, to intermediate, to CSS. Unlike many a coding tutorial I've seen, they explain what program on your computer you need to WRITE the code in and then how to save it and how to open it. (You'd think this isn't a big deal but I've been looking into how to learn Python for months and I can't find a tutorial explaining what fucking program to write my python in... notepad? do I need something else? I don't fucking know!! My dad finally gave me a printed textbook which supposedly tells you what to download to start... I learned C++ in college and for that you needed Visual Basic to code C++, so I figured I needed Something to Write the fucking python IN.)
29 notes · View notes
carlyraejepsans · 1 year ago
Note
If you are going to make a game here’s some things that might be helpful!
Game engines:
Godot: very new dev friendly and it’s free. Has its own programming language (GDscript) but also supports C#. It’s best for 2D games but it can do 3D also.
Unity: I don’t even know if I should be recommending Unity. It has caused me much pain and the suffering. But Unity has an incredible amount of guides and tutorials. And once you get the hang of something it’s hard to get caught on the same thing again. It also has a great Visual Studio integration and uses C#. I will warn you the unity animator is where all dreams go to die. It’s a tedious process but you can probably get some plugins to help with that.
Unreal: Don’t use it unless you’re building a very large or very detailed 3D game. It also uses C++ which is hell.
Renpy: Made for visual novels but has support for small mini games. It only supports Python iirc. Basically if you’re making a VN it’s renpy all the way otherwise you should look elsewhere.
What to learn: Game design and how to act as your own game designer. As a designer you need to know if a part of your game isn’t meshing with the rest of it and be willing to give up that part if needed. Also sound design is very important as well. If you want to make your own sounds audacity is perfect for recording and cutting up your clips. If you want to find sound effects I recommend freesound.org and the YouTube royalty free music database.
Sadly I can’t recommend a lot of places to learn this stuff because I’m taking Game Development in Uni. So most of my info comes from my lectures and stuff. One of my game design textbooks is pretty good but it’s around $40 CAD. It’s called the game designers playbook by Samantha Stahlke and Pejman Mirza-Babaei if you’re interested (fun fact there’s a photo of Toriel in there)
Anyway sorry for dumping this large ask on you I’m just really passionate about game design and I like to see other people get into it.
please do not apologize I'd never heard half of this stuff so this is super useful!! I've seen some godot tutorials on YouTube although so far I've played around with RPG maker MV (it was on sale. very very fiddly interface, i had trouble getting around it) and gamemaker, which recently became free for non-commercial use (a lot more approachable on first impact but like i said, haven't really done anything substantial in either yet).
mostly, I'm still in the super vague stage. I've got an idea for the main story conflict, the protagonist and their foil, the general aesthetic i want to go for (likely 2D graphics, but it would be cool to make like. small cutscenes in low-poly 3D) but not much else. haven't exactly decided on the gameplay either! it's gonna necessarily be rpg-esque, but I'm not much of a fan of classic turn-based combat so. I'm gonna check out other games and see if i can frankenstein anything cooler :P
83 notes · View notes
agatedragongames · 5 months ago
Text
Coding tutorial: Chain-of-responsibility pattern
A peasant, knight and king walk into a software design tutorial, and are here to teach you the chain-of-responsibility pattern. Learn how to create a chain of handlers which can handle different request types.
Tumblr media
This tutorial shows you how to code the chain-of-responsibility pattern in the Visual Studio development environment, using a console application and the C++ programming language.
The chain-of-responsibility pattern passes on a request to a chain of handlers one at a time. Each handler can handle different requests. So if the first handler can’t handle the request, then it will pass it on to the next handler. Once a request is handled, the chain ends. Since there is no longer a need to pass on the request.
It is also possible that the request doesn’t get handled by any of the handlers. Since each handler can handle 0, 1 or many requests of different types.
See the full tutorial here.
Console output:
Tumblr media
19 notes · View notes
officialclangen · 1 year ago
Note
Hya! Do any of the ppl in charge of coding have any recommendations for people who wanna learn? Looking to make my own game but not sure where to start 😅😅 ty!!
I don't work on Clangen as a coding dev, but I am working to become a programmer as a career, so maybe some of my advice might be helpful?
One thing is, What programming language are you working in? Games use a variety of programming languages depending on what they need. Clangen itself is built on Pygame, which runs on the programming language Python. Python's a more "beginner-friendly" language, due to it being written in more regular English. Lots of game engines use stuff like C# or C++ for their memory efficiency though. Choose what you need!
Either way, you'll need to learn the basics of programming before you start going nuts. I'd look up tutorials online for learning that, and make a bunch of small bad programs. You've got to practice it to do it! Also, you're going to break stuff. Don't be afraid of it. Whenever you're doing anything different, stuff is going to be slightly broken at first. You've just got to take another look and the answer might be way more obvious than you think!
✦ Chibi ✦
71 notes · View notes
studyblrspace · 7 months ago
Note
hi! I love your blog. What programming languages would you recommend learning if you wanted to get into astrophysics? I already know c++, but I heard somewhere that python is better for data analysis?
I'm so sorry anon, I drafted an answer and then completely forgot to post it 😭😭😭
the main programming languages I've seen are c++ and python. there's also julia (new), and fortran (🥴).
so its great you already know c++! personally I've used athena++ code for simulations if you wanted a simulation code to play with.
but python would be good to play around with if you're not familiar, its great for visualization / data analysis! I started by learning the syntax and about packages like numpy, matplotlib, and astropy. "Python for Astronomers" may be helpful if you need a resource for learning, it has a free textbook and some tutorials. part of my undergrad computational astrophysics course could was based on it! another fun package is yt, you can look up "python yt cookbook" or click here. this website also gives you sample data from a simulation run and lots of tutorials.
julia is not as widely used but its supposed to have the intuitiveness of python with the performance/speed of c++. it's a newer language, like 10 years old. I've heard that there is a (very slow) shift to this language in the astrophysics community instead of python. I don't have any resources because I haven't gotten around to learning it yet 😅
fortran is an older language, I can't say I'm familiar with it. I've only encountered it in a skeleton simulation code a postdoc was developing (and I was testing the code) so I just know basic syntax. you'd probably be fine not learning it, unless you want to develop your own simulation code soon
I'm only a couple years into (theoretical) astrophysics research so if anyone else has input, please let me know!!
12 notes · View notes
devleader · 4 months ago
Text
How should you approach getting started with side projects? I've tried to answer this for folks, especially when getting started with C#. Many people jump to tutorials first to try and learn the language but often they feel stuck after a while. I recommend flipping the order around, which might seem weird. Instead of watch the tutorial, build the thing... Try build the thing, get stuck, find a tutorial. The first way leads to what's called "tutorial hell" where you're basically just stuck watching tutorials. You're in a loop forever! If you instead say "I'm going to try building an Instagram clone", you're going to sit there and go "... Okay, how the hell can I do that". This is probably the same thing for any type of project you start off on and it's totally normal. You need to keep breaking the problem space down until it's something that feels like you can tackle it. And this is where my opinion may differ from others: I think the goal of these types of projects is proving that you are learning core concepts, trying out technologies, and putting in the practice. If you approach it that way, I think there's a super easy way to start a project: Take anything you're interested in. Cars, movies, music, brands, TV, video games... Whatever. Pick anything. Now, consider making something that shows a collection of this information to a user. From there: - You can pick the platform (desktop, web, mobile - console/WinForms/WPF, ASP/Blazor, Maui) - You can pick where your data will be (can start in memory, maybe a CSV file, maybe move it to structured data like JSON, maybe then move it to a database like SQLite to start with DBs, etc...) - Build very simple user interactions to read and display the data And from there... You iterate and add functionality. Try to add a feature that gets you to learn a new way to use C#, a new package, a new tech, or a different way of programming. Reimplement things in different ways - maybe write about it on a portfolio website/blog. The meta points: - These projects are to demonstrate your willingness and ability to learn things - They provide you hands on experience practicing C# and working with different parts of building a system - You get to refactor and rewrite code in different ways to learn new things I'd recommend you align it to a personal interest to stay motivated. I made a 2D RPG when I first started over 20 years ago. It's still not done. Every few years I go back and work on it. If you're interested in learning more C# and DotNet stuff I have all sorts of links in my profile you can check out for resources. ---- 📨 Sign up for my email newsletter! 🗣️ Share with your network!
8 notes · View notes