473,883 Members | 1,718 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C GUI programming

I have been googling, but can seem to find out about C GUI libraries.

My main platform is Windows, but it would be nice to find a cross platform
library.

I've been programming with php, which has a C/C++ syntax structure, but want
to move on to compliled languages.

I was all ready to go with C++ and wxWindows, but I'm applying for an entry
level programming possition. They use their own propriatary language, with
is a structured/proceedural language. I thought that if I study C, it would
make me a better programmer for my employer.

I also have the "Algorithms with C", and "Code Reading" books, that focus
mainly on the C language. I'm sure that it wouldn't be hard for me to change
my thinking and implement both books into a C++ sense.

The main thing is, I love programming in general, but I'd like to be able to
code GUI's also.

Can anyone give me a direction to head in, where I can learn more about GUI
programming in C. Idealy, I'd love to start my compiled language studies
with C, then move on to C++ once I have a solid foundation in
structured/proceedural programming.
Sep 8 '06
30 32280
yep, it missed in the somehow. Thank you for pointing.

-kondal
Keith Thompson wrote:
"kondal" <ko******@gmail .comwrites:
My main platform is Windows, but it would be nice to find a cross platform
library.

The above was written by "Jakle" <ja***@dsa-gamers.com>. Please don't
snip attribution lines.
It looks like you want to do GUI programming in Windows.

No, it looks like he wants a cross platform library.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Sep 8 '06 #11
Elijah Cardon <in*****@invali d.netwrote:
Depending on what you're running, you might just want to jump on the MS
wagon with MFC, see microsoft.publi c.vc.mfc.
As long as we're dispensing OT advice, MFC is a poor choice for
someone looking for a career skill. It's true that there is still a
lot of MFC code out there that needs maintenance, but only because the
resources to rewrite such code to use modern, fully-supported
languages and libraries do not exist. .NET languages, whatever their
other flaws, are supported on Windows platforms and are gaining
popularity; OP may do much better to examine the .NET option if it is
financialy viable. Java may (may) also be something for OP to look
at.
I'm not sure that
the C programming language admits that monitors exist. EC
The C programming language admits the existence of very few things,
and monitors are not one of them.

--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gma il.com | don't, I need to know. Flames welcome.
Sep 9 '06 #12
jacob navia <ja***@jacob.re mcomp.frwrote:
Look, download the tutorial in
http://www.cs.virginia.edu/~lcc-win32
the link to the "C-tutorial" is broken.
--
une bévue
Sep 9 '06 #13

"Jakle" <ja***@dsa-gamers.comwrote in message
news:c4******** *************** *******@adelphi a.com...
>I have been googling, but can seem to find out about C GUI libraries.

My main platform is Windows, but it would be nice to find a cross platform
library.

I've been programming with php, which has a C/C++ syntax structure, but
want to move on to compliled languages.

I was all ready to go with C++ and wxWindows, but I'm applying for an
entry level programming possition. They use their own propriatary
language, with is a structured/proceedural language. I thought that if I
study C, it would make me a better programmer for my employer.

I also have the "Algorithms with C", and "Code Reading" books, that focus
mainly on the C language. I'm sure that it wouldn't be hard for me to
change my thinking and implement both books into a C++ sense.

The main thing is, I love programming in general, but I'd like to be able
to code GUI's also.

Can anyone give me a direction to head in, where I can learn more about
GUI programming in C. Idealy, I'd love to start my compiled language
studies with C, then move on to C++ once I have a solid foundation in
structured/proceedural programming.
Do you have a Microsoft compiler?

Write a minimal Windows program, and then you are away. Start with one
window and draw pixels to it individually. Then as you grow in confidence
add text, buttons, menus, edit windows. With that you've got a basic but
functional GUI which will serve for all but the most elaborate of
applications.

This can all be done in C. You call calling non-ANSI libraries, and there is
quirk about the entry point, but it still very much a C program.

--
www.personal.leeds.ac.uk/~bgy1mm
freeware games to download.
Sep 9 '06 #14
Keith Thompson wrote:
Elijah Cardon <in*****@invali d.netwrites:
>Walter Roberson wrote:
>>In article <c4************ *************** ***@adelphia.co m>,
Jakle <ja***@dsa-gamers.comwrote :
I have been googling, but can seem to find out about C GUI libraries.
My main platform is Windows, but it would be nice to find a cross
platform library.
The C language itself does not define anything to do with Graphics.
Try another newsgroup; perhaps some of the comp.graphics.* ones
such as comp.graphics.m isc
Depending on what you're running, you might just want to jump on the
MS wagon with MFC, see microsoft.publi c.vc.mfc .
[snip]

MFC is cross-platform?
Of course not. MFC has been a huge workhorse for a couple decades on
the most influential OS, an OS that puts bread on a lot of tables. And
one could (present, subjunctive) figure out easy ways for a C module to
talk to it. But that won't pop up here, on Gilligan's Island, lacking
Ginger, MaryAnn, and--it's an island--Mrs. Howell. Rather than talk
about graphics, about which I care nothing, I would rather talk about
largish numbers, combinatorial-sized. Elijah
Sep 9 '06 #15
Une bévue said:
jacob navia <ja***@jacob.re mcomp.frwrote:
>Look, download the tutorial in
http://www.cs.virginia.edu/~lcc-win32

the link to the "C-tutorial" is broken.
The correct URL is guessable. However, I'm not going to advertise it, since
this tutorial needs to be buried as deeply as possible.

Even the author doesn't have a lot of faith in it, since he says that this
tutorial to the C language "supposes that you have the lcc-win32 compiler
system installed", so it's presumably not an intro to standard C at all,
but an intro to "Navia C", as we might call it.

The tutorial also claims "this is not a full-fledged introduction" and that
there are "other, better books".

It also claims that "Dennis Ritchie wrote the preprocessor of the lcc-win32
system". This seems disingenuous. It would probably be clearer to say that
Dennis Ritchie wrote an open source preprocessor, which lcc-win32 uses.

The first example program incorporates line numbers, with no indication as
far as I can see that they are not an integral part of the program. Despite
its claim to be "the famous example given already by the authors of the
language", it is not.

On page 15 (of 398) Mr Navia claims that printf "formats its arguments in a
character string that is displayed in the screen". This is a more serious
mistake with the tutorial, since it is erroneous in at least two respects.
In the same paragraph, he claims that character strings "are enclosed in
double quotes", which is simply not true except for string literals.

On page 17, we learn Jacob doesn't appear to understand the difference
between parameters and arguments. In fact, his explanation of arguments is
completely broken. He also thinks that "the function ... will use only a
copy, not the original value", which is wrong, of course. The very same
value that is passed to the function as an argument is received as a
parameter by the function.

He claims on page 18 that "the fn2 function will always return 7", whereas
the truth is that the fn2 function will not compile, because it's missing a
rather important syntactical element.

And so on, and so on. Life's too short to plough through all 398 pages, if
this is the kind of "quality" we can expect in the other 380 or so. I
suggest you look elsewhere for your C tutorial. A list of two good on-line
tutorials can be found at:

http://www.cpax.org.uk/prg/portable/...p#WebTutorials
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Sep 9 '06 #16
Richard Heathfield wrote:

[snipped]

Dictionary.com

ped‧ant  /ˈpɛdnt/
–noun
1. a person who makes an excessive or inappropriate display of learning.
2. a person who overemphasizes rules or minor details.
3. a person who adheres rigidly to book knowledge without regard to
common sense.
Sep 9 '06 #17
[Non-ASCII codes removed]

jacob navia said:
Richard Heathfield wrote:

[snipped]

Dictionary.com

pedant? /pdnt/
Please don't post non-ASCII characters to Usenet.

Anyway, thanks for calling me a pedant. I view it as a compliment, although
it is typically intended as an insult, typically directed at those who know
what they're talking about by those who don't.
?noun
1. a person who makes an excessive or inappropriate display of learning.
Your example code didn't compile, and your explanation about function
parameters was broken. What would you call a person who makes an excessive
or inappropriate display of ignorance?

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Sep 9 '06 #18
In article <45************ ***********@new s.orange.fr>,
jacob navia <ja***@jacob.re mcomp.frwrote:
>Richard Heathfield wrote:

[snipped]

Dictionary.c om

ped‧ant  /ˈpɛdnt/
–noun
1. a person who makes an excessive or inappropriate display of learning.
2. a person who overemphasizes rules or minor details.
3. a person who adheres rigidly to book knowledge without regard to
common sense.
Useful clc-related links:

http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/C_programming_language

And keep in mind that Heathfield:

a) Considers "pedant" to be a compliment
and b) Considers "Aspergers" to be an insult

Neither is remotely correct. What a marooon!

Sep 9 '06 #19
Kenny McCormack said:

<snip>
>
And keep in mind that Heathfield:

a) Considers "pedant" to be a compliment
True.
and b) Considers "Aspergers" to be an insult
False. It is, however, misused by some people to describe those who are
brighter than them.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Sep 9 '06 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2931
by: Martin | last post by:
When was inheritance intruduced into object oriented programming? More generally, does anyone know or have any sources on when the different features were introduced into object oriented programming?
12
8493
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now I really want to get back into it as I see a point with GNU/Linux. I want to get my old skills back and write something or help on some projects etc. I need some good books. I used to have one called "A Book On C", but sold it,
3
2494
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as a QA in an MNC in India, since I graduated in September 2003. I am working in a QA role which requires me to do some Winrunner automation, and modifying/creating a framework in Perl for Automated Regression Testing of some command Line utilities...
134
8096
by: evolnet.regular | last post by:
I've been utilising C for lots of small and a few medium-sized personal projects over the course of the past decade, and I've realised lately just how little progress it's made since then. I've increasingly been using scripting languages (especially Python and Bourne shell) which offer the same speed and yet are far more simple and safe to use. I can no longer understand why anyone would willingly use C to program anything but the lowest...
7
4975
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already developed significant content for the C programming language that is available at: https://www.securecoding.cert.org/ by clicking on the "CERT C Programming Language Secure Coding Standard"
47
5978
by: Thierry Chappuis | last post by:
Hi, I'm interested in techniques used to program in an object-oriented way using the C ANSI language. I'm studying the GObject library and Laurent Deniau's OOPC framework published on his web site at http://ldeniau.web.cern.ch/ldeniau/html/oopc/oopc.html. The approach is very instructive. I know that I could do much of this stuff with e.g. C++, but the intellectual challenge of implementing these concepts with pure ANSI C is relevant to...
111
5615
by: Enteng | last post by:
Hi I'm thinking about learning C as my first programming language. Would you recommend it? Also how do you suggest that I learn it?What books/tutorials should I read for someone like me? Thanks in advance! -entengk
14
3306
by: deko | last post by:
For building Windows desktop apps, the clear favorite is C#. But my clients can't afford to buy Microsoft products. So I need to develop software for Linux users and web applications. In the open source world, what is the programmer's language of choice? Judging by the number of members in each of these http://www.google.com/Top/Computers/Programming/Languages/Open_Source/ user groups, it looks like the top 3 open source languages...
17
4740
by: CoreyWhite | last post by:
I bought this book years ago, when I was just learning C++. Since then I've gone through every math course offered at my college, taken courses on coding C & thinking in terms how how to make the smallest tightest algorithms to preform specific functions. I've also grown and matured a lot, and am wiser and older. I'm reading through the C+ + Programming Language, Third Edition now, and I can actually understand it. I can understand it...
0
9777
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11109
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10405
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7957
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7114
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5782
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5979
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4602
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.