can you guys do a linux/unix cpp section?
-
Try the suggestions forum[^] Michael CP Blog [^]
-
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
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.
-
And that is saying a lot :) Rocky <>< www.HintsAndTips.com - RSS Enabled www.JokesTricksAndStuff.com www.MyQuickPoll.com Me Blogs: wdevs - MSN Spaces (new)
-
And that is saying a lot :) Rocky <>< www.HintsAndTips.com - RSS Enabled www.JokesTricksAndStuff.com www.MyQuickPoll.com Me Blogs: wdevs - MSN Spaces (new)
-
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
-
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..."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.
-
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.
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..." -
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.
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[^]
-
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.
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.
-
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.
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!
-
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..."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?
-
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[^]
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)
-
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)
No, that's not what I'm saying. I'm saying that this site would perhaps have problems being the site that it is today, had it not been a windows centric site. Running a site with a volume such as CP is not a $0 operation I imagine. -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben. I blog too now[^]
-
No, that's not what I'm saying. I'm saying that this site would perhaps have problems being the site that it is today, had it not been a windows centric site. Running a site with a volume such as CP is not a $0 operation I imagine. -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben. I blog too now[^]
if the linux section grew to a sustanstial amount and had the quality that the windows articles does I think that it is a good possiblity that the MSDN will still be sponsoring and that companies like IBM (esp), Novel will also be interested in sponsorship. -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)
-
if the linux section grew to a sustanstial amount and had the quality that the windows articles does I think that it is a good possiblity that the MSDN will still be sponsoring and that companies like IBM (esp), Novel will also be interested in sponsorship. -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)
I doubt it. Linux is a "rival organization" to Microsoft. They have nothing to gain from sponsoring its use. -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben. I blog too now[^]
-
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
Try here for: Linux: http://klomdark.servebeer.com:8081/messagebase/Topics/T3.htm C++: http://klomdark.servebeer.com:8081/messagebase/Topics/T11.htm It's welcome there...
-
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.
As far as I'm concerned, any code that isn't firmware for a hardware your company custom designed , and isn't cross platform is buggy. If nothing else you will catch a lot of hidding bugs when you run on big endian systems, and 64 but systems. Things that you wouldn't otherwise see in test, but will bite your customers eventially.