Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Beginner C project

Name: wat !QqL8nX9URE 2008-09-26 10:59

I've been studying C for a couple months now, and now I want to start on a small project that'll keep me busy for a few weeks or so. What should I start on?

Name: Anonymous 2008-10-06 15:15

>>40
DwarfFortress has made me rage.
Is this even relevant to the topic, or is it just your way of saying, "I've played Dorf Fortress"?

Name: Anonymous 2008-10-06 15:43

>>36
Good advice. libtcod rocks.

OP could also try to write a Unicode roguelike (maybe restricting himself to Lucida Console characters). It'd have these advantages:
1. The advantages of writing a roguelike.
2. He'd learn about Unicode and how to do things the Proper Way.
3. It'd be kina innovative, which is something OP can otherwise hardly afford.

>>40
which is a mess to accommodate a broken operating system without real console support
While I share your hatred for toy operating systems, I feel obliged to point out that Windows' console >>>>>>>>>>>>>>>>>>>>>>> UNIX terminals, even if the console windows themselves lack the nice features of good terminal emulators such as Konsole. The console system is so much better. It's Unicode (if you know how to use it, but almost nobody does). You have real scancodes, not ^]]36;45lolM bullshit. You can use any key, as in any, as well as the mouse, fully. You can use Esc properly. You have colour attributes, not ^]51fag;33 bullshit. And everything works perfectly regardless of your terminal emulator (there's none), emulated terminal, terminfo, version, Linux distribution, and bugs. You don't have to support 45 different sequences in order to detect a fucking arrow, or load an XBOX, often non-Unicode library just to read what might be an arrow.

I wish GNU/Linux ditched absolutely everything about terminals and provided a new means for text-based applications; something just like Windows' console, where all output is written to and events are read from a file (with forcefully standard, efficient, simple binary commands for anything that's not UTF-8 text; maybe simply using Unicode private use characters to make it even simpler).

Name: Anonymous 2008-10-06 17:08

>>41
I haven't played it, and it still makes me rage.

Name: Anonymous 2008-10-06 17:11

I wish GNU/Linux ditched absolutely everything about terminals and provided a new means for text-based applications; something just like Windows' console, where all output is written to and events are read from a file (with forcefully standard, efficient, simple binary commands for anything that's not UTF-8 text; maybe simply using Unicode private use characters to make it even simpler).
It's called X11 (or even SDL).  Create a window, grab input, draw characters.

Check Angband for shitty code.

Name: Anonymous 2008-10-06 19:30

>>42
I'm sure Anoix will fix all the terminal bloat.

Name: Anonymous 2008-10-07 4:55

First write an efficient graph implementation, then write an algorithm to generate random graphs and then write an algorithm to find out whether the generated graphs are isomorphic.

That should keep you occupied for a while.

Name: Anonymous 2008-10-07 6:25

>>42
simple binary commands for anything
catting a data file to the console is going to be fun shit

Name: Anonymous 2008-10-07 6:32

>>42

You sir, are an idiot.

Name: Anonymous 2008-10-07 11:11

>>42
It's Unicode (if you know how to use it, but almost nobody does).
Wait, how do you write UTF-8 strings to the Windows console, again?

I never got that to work, ever.

Name: Anonymous 2008-10-07 12:31

>>49
Windows does not support utf8, only broken utf16le. You can change it with chcp (I don't remember exact code, because I'm not a faggot like >>42).
While we're at it, gnome terminal software has perfect support for utf-8, and for lots of other encodings (everything from iconv I guess)
I don't know how much of a faggot you should be to claim that windows has good support for unicode.

Name: Anonymous 2008-10-07 13:01

Windows console support is horrible all around. Broken, buggy, and frankly not as fast as it should be.

Name: Anonymous 2008-10-07 13:09

>>50

>Windows does not support utf8

-The default command shell does.
-You are right chcp 65001 does change it to UTF-8.
-It supports a lot of other encodings to.
-Powershell does unicode.
-Unicode is the default for Powershell.
-Powershell is now part of Windows (and can be downloaded for older versions)

I don't know how much of a faggot you should be to claim that windows does not have good support for unicode.

Name: Anonymous 2008-10-07 14:13

>>43
But is it relevant

Name: Anonymous 2008-10-07 14:40

>>53
It never was.  DF sucked from the start and only suckered in ADOM-tards that don't know what Free software is like.

Name: Anonymous 2008-10-07 18:05

>>54
Orly? Is there any Free software out there that does that whole dynamic-environment-in-randomly-generated-world thing like DF does, roguelike or not?

Name: Anonymous 2008-10-07 19:06

>>55
What has this to do with sucking?

Name: Anonymous 2008-10-07 19:12

>>56
Free® doesn't offer a superior or even comparable replacement for DF.  Therefore "know[ing] what Free software is like" is irrelevant and >>54 is dumb.

Name: Anonymous 2008-10-07 19:25

>>57
Conceded.

Name: Anonymous 2008-10-07 20:12

>>52
BMP != Unicode

Name: Anonymous 2008-10-08 13:32

>>55
Orly? Is there any Free software out there that does that whole dynamic-environment-in-randomly-generated-world thing like DF does, roguelike or not?
Yeah.

Name: Anonymous 2010-12-06 9:02

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2010-12-06 9:13

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2011-02-02 23:53

Name: Anonymous 2011-02-03 0:56

Name: Anonymous 2011-02-03 3:04


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List