Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. This isn't <b>really</b> a programming

This isn't <b>really</b> a programming

Scheduled Pinned Locked Moved The Lounge
c++comlinuxtoolsquestion
18 Posts 16 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

    C Offline
    C Offline
    Christopher Duncan
    wrote on last edited by
    #2

    Well, C++ is portable of course, but if you're going to do any significant work you might want to additionally look into a cross platform library. The idea is that you code to the library, which offers a level of abstraction so that you get the same behavior (particularly gui stuff) on all platforms without having a gazillion #ifdefs. Of course, this is a conceptual recommendation. For the highs and lows of individual libraries, others here would probably be better equipped to offer specific products. Hope this helps... Chistopher Duncan Author - The Career Programmer: Guerilla Tactics for an Imperfect World (Apress)

    1 Reply Last reply
    0
    • L Lost User

      What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

      B Offline
      B Offline
      benjymous
      wrote on last edited by
      #3

      If you need gui stuff, then QT3[^] has Windows, Linux and Mac versions, so you should be able to get the same code working on multiple platforms (QT is at the heart of KDE, if you've used Linux much) -- Help me! I'm turning into a grapefruit!

      1 Reply Last reply
      0
      • L Lost User

        What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

        M Offline
        M Offline
        Megan Forbes
        wrote on last edited by
        #4

        If you know any C# then Java won't be a huge learning curve. I know it's not cool around here to recommend Java, but it has some cool features too :-D The following statement about your geekness is true. The previous statement about your geekness is not true. -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT/P d- s: a- C++++$ UL+>++++ P+ L++$ E- W+++$ N !o K+ w++$ O---- M-- PS- PE Y+ PGP--- t !5 X- tv b+++ DI++ D+ G++ e++>e+++ h--- r+++ ------END GEEK CODE BLOCK------

        L 1 Reply Last reply
        0
        • L Lost User

          What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

          N Offline
          N Offline
          Nemanja Trifunovic
          wrote on last edited by
          #5

          wxWindows :beer:

          1 Reply Last reply
          0
          • L Lost User

            What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

            J Offline
            J Offline
            Josh Knox
            wrote on last edited by
            #6

            Check out wxWindows. They have a good GUI framework for both linux and Windows, and its free. Josh Knox

            We will rid the world of buttmunching pussnuts. Armed only with my blunt spoon of death and my circumcising potato peeler. Death and torture to them all. - Michael Martin

            ---Bob3D---

            1 Reply Last reply
            0
            • L Lost User

              What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

              T Offline
              T Offline
              Tim Smith
              wrote on last edited by
              #7

              wxWindows... Just because I want to be in with the "in" crowd and it looks like a trend. :laugh: Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

              1 Reply Last reply
              0
              • L Lost User

                What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

                T Offline
                T Offline
                Tim Ranker
                wrote on last edited by
                #8

                Take a look at wxWindows[^]. It is a free but robust cross platform library written in C++ for Linux, Windows, and Mac.

                1 Reply Last reply
                0
                • L Lost User

                  What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

                  M Offline
                  M Offline
                  Maximilien
                  wrote on last edited by
                  #9

                  If it's mostly a non-gui application, standard C++/STL is the way to go. If there's a bit of GUI, and it's standard GUI, and cross-platform gui tools/dsk is good, for example, QT. If there's a ton of GUI and that you're not afraid of the dark, split core and UI components and use abstract portable interfaces to and from non portable GUI. As I wrote in another thread, the hardest and longest things you'll do is to remove all windows-isms from your current code, removing hard-coded strings, collections, macros, ... Max.

                  1 Reply Last reply
                  0
                  • L Lost User

                    What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

                    V Offline
                    V Offline
                    Vuemme
                    wrote on last edited by
                    #10

                    You've different alternatives and the best one depends on your application and your personal preferences/knowledge. - python: it's a great programming language, supported on both platforms with a simple GUI toolkit. It's the best solution to develop small applications or script but can be used also to develop complex application if performance is not a must. - java: supported on both platforms, not so difficult to learn if you know C++ or C# (J-- as some java programmers named it). Great programming support (tutorials, samples, books, libraries etc...) but still not the best for performances. - a portable GUI library that you can use in C/C++. The two most used solutions are: .QT (from trolltech, a norvegian company). It's free on linux but you should check their license for the windows platform. .WxWindows that is free and supported also on the mac. - Use Borland/Inprise Kylix (I never used it, so I can't help you much on this). - learn Italian as your second language so I can write you in my own language and provide more detailed and understandable answers :) -- Looking for a new screen-saver? Try FOYD: http://digilander.iol.it/FOYD

                    1 Reply Last reply
                    0
                    • L Lost User

                      What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

                      J Offline
                      J Offline
                      Jon Sagara
                      wrote on last edited by
                      #11

                      The Adaptive Communication Environment: http://www.cs.wustl.edu/~schmidt/ACE.html[^] Jon Sagara Red Swingline Staplers

                      1 Reply Last reply
                      0
                      • L Lost User

                        What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

                        S Offline
                        S Offline
                        Shog9 0
                        wrote on last edited by
                        #12

                        Donno if it'd work for you, but Java is rather nice...

                        [Shog9]

                        1 Reply Last reply
                        0
                        • L Lost User

                          What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

                          RaviBeeR Offline
                          RaviBeeR Offline
                          RaviBee
                          wrote on last edited by
                          #13

                          QT! TrollTech[^] for the TrollSayer! :) /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com

                          N 1 Reply Last reply
                          0
                          • RaviBeeR RaviBee

                            QT! TrollTech[^] for the TrollSayer! :) /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com

                            N Offline
                            N Offline
                            Neville Franks
                            wrote on last edited by
                            #14

                            It is quite expensive ($US$ 2180 for Enterprise), and then there is annual license renewals. Have you actually used it for serious cross platform development? Neville Franks, Author of ED for Windows. www.getsoft.com

                            RaviBeeR 1 Reply Last reply
                            0
                            • M Megan Forbes

                              If you know any C# then Java won't be a huge learning curve. I know it's not cool around here to recommend Java, but it has some cool features too :-D The following statement about your geekness is true. The previous statement about your geekness is not true. -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT/P d- s: a- C++++$ UL+>++++ P+ L++$ E- W+++$ N !o K+ w++$ O---- M-- PS- PE Y+ PGP--- t !5 X- tv b+++ DI++ D+ G++ e++>e+++ h--- r+++ ------END GEEK CODE BLOCK------

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #15

                              Thanks Megan, but unfortubaely Java doesn't awlays respond in real time and we need that for out test executives, otherwise it would have been my first choice. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

                              1 Reply Last reply
                              0
                              • N Neville Franks

                                It is quite expensive ($US$ 2180 for Enterprise), and then there is annual license renewals. Have you actually used it for serious cross platform development? Neville Franks, Author of ED for Windows. www.getsoft.com

                                RaviBeeR Offline
                                RaviBeeR Offline
                                RaviBee
                                wrote on last edited by
                                #16

                                Yes, the per-developer price is pretty steep. The previous company I worked at is considering moving to it (for Win/Unix development) from Tcl/TK. Their products sell for USD 100-200/yr so cost is less of an issue for them. /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com

                                1 Reply Last reply
                                0
                                • L Lost User

                                  What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

                                  G Offline
                                  G Offline
                                  Glenn Dawson
                                  wrote on last edited by
                                  #17

                                  Borland C++ Builder 6 / Kylix 3 with the CLX libraries.

                                  1 Reply Last reply
                                  0
                                  • L Lost User

                                    What would CPians reccomend for a dual platform (Win32 and Linux) language ? Ideally, something like VC++ etc., but I want to be able to write some test executive applications that will run on both with minimal changes. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?

                                    J Offline
                                    J Offline
                                    Joe Woodbury
                                    wrote on last edited by
                                    #18

                                    Like a broken record, one piece of advice I always give on this issue is to separate the UI and core logic as much as possible. Every platform has subtle quirks to their UI "standard" (some of which cross platform libraries either miss or ignore.) This is especially true of Mac vs. everyone else and you never know what market your company may find for the product.

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups