I don't know what to program in C for practice
I don't know what to program in C for practice
Other urls found in this thread:
sleazyfork.org
twitter.com
try writing a simple todo app
a html parser
try programming a game and enjoy coding 1000 lines to display a button haaha
A calculator.
but what do I use for the interface
okay
I'd rather an hero
but I already did that multiple times
>but what do I use for the interface
nothing, just do it in the terminal
lol
Make a program to organize cute anime pics.
Write a C++ compiler.
you know, I've always wondered how those programs with a terminal user interface are made, like a terminal file manager(ranger) or music player.
that can be done with ncurses, right?
Actually , I was going to make a program which puts a cute waifu on your opened window
m-maybe in a few years
Implement allocators and basic data structures like hashtable, vector...
You could also just take some small/middle sized sepples library that somebody might want to make bindings from other languages but have not done because you can't do it with c++ libraries.
>You could also just take some small/middle sized sepples library
and rewrite it in C.
yeah, it's done with ncurses
what i had in mind though was something more like git in terms of the interface
for example, to add a task, you'd type `todo add 'Go grocery shopping'`, and it would be added to the current date
or `todo ls` to list the tasks, `todo check 1` to mark task with index 1 as completed, etc
Good idea, it might even come in handy
I could always make both, probably will
Try writing an interpreter for a subset of Python that has a better C API.
>I don't know what to program in C for practice
You can do it with Ncurses, it would be very fun too. Start small, hello world with Ncurses.
create your own tiny bytecode and write a vm for it
Create a program that spawns a process. As soon as one tries to kill that process it spawns another process that outputs "psshh nothin personnel kid"
>He didn't use an open source renderer
top pleb
why not use a WYSIWYG Game Dev Meme Tool from Steam for $50 ?!?!
or maybe you just want to write it all by yourself like a man
and not to worry guys, all of these will be free and open source projects underd the MIT license
kek
Use nuklear
>single header
>cross-platform
>no bloat
>skinnable and feature-rich af
Literally the one and only acceptable gui-toolkit ever.
damn, thanks
Please don't post pictures of my wife without permission.
A program that grabs all anime pictures with tag inputs and heuristically identifies whether it's lewd
>but what do I use for the interface
ncurses
your wife is my sex slave, dude
Program an imageviewer which can open ZIP/RAR files and sort all images into a big infinite scrolling reel, and then add an auto-scrolling feature where the speed of scrolling can be set.
and add support for sad panda as well?
There's already a browser script doing that user:
sleazyfork.org
What we are lacking is the same for offline imageviewers.
damn,why didn't I know about this
Because there is a lack of a technical term for
"loading up all images on a site into one page, in a vertical manner with infinite scrolling, like a movie reel". So google searching it is a bitch. Or at least there is one but we are unaware of it, which is also a problem.
Fizzbuzz.
Then a red-black tree implementation.
#include
int main(void) {
enum { a=012, b, c, d, e, f };
struct format {
const char *format;
struct format *next;
} formats[] = {
[1] = { "Fizz\n", &formats[6] },
[d] = { "Fizz\n", &formats[3] },
[8] = { "%d\n", &formats[c] },
[2] = { "%d\n", &formats[d] },
[7] = { "%d\n", &formats[2] },
[b] = { "%d\n", &formats[1] },
[9] = { "FizzBuzz\n", &formats[7] },
[e] = { "%d\n", &formats[9] },
[a] = { "Buzz\n", &formats[b] },
[4] = { "Fizz\n", &formats[a] },
[5] = { "Buzz\n", &formats[0] },
[0] = { "Fizz\n", &formats[8] },
[3] = { "%d\n", &formats[5] },
[6] = { "%d\n", &formats[e] },
[c] = { "%d\n", &formats[4] },
};
struct format *format = formats+7;
for (int i = 1; i format, i);
format = format->next;
}
}
Try a simple ASCII rogue-like/game that works on a simple grid.
Bonus, user can make levels in text editor.
Doesn't have to be to fancy. Monster movements can be evaluated after user has moved.
i always try to do puzzles for algorithmic problem solving practice.
you mean like the slideshow view?
>wife
>my
Slideshow view is more image flipping.
I mean this
Like those manga sites where instead of clicking for the next page you just scroll down as the pages of the chapter/volume are stacked one beneath the other.
I'm calling it "reel" mode from now on.
That actually sounds good.
"Reel" mode for when you are scrolling pages.
"Flip" mode for when you are clicking for the next image.
favicon.ico drawer using curses
An operating system with network stack and GUI.
explain
you want to draw in a terminal?
Write a DNS hijacker that redirects all porn websites to islam learning websites
artifictial inteligence to create furry art (judging by op image you should like that)
Avatarfagging is against the rules
sure, just give users like 256x256 or less grids and then a basic color palette. you know, to make those stupid icons in browser address bars or tabs.
if you don't do it, I will anyhow.
I need to make a terminal toolkit for javascript anyhow.
not if it's cute
what other application is there for such a thing other than reading manga shit?
you could just make those images into a cbr and read it on a reader with autoscroll
>what other application
Does it matter?
If it does have an application, then it has a reason to exist.
not since moot sold the boards off to a marketing firm now its a big business regurgitating anime memes pretending to fit in
a
b
c