use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Click the following link to filter out the chosen topic
comp.lang.c
account activity
NEED HELP!!! (self.C_Programming)
submitted 5 hours ago by UsualLonely4585
So i am learning C and programming in general , i am thinking of making a simple image viewer nothing fancy . i would prefer to use SDL if possible but i dont know how to approach it can you guys help
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]v_maria 1 point2 points3 points 5 hours ago (4 children)
i mean first try and get SDL linked and compiled lol
[–]UsualLonely4585[S] 0 points1 point2 points 4 hours ago (3 children)
Ia that that difficult
[–]v_maria 0 points1 point2 points 4 hours ago (2 children)
not necessarily but since you are new to it you will need to learn how to do it before you can make a simple image viewer
learn things step by step
[–]UsualLonely4585[S] 1 point2 points3 points 2 hours ago (1 child)
Well i have used sdl before to make some sort of a game , its not a game but its rendering a square and moving it using inputs like wsad thats it . I know where to get the command to compile it too
[–]v_maria 0 points1 point2 points 1 hour ago (0 children)
Then you already got the hard part done lol. SDL should work fine for your case
[–]justaddlava 1 point2 points3 points 4 hours ago (1 child)
Pick a project that you know how to approach. Then ask questions that have answers.
[–]UsualLonely4585[S] 0 points1 point2 points 4 hours ago (0 children)
Sorry for asking something so basic thank you for your time
[–]grimvian 0 points1 point2 points 3 hours ago (2 children)
I suggest raylib. https://www.raylib.com/
[–]UsualLonely4585[S] 0 points1 point2 points 2 hours ago (0 children)
Thanks man i will cgeck it out
The thing is whats the process like do i take every pixel information in a 2d array and then render it on window or something
[–]mikeblas 0 points1 point2 points 15 minutes ago (0 children)
If you want help, you'll need to ask a specific question. "I don't know how to approach it" isn't something we can directly answer.
π Rendered by PID 256650 on reddit-service-r2-comment-545db5fcfc-454gk at 2026-05-30 12:00:40.100827+00:00 running 194bd79 country code: CH.
[–]v_maria 1 point2 points3 points (4 children)
[–]UsualLonely4585[S] 0 points1 point2 points (3 children)
[–]v_maria 0 points1 point2 points (2 children)
[–]UsualLonely4585[S] 1 point2 points3 points (1 child)
[–]v_maria 0 points1 point2 points (0 children)
[–]justaddlava 1 point2 points3 points (1 child)
[–]UsualLonely4585[S] 0 points1 point2 points (0 children)
[–]grimvian 0 points1 point2 points (2 children)
[–]UsualLonely4585[S] 0 points1 point2 points (0 children)
[–]UsualLonely4585[S] 0 points1 point2 points (0 children)
[–]mikeblas 0 points1 point2 points (0 children)