C GUI programming

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jakle

    #1

    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.


  • Walter Roberson

    #2
    Re: C GUI programming

    In article <c4udnVxtLMWITJ zYnZ2dnUVZ_tydn Z2d@adelphia.co m>,
    Jakle <jakle@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

    --
    Programming is what happens while you're busy making other plans.

    Comment

    • jacob navia

      #3
      Re: C GUI programming

      Jakle wrote:
      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.
      >
      >
      Look, download the tutorial in
      http://www.cs.virginia.edu/~lcc-win32

      together with the associated compiler system.

      There you will find a step by step introduction to
      the C language and windows C programming.

      No, it is not something that will allow you to
      program under Unix or under Mac, it is only windows.

      Read specially Chapter 2: "windows programming". Of course
      after being current with chapter 1, "C programming".

      All of this is free of charge.

      jacob

      Comment

      • Elijah Cardon

        #4
        Re: C GUI programming

        Walter Roberson wrote:
        In article <c4udnVxtLMWITJ zYnZ2dnUVZ_tydn Z2d@adelphia.co m>,
        Jakle <jakle@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 . If you're broke coming
        out of college, they have a visual studio for hobbyists and such, so you
        don't have to cough up a lot of money from the getgo, although this
        suite deals with Winforms and does not support MFC. I'm not sure that
        the C programming language admits that monitors exist. EC
        *************** ****
        Programming is what happens while you're busy making other plans.
        --adapted from John Lennon

        Comment

        • kondal

          #5
          Re: C GUI programming

          My main platform is Windows, but it would be nice to find a cross platform
          library.
          It looks like you want to do GUI programming in Windows.
          I've been programming with php, which has a C/C++ syntax structure, but want
          to move on to compliled languages.
          yep, php and almost all the languages have similar semantics and only
          the syntax and layout of the program will be different along with other
          features such as oop.
          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.
          GUI programming by definition goes for event driven programming. So you
          need to come out of the proceedural programming concept.

          Once you are good in C programming, it would be easy to migrate to
          event driven programming
          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.
          Good books...
          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.
          you can use win32 for GUI programming. It seems complicated at first,
          but it is rather simple once you get the concept. You can create GUI
          programs entirely in C language no C++ knowledge is required. But first
          you need to get good grip in C language programming.

          You can post your win32 programming questions in win32 forums.

          Good Luck...

          Comment

          • Jakle

            #6
            Re: C GUI programming

            Thank you very much for this link. This is just what I was looking for :-)


            "jacob navia" <jacob@jacob.re mcomp.frwrote in message
            news:4501d7e8$0 $27399$ba4acef3 @news.orange.fr ...
            Jakle wrote:
            >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.
            >
            Look, download the tutorial in
            http://www.cs.virginia.edu/~lcc-win32
            >
            together with the associated compiler system.
            >
            There you will find a step by step introduction to
            the C language and windows C programming.
            >
            No, it is not something that will allow you to
            program under Unix or under Mac, it is only windows.
            >
            Read specially Chapter 2: "windows programming". Of course
            after being current with chapter 1, "C programming".
            >
            All of this is free of charge.
            >
            jacob

            Comment

            • Keith Thompson

              #7
              Re: C GUI programming

              Elijah Cardon <invalid@invali d.netwrites:
              Walter Roberson wrote:
              >In article <c4udnVxtLMWITJ zYnZ2dnUVZ_tydn Z2d@adelphia.co m>,
              >Jakle <jakle@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?

              --
              Keith Thompson (The_Other_Keit h) kst-u@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.

              Comment

              • Keith Thompson

                #8
                Re: C GUI programming

                "kondal" <kondal04@gmail .comwrites:
                >My main platform is Windows, but it would be nice to find a cross platform
                >library.
                The above was written by "Jakle" <jakle@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) kst-u@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.

                Comment

                • Richard Heathfield

                  #9
                  Re: C GUI programming

                  Keith Thompson said:
                  Elijah Cardon <invalid@invali d.netwrites:
                  >Walter Roberson wrote:
                  >>In article <c4udnVxtLMWITJ zYnZ2dnUVZ_tydn Z2d@adelphia.co m>,
                  >>Jakle <jakle@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,
                  A three-wheeled wagon that has been all but abandoned by its owner.
                  see microsoft.publi c.vc.mfc .
                  [snip]
                  >
                  MFC is cross-platform?
                  MFC is C?

                  --
                  Richard Heathfield
                  "Usenet is a strange place" - dmr 29/7/1999

                  email: rjh at above domain (but drop the www, obviously)

                  Comment

                  • Mark McIntyre

                    #10
                    Re: C GUI programming

                    On Fri, 08 Sep 2006 17:01:46 -0400, in comp.lang.c , Elijah Cardon
                    <invalid@invali d.netwrote:
                    >Walter Roberson wrote:
                    >In article <c4udnVxtLMWITJ zYnZ2dnUVZ_tydn Z2d@adelphia.co m>,
                    >Jakle <jakle@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 .
                    Not especially crossplatform though....
                    >If you're broke coming
                    >out of college, they have a visual studio for hobbyists and such,
                    There are also plenty of free or shareware GUI and graphics libraries.
                    --
                    Mark McIntyre

                    "Debugging is twice as hard as writing the code in the first place.
                    Therefore, if you write the code as cleverly as possible, you are,
                    by definition, not smart enough to debug it."
                    --Brian Kernighan

                    Comment

                    • kondal

                      #11
                      Re: C GUI programming

                      yep, it missed in the somehow. Thank you for pointing.

                      -kondal
                      Keith Thompson wrote:
                      "kondal" <kondal04@gmail .comwrites:
                      My main platform is Windows, but it would be nice to find a cross platform
                      library.
                      >
                      The above was written by "Jakle" <jakle@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) kst-u@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.

                      Comment

                      • Christopher Benson-Manica

                        #12
                        Re: C GUI programming

                        Elijah Cardon <invalid@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.

                        Comment

                        • Une bévue

                          #13
                          Re: C GUI programming

                          jacob navia <jacob@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

                          Comment

                          • Malcolm

                            #14
                            Re: C GUI programming




                            "Jakle" <jakle@dsa-gamers.comwrote in message
                            news:c4udnVxtLM WITJzYnZ2dnUVZ_ tydnZ2d@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.

                            --

                            freeware games to download.


                            Comment

                            • Elijah Cardon

                              #15
                              Re: C GUI programming

                              Keith Thompson wrote:
                              Elijah Cardon <invalid@invali d.netwrites:
                              >Walter Roberson wrote:
                              >>In article <c4udnVxtLMWITJ zYnZ2dnUVZ_tydn Z2d@adelphia.co m>,
                              >>Jakle <jakle@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

                              Comment

                              Working...