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

Simple GUI in C

Name: Anonymous 2010-10-10 9:38

I just have to write a frontend to my program because my professor doesn't like CLI. What should I use? I thought about GTK but I heard it's terrible!.

Name: Anonymous 2010-10-10 9:50

my professor doesn't like CLI
Bummer.

Name: Anonymous 2010-10-10 9:51

Common Lightweight Interface

Name: Anonymous 2010-10-10 9:53

>>3
That's a good one to use.  It's very simple.

Name: Anonymous 2010-10-10 10:27

GTK is terrible, but the alternatives are worse.

Name: Anonymous 2010-10-10 10:33

my professor doesn't like CLI.

What?

Name: Anonymous 2010-10-10 10:45

>>6
Because it's the 21st century and nobody uses the command line anymore. Duh.

Name: Anonymous 2010-10-10 11:16

>>7
PowerShell proves you are wrong. But you always was a failure, so that's not news for anyone anyway.

Name: Anonymous 2010-10-10 11:38

>>8
fuck off back to twitter

Name: Anonymous 2010-10-10 11:43

Qt

Name: Anonymous 2010-10-10 11:45

>>10
>C
>Qt
How do you imagine that? Use python binding for C to access PyQt?

Name: Anonymous 2010-10-10 11:46

>>1
DOS. int 10h

Name: Anonymous 2010-10-10 11:58

>>10
Nice try, ``faggot''

Name: Anonymous 2010-10-10 12:11

GLUT

Name: Anonymous 2010-10-10 12:12

Name: Anonymous 2010-10-10 13:14

>>15
Shiitchan amazingly still surprises me.
One word: AMAZING

Name: Anonymous 2010-10-10 13:17

Tk?

Name: Anonymous 2010-10-10 15:02

>>15
So? You don't see difference between C and C++, ``faggot''?

Name: Anonymous 2010-10-10 15:22

>>15
Interestingly, Lisp is the only language for which Qt bindings use the BSD license.

Name: Anonymous 2010-10-10 17:30

>>19
There's an MIT license there, which is the same thing as the 2-clause BSD license used in the Lisp bindings. But I'd rather use Lisp than Lua.

Name: Anonymous 2010-10-10 17:42

>>11
C++ is pretty damn retarded, but not so retarded that it can't call C functions.
Well, provided your interface doesn't use too much C99 stuff, anyway.

Name: Anonymous 2010-10-10 17:50

>>21
It's retarded enough such that calling C++ code from C is impossible unless you (a) don't use classes or overloading, and (b) enclose the entire thing in an extern "C" block.

Name: Anonymous 2010-10-10 18:09

>>22
Quite, yes, (and don't forget templates), for certain values of impossible, but you don't need that to write a C++ GUI frontend to a C project.

Name: Anonymous 2010-10-10 18:58

>>23
Oh, yeah, that's a saner approach than trying to use Qt directly from C.

Name: Anonymous 2010-10-11 0:22

>>23
Except Qt a) uses classes b) uses overloading c) uses templates.

Go on. Impress me and call Qt from C.

Name: >>24 2010-10-11 5:23

>>25
>>23 was saying that you could write an ordinary C program and construct a GUI in Sepples. This would implicitly separate the BUSINESS LOGIC from the interface with a minimum of effort.

Name: Anonymous 2010-10-11 18:02

I'll add to that that a C binding to Qt actually exists, using the same principles as other language bindings. It's mostly a proof-of-concept, though, and was unmaintained the last time I looked at it.

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