Considered HARMful
kiwifarms.net
- Joined
- Dec 17, 2019
Be more precise. Widget libraries? 2D graphics? 3D graphics? I mean, OpenGL API is C, so...Are there any good graphics libraries for C?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Be more precise. Widget libraries? 2D graphics? 3D graphics? I mean, OpenGL API is C, so...Are there any good graphics libraries for C?
Be more precise. Widget libraries? 2D graphics? 3D graphics? I mean, OpenGL API is C, so...
That's why I posted the first vaguely-related to graphics thing that came to my mind when answering the questionI mean, the answer to any question of the form "Are there any good <basic computer stuff> libraries for C" should always be "yes."
Oh, I was totally being a dick. But yeah, the better question is "what's the best/your-favourite 2d graphics library for C."And really not trying to be a dick, it's just that the question is not well stated.
SDL is my go to, but I'd be interested if there are cooler alternatives these days.
What about Cairo?
Two suggestions: decide on a project to accomplish something, anything, it could be entirely trivial and ultimately pointless, and then use what you've learned to get it done. If you're fairly good at math, try Structure and Interpretation of Computer Programs, the content and exercises won't be like anything you've seen before, and like Python for example but not C++ you do them in an interpreter. The contents of the book and the language implementations to run the exercises are all free.My biggest problem is actually getting started; I feel like I'm not ready to take on a project and just keep repeating the same exercises over and over again. I bought a C++ textbook recently, halfway through that but I still haven't learned anything (again, these are newbie exercises that I've done in other languages).
I've done this, but they have all been what I'd consider to be beginner exercises. For example I made a snake game using ncurses, I've made a gui calculator with qt, etc. I've also played the overthewire.org wargames up to Utumno and have write ups on the solutions (I know this isn't an accomplishment lol). The issue with being self taught is that I don't know where I stand, it's entirely possible that I already am employable but don't know it yet. I've also been out of high school for a considerable amount of time. Do I revise calculus and start practicing mathematics regularly, do I pick up a book on common algorithms and learn how to implement them? Coming up with a study regime is very hard for me.decide on a project to accomplish something, anything, it could be entirely trivial and ultimately pointless
I thought recommending the Wizard Book was a joke, but I might work through it if you're being sincere. Funnily enough I already have the pdf.read SICP
I've done this, but they have all been what I'd consider to be beginner exercises. For example I made a snake game using ncurses, I've made a gui calculator with qt, etc. I've also played the overthewire.org wargames up to Utumno and have write ups on the solutions (I know this isn't an accomplishment lol). The issue with being self taught is that I don't know where I stand, it's entirely possible that I already am employable but don't know it yet.
I've also been out of high school for a considerable amount of time. Do I revise calculus and start practicing mathematics regularly, do I pick up a book on common algorithms and learn how to implement them? Coming up with a study regime is very hard for me.
I thought recommending the Wizard Book was a joke, but I might work through it if you're being sincere. Funnily enough I already have the pdf.
I agree with @Besachf Jhakut that you're probably employable right now.I've done this, but they have all been what I'd consider to be beginner exercises. For example I made a snake game using ncurses, I've made a gui calculator with qt, etc.
I cannot stand the fact it doesn't use curly braces.So i have had to start learning a bit of Python for a project. Mostly so i can read others code.
I mostly work on PLC programming with structured texts in as my base and then some C++ follow op for things that needs doing. I can also do stuff in Java, but that was a long time ago. So trying to learn Python is not hard in any way, but it kind of scares me.
It is way to free form and honestly it feels like i am making up sudo-code. I get why people like it, it is fast to write in. How ever as i am to used to the limitations of a PLC and C++ this new free form do what ever you want scares me and i fear my code will be a lot more "spaghetti" then normal if i where to use python.
If you're good you will always feel like a retard.How can I know if I'm a good programmer at a professional level (or in other others: hirable)?
I never thought of it that way, I guess I overestimated just how 1337 your typical code monkey is. I obviously have an inferiority complex because I couldn't afford to go to real university, so maybe I actually am at a point where I should be trying to get work. If that's the case then I'm probably wasting my time with the study I am doing at the moment, I've done one and a half years coasting through this networking/hardware/sysadmin 'bachelors', just to get a piece of paper.I can say it right now in terms of basic skills you are employable! Compare yourself to a typical web front end boot camp graduate, you're doing things that are different and probably harder in their own ways. Although getting employed right this very moment is of course a hard thing with so many out of work due to COVID-19, and you don't have any experience on your resume.
At first I thought you missed that this was an ncurses game, but then I looked on github and someone has actually ported the ncurses library to js for use on the web! LMFAO! I'll definitely have a crack at this, as it's an excuse to learn some javascript. My site used to be a static blog duct-taped together with c++ and shell scripts for generating pages... I finally saw the irony of the /g/ memes I had fallen for and did a php rewrite and started using Postgres like a sane person would have done in the first place :LBut you can easily expand the scope of that snake game by writing it in javascript and hosting it on your website. Then implement a public high-score table that you persist. And then write a level editor where users can sign up for an account, design a snake level, save it to your server, and have it automatically playable by others. Then make it multiplayer either over your host or peer-to-peer.
That's covering a decent amount of web-tech and a non-trivial web app to show off to employers.
Maybe it's changed since I was in hiring roles in the 1990s, but most people who claim they're programmers can't actually program. You can, and you're pretty new in the game, probably not a journeyman yet, so you shouldn't worry about your level quite yet.I never thought of it that way, I guess I overestimated just how 1337 your typical code monkey is. I obviously have an inferiority complex because I couldn't afford to go to real university, so maybe I actually am at a point where I should be trying to get work. If that's the case then I'm probably wasting my time with the study I am doing at the moment, I've done one and a half years coasting through this networking/hardware/sysadmin 'bachelors', just to get a piece of paper.
The ncurses snake game, and the QT GUI calculator? Yes, as long as you put plenty of your own work into them, and understand enough of the snippets etc. that you no doubt copied off the web (don't worry, everyone does that nowadays).[You can do math.] Just one more quick question for you; why do you consider the two project examples I gave to be of an employable standard?
You're welcome.I see those meme kids like that one little shit who "dreams in code", and that Indian kid who learned how to use metasploit and gives talks about security now and it just makes me feel inadequate. If there are kids who are better than me then why should feel like I'm good enough to go write software in the real world, y'know? I took note of all your recommended reading by the way, thanks for the advice.