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 Offline
    B Offline
    Beer26
    wrote on last edited by
    #1

    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 A M M J 10 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.

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

      *says nothing* :rolleyes:


      "there is no spoon"
      biz stuff about me

      R 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.

        A Offline
        A Offline
        Alex Korchemniy
        wrote on last edited by
        #3

        This site is pretty much windows stuff.

        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
          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
                                          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