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. can you guys do a linux/unix cpp section?

can you guys do a linux/unix cpp section?

Scheduled Pinned Locked Moved The Lounge
c++csscomlinuxregex
28 Posts 17 Posters 0 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.
  • B Beer26

    Pretty soon I won't be using win anymore to code, and I really like code project, and I was wondering if you could put partisan politics aside and make a linux/unix section for reusable C++ classes? Here is a sample of what I mean geturl.cpp http://www.lookingglass3d.com/cp/geturl.cpp.txt geturl.h http://www.lookingglass3d.com/cp/geturl.h.txt tried to link but the links were regex'd :/ As you can see making something simple like a reusable http get class is not any harder on *nix than win. Sure it doesn't have methods for cookies, get and post, but this is just an example I whipped up quickly for use here. *nix C++ is no less reusable or OO than Win C++ and It really would be a positive thing to have an online cataloged library of it here. Thanks for your time.

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

    there's nothing preventing you submitting standard C++ code article.


    Maximilien Lincourt Your Head A Splode - Strong Bad

    B 2 Replies Last reply
    0
    • M Maximilien

      there's nothing preventing you submitting standard C++ code article.


      Maximilien Lincourt Your Head A Splode - Strong Bad

      B Offline
      B Offline
      Beer26
      wrote on last edited by
      #5

      but the headers? Will they censor the headers out of it? Look at the headers I used in my linsock example, would these be edited out of my articles? #include #include #include #include #include #include What about other *nix headers for various api?

      P 1 Reply Last reply
      0
      • M Maximilien

        there's nothing preventing you submitting standard C++ code article.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        B Offline
        B Offline
        Beer26
        wrote on last edited by
        #6

        What if my examples use GTKmm or pthread lib -lpthread for POSIX threading? POSIX isn't supported on Win, what about other *nix library dependant classes? what about console stuff with curses or the linux ncurses? Stuff with xlib? could there be a section?

        1 Reply Last reply
        0
        • B Beer26

          but the headers? Will they censor the headers out of it? Look at the headers I used in my linsock example, would these be edited out of my articles? #include #include #include #include #include #include What about other *nix headers for various api?

          P Offline
          P Offline
          peterchen
          wrote on last edited by
          #7

          You'll get a lo of "Doesn't work!!!! compiler crashes" comments.


          we are here to help each other get through this thing, whatever it is Vonnegut jr.
          boost your code || Fold With Us! || sighist | doxygen

          1 Reply Last reply
          0
          • B Beer26

            Pretty soon I won't be using win anymore to code, and I really like code project, and I was wondering if you could put partisan politics aside and make a linux/unix section for reusable C++ classes? Here is a sample of what I mean geturl.cpp http://www.lookingglass3d.com/cp/geturl.cpp.txt geturl.h http://www.lookingglass3d.com/cp/geturl.h.txt tried to link but the links were regex'd :/ As you can see making something simple like a reusable http get class is not any harder on *nix than win. Sure it doesn't have methods for cookies, get and post, but this is just an example I whipped up quickly for use here. *nix C++ is no less reusable or OO than Win C++ and It really would be a positive thing to have an online cataloged library of it here. Thanks for your time.

            M Offline
            M Offline
            Michael P Butler
            wrote on last edited by
            #8

            Try the suggestions forum[^] Michael CP Blog [^]

            B 1 Reply Last reply
            0
            • B Beer26

              Pretty soon I won't be using win anymore to code, and I really like code project, and I was wondering if you could put partisan politics aside and make a linux/unix section for reusable C++ classes? Here is a sample of what I mean geturl.cpp http://www.lookingglass3d.com/cp/geturl.cpp.txt geturl.h http://www.lookingglass3d.com/cp/geturl.h.txt tried to link but the links were regex'd :/ As you can see making something simple like a reusable http get class is not any harder on *nix than win. Sure it doesn't have methods for cookies, get and post, but this is just an example I whipped up quickly for use here. *nix C++ is no less reusable or OO than Win C++ and It really would be a positive thing to have an online cataloged library of it here. Thanks for your time.

              J Offline
              J Offline
              Joel Holdsworth
              wrote on last edited by
              #9

              Actually I agree. I think it would be totally awesome! I have been thinking of writing an article about using mono, with apache and asp.net. I think there could be a lot of mileage in getting some articles on linux - we need to be capable of striking out of the microsoft bubble as a community. So i'd really welcome some more linuxy stuff. Please Please Please! Joel Holdsworth "Outlook not so good" That magic 8-ball knows everything! I'll ask about Exchange Server next

              M S 2 Replies Last reply
              0
              • B Beer26

                Pretty soon I won't be using win anymore to code, and I really like code project, and I was wondering if you could put partisan politics aside and make a linux/unix section for reusable C++ classes? Here is a sample of what I mean geturl.cpp http://www.lookingglass3d.com/cp/geturl.cpp.txt geturl.h http://www.lookingglass3d.com/cp/geturl.h.txt tried to link but the links were regex'd :/ As you can see making something simple like a reusable http get class is not any harder on *nix than win. Sure it doesn't have methods for cookies, get and post, but this is just an example I whipped up quickly for use here. *nix C++ is no less reusable or OO than Win C++ and It really would be a positive thing to have an online cataloged library of it here. Thanks for your time.

                R Offline
                R Offline
                realJSOP
                wrote on last edited by
                #10

                I posted a std C++ article here (an STL version of my CString string parser class), and a guy that programs in Linux/Unix sent me an email saying it worked in that environment. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                B 1 Reply Last reply
                0
                • M Michael P Butler

                  Try the suggestions forum[^] Michael CP Blog [^]

                  B Offline
                  B Offline
                  Beer26
                  wrote on last edited by
                  #11

                  done and done, hopefully we'll hear back on this?

                  1 Reply Last reply
                  0
                  • R realJSOP

                    I posted a std C++ article here (an STL version of my CString string parser class), and a guy that programs in Linux/Unix sent me an email saying it worked in that environment. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                    B Offline
                    B Offline
                    Beer26
                    wrote on last edited by
                    #12

                    linux and unix programming is way more than just STL. C++ itself can't really communicate with the system besides doing console and file io like C. So if you want to do UI, sockets, window managers or other stuff people expect out of a modern day linux or unix program, you have to include some headers and link some libraries that aren't in the standard C or C++ library. And that's where I think the possible problem arises unless a specific section is created.

                    1 Reply Last reply
                    0
                    • L l a u r e n

                      *says nothing* :rolleyes:


                      "there is no spoon"
                      biz stuff about me

                      R Offline
                      R Offline
                      Rocky Moore
                      wrote on last edited by
                      #13

                      And that is saying a lot :) Rocky <>< www.HintsAndTips.com - RSS Enabled www.JokesTricksAndStuff.com www.MyQuickPoll.com Me Blogs: wdevs - MSN Spaces (new)

                      L 1 Reply Last reply
                      0
                      • R Rocky Moore

                        And that is saying a lot :) Rocky <>< www.HintsAndTips.com - RSS Enabled www.JokesTricksAndStuff.com www.MyQuickPoll.com Me Blogs: wdevs - MSN Spaces (new)

                        L Offline
                        L Offline
                        l a u r e n
                        wrote on last edited by
                        #14

                        :laugh:


                        "there is no spoon"
                        biz stuff about me

                        1 Reply Last reply
                        0
                        • J Joel Holdsworth

                          Actually I agree. I think it would be totally awesome! I have been thinking of writing an article about using mono, with apache and asp.net. I think there could be a lot of mileage in getting some articles on linux - we need to be capable of striking out of the microsoft bubble as a community. So i'd really welcome some more linuxy stuff. Please Please Please! Joel Holdsworth "Outlook not so good" That magic 8-ball knows everything! I'll ask about Exchange Server next

                          M Offline
                          M Offline
                          Member 96
                          wrote on last edited by
                          #15

                          Mono related stuff I could really get behind.

                          S 1 Reply Last reply
                          0
                          • M Member 96

                            Mono related stuff I could really get behind.

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

                            There are a few here already - i don't think it's prohibited. :)
                            "The time has come," the Walrus said, "To talk of many things..."

                            B 1 Reply Last reply
                            0
                            • S Shog9 0

                              There are a few here already - i don't think it's prohibited. :)
                              "The time has come," the Walrus said, "To talk of many things..."

                              B Offline
                              B Offline
                              Beer26
                              wrote on last edited by
                              #17

                              what about normal C++ ? Is mono favored because it's interpreted bytecode like java? Or is there also a section with reusable C++ classes for linux and unix? I'm talking about classes you can just toss in your project folder, add to the makefile, include and use, like the ones for MFC on here.

                              S 1 Reply Last reply
                              0
                              • B Beer26

                                what about normal C++ ? Is mono favored because it's interpreted bytecode like java? Or is there also a section with reusable C++ classes for linux and unix? I'm talking about classes you can just toss in your project folder, add to the makefile, include and use, like the ones for MFC on here.

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

                                See John's post below. I think there'd be a real problem of acceptance with unix-specific code, simply because most of us aren't doing significant cross-platform development. But for things like portable C/C++ code, Mono, or code written towards cross-platform libraries such as Jim Crafton's VCF, there's a potentially larger audience.
                                "The time has come," the Walrus said, "To talk of many things..."

                                B 1 Reply Last reply
                                0
                                • B Beer26

                                  Pretty soon I won't be using win anymore to code, and I really like code project, and I was wondering if you could put partisan politics aside and make a linux/unix section for reusable C++ classes? Here is a sample of what I mean geturl.cpp http://www.lookingglass3d.com/cp/geturl.cpp.txt geturl.h http://www.lookingglass3d.com/cp/geturl.h.txt tried to link but the links were regex'd :/ As you can see making something simple like a reusable http get class is not any harder on *nix than win. Sure it doesn't have methods for cookies, get and post, but this is just an example I whipped up quickly for use here. *nix C++ is no less reusable or OO than Win C++ and It really would be a positive thing to have an online cataloged library of it here. Thanks for your time.

                                  J Offline
                                  J Offline
                                  Jorgen Sigvardsson
                                  wrote on last edited by
                                  #19

                                  If you look at the front page, top left column, you'll see an image with white background and black text saying "msdn magazine". Underneath it is the text "Premium Sponsor". If CP promoted Linux, FreeBSD, WhateverOS, I don't think the text would have read "Premium...". It might not have been there at all. Also, I doubt Dundas software run well on other operating systems other than Windows. I don't see any valid reason to bite the hand the feeds. After all, a Linux developer wouldn't buy Dundas's software, nor would the MSDN Magazine sponsor anyone who's promoting an operating system which is not compatible with what the MSDN Magazine publishes articles about. -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben. I blog too now[^]

                                  S 1 Reply Last reply
                                  0
                                  • B Beer26

                                    Pretty soon I won't be using win anymore to code, and I really like code project, and I was wondering if you could put partisan politics aside and make a linux/unix section for reusable C++ classes? Here is a sample of what I mean geturl.cpp http://www.lookingglass3d.com/cp/geturl.cpp.txt geturl.h http://www.lookingglass3d.com/cp/geturl.h.txt tried to link but the links were regex'd :/ As you can see making something simple like a reusable http get class is not any harder on *nix than win. Sure it doesn't have methods for cookies, get and post, but this is just an example I whipped up quickly for use here. *nix C++ is no less reusable or OO than Win C++ and It really would be a positive thing to have an online cataloged library of it here. Thanks for your time.

                                    G Offline
                                    G Offline
                                    Giles
                                    wrote on last edited by
                                    #20

                                    But the code is free!!!! Why would you need a site like this! Ah yes, because nobody has written it yet, or if they have they have not documented it, and will tell you to get lost. I think you are wasting your time wishing for something like that. If it would have happened, it would have by now, which tells you something about the Linux community - they don't like each other, and they don't like helping each other.

                                    1 Reply Last reply
                                    0
                                    • B Beer26

                                      Pretty soon I won't be using win anymore to code, and I really like code project, and I was wondering if you could put partisan politics aside and make a linux/unix section for reusable C++ classes? Here is a sample of what I mean geturl.cpp http://www.lookingglass3d.com/cp/geturl.cpp.txt geturl.h http://www.lookingglass3d.com/cp/geturl.h.txt tried to link but the links were regex'd :/ As you can see making something simple like a reusable http get class is not any harder on *nix than win. Sure it doesn't have methods for cookies, get and post, but this is just an example I whipped up quickly for use here. *nix C++ is no less reusable or OO than Win C++ and It really would be a positive thing to have an online cataloged library of it here. Thanks for your time.

                                      L Offline
                                      L Offline
                                      Luis Alonso Ramos
                                      wrote on last edited by
                                      #21

                                      I don't think it would be a good idea. Personally I don't like Unix (from the little experience I've had with it) and thus don't do any development on it. But objectively, I still have some arguments: :-D

                                      • Have you heard of the saying "jack of all trades, master of none"? CP has positioned itself as the best community for Windows developers using Microsoft products. If CP were to add support for Unix, and Mac, and other technologies, I think it would hardly become for those what is is for Microsoft technologies.
                                      • Now, with about 1.5 million Windows users, CP has some performance problems every now and then, if it adds Unix, imagine another 1.5 million users (or more). Upgrading the servers costs money.
                                      • Sponsors. Companies like advertising on the CP because they have a target market, consistent with that of CP, that gives them a great opportunity for sales. If CP were only 50% Windows users, the sponsors wouldn't be as attracted to paying CP(take the MSDN example mentioned in another post). No money for server upgrading. On the other side of the same coin, Windows users see only Windows ads, which they care about.
                                      • There're already many discussions about C++/Visual Basic/C#. Imagine what would happen if Unix users started also their discussions about Windows. Endless flame wars. (someone already mentioned this.) Also, the noise ratio would be higher (number of posts/articles versus those that interest a particular reader.)

                                      I believe CP has already a well-defined target market "Windows development with Microsoft products." I think they should stick to that and improve the services offered to that market. -- LuisR


                                      Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                                      1 Reply Last reply
                                      0
                                      • S Shog9 0

                                        See John's post below. I think there'd be a real problem of acceptance with unix-specific code, simply because most of us aren't doing significant cross-platform development. But for things like portable C/C++ code, Mono, or code written towards cross-platform libraries such as Jim Crafton's VCF, there's a potentially larger audience.
                                        "The time has come," the Walrus said, "To talk of many things..."

                                        B Offline
                                        B Offline
                                        Beer26
                                        wrote on last edited by
                                        #22

                                        C++ isn't portable when it does anything beyond console and file IO to communicate with the operating system. This was the whole purpose behind POSIX, which microsoft windows would not adopt. Mono is just as platform specific as linux or unix C++ in a way with different extensions and implementations on linux than win, so why only mono and not regular C++ class libraries with *nix standard headers?

                                        1 Reply Last reply
                                        0
                                        • J Jorgen Sigvardsson

                                          If you look at the front page, top left column, you'll see an image with white background and black text saying "msdn magazine". Underneath it is the text "Premium Sponsor". If CP promoted Linux, FreeBSD, WhateverOS, I don't think the text would have read "Premium...". It might not have been there at all. Also, I doubt Dundas software run well on other operating systems other than Windows. I don't see any valid reason to bite the hand the feeds. After all, a Linux developer wouldn't buy Dundas's software, nor would the MSDN Magazine sponsor anyone who's promoting an operating system which is not compatible with what the MSDN Magazine publishes articles about. -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben. I blog too now[^]

                                          S Offline
                                          S Offline
                                          Steven Hicks n 1
                                          wrote on last edited by
                                          #23

                                          So what are you saying, is it that the site is too closeminded and unable to accept diversity in content. -Steven Hicks

                                          CPA

                                          CodeProjectAddict

                                          Actual Linux Penguins were harmed in the creation of this message.

                                          More tutorials: Ltpb.8m.com: Tutorials |404Browser.com (Download Link)

                                          J 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