![]() |
| | #91 | ||
| Frequently Quite Prolix Join Date: Apr 2005 Location: Canada
Posts: 7,698
| Quote:
![]() http://cboard.cprogramming.com/showp...5&postcount=10 Unfortunately you need index.php, as in cpwiki.sf.net/index.php/gets; cpwiki.sf/net/gets doesn't work. That's okay, though if there's a way to change this it would be fine by me. (Don't look at me, I didn't install it. )Quote:
You could try other tutorials. This one's okay: http://ds9a.nl/lex-yacc/cvs/output/lexyacc.html (or all on one page, useful for saving: http://ds9a.nl/lex-yacc/cvs/lex-yacc-howto.html) Or you could get a book on the topic. Books usually explain things better. Or you could give up and stick with writing your own.
__________________ dwk Seek and ye shall find. quaere et invenies. "Simplicity does not precede complexity, but follows it." -- Alan Perlis "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra "The only real mistake is the one from which we learn nothing." -- John Powell Other boards: DaniWeb, TPS Unofficial Wiki FAQ: cpwiki.sf.net My website: http://dwks.theprogrammingsite.com/ Projects: codeform, xuni, atlantis, nort, etc. | ||
| dwks is offline | |
| | #92 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,783
| So I made a draft about indentation: http://cpwiki.sourceforge.net/index.php/Indentation Undoubtedly, there are things you might not agree with, especially the tabs/spaces section, so any suggestions or fixes are welcome.
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
| | #93 |
| and the Hat of Clumsiness Join Date: Oct 2002
Posts: 1,101
| About the tabs, you might want to add that you can always have some setting so that a tab is automatically converted to lets say 2 spaces... You gain the pros from tab usage (one keystroke for 2 or more spaces) and the cleannes from spaces as in they all look the same everywhere. :edit: nvm if this was already there but i just took a quick peak at it . |
| GanglyLamb is offline | |
| | #94 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,783
| Yeah, it's listed under spaces, because basically it IS spaces and are treated as such, so it's a little pro/con in itself, as I've listed it I think.
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
| | #95 |
| MENTAL DETECTOR Join Date: Apr 2006 Location: United States
Posts: 3,292
| Hm, it's a good draft. I already have a list of things I'd like to see done to it. It could benefit from some sectioning. I think we should make clear distinctions between the problem, proper style choices, and maybe a section on tabs vs. spaces, so that we can lay out a table of contents. I'm sure that dwks didn't intend this to be the case but sections of the article sound a bit patronizing and et cetera. To pull a quote, "But how do we fix it? It's not difficult--you do not need to be afraid at all." Unnecessarily rude! Like other archives of information, we should strive to be objective and avoid use of loaded words. No unnecessarily capitalized phrases: we should be using bold or italics for emphasis in lieu of "screaming." I'll get started on what I think needs to be done to the article when I find free time (I'd need to learn a lot before I know how it works). If there are any skilled individuals who understand how wikimedia works already, maybe they can get started? |
| whiteflags is offline | |
| | #96 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,783
| I don't know how exactly to phrase it, not that it's very rude. But anyway, so I rephrased it a little. I don't know if it's better, since I don't know 100% what you're striving to achieve.
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
| | #97 | |
| MENTAL DETECTOR Join Date: Apr 2006 Location: United States
Posts: 3,292
| You've never read an encyclopedia before? Most of any one volume is written in third person point-of-view. You have no reason to mention yourself or talk to anyone about their abilities; how easy something is or how new they are to a topic. I just find it to be very inappropriate to point out that it's their fault they are reading the article, and as a gesture to the reading public you keep yourself and them out of it and give them that respect. The existing FAQ is not so assuming: It's not that they did something wrong and you can fix it for them, you're giving them advice. To be explicit, I wrote a shorter spiel on indentation which I am considering publishing in place of yours: Quote:
But I'd like to get some feedback on the quoted before I rewrite. Last edited by whiteflags; 01-19-2008 at 09:51 PM. | |
| whiteflags is offline | |
| | #98 | |||
| C++ Witch Join Date: Oct 2003 Location: Singapore
Posts: 11,322
| Oh wait, who decided on using the GNU FDL 1.2 for the cpwiki license? Wikipedia itself may be under the GNU FDL, but that does not necessarily mean that it is the best license for an FAQ/wiki/documentation. See: Why You Shouldn't Use the GNU FDL Why the Wikimedia projects should not use GFDL as a stand alone license for images General Resolution: Why the GNU Free Documentation License is not suitable for Debian main It might not really matter in the end considering many people quote from Wikipedia as if the content was in the public domain, but the legally pedantic side of me says we should go for a more appropriate license (e.g., some Creative Commons license, the Academic Free License, or the Open Software License). Yet before we can do that, we need to decide on the restrictions/freedoms that we want for the content, and even who actually owns the copyright to the cpwiki content (keeping it the property of contributors versus the property of one legal entity). Quote:
Quote:
Quote:
__________________ C + C++ Compiler: MinGW port of GCC Build + Version Control System: SCons + Bazaar Look up a C/C++ Reference and learn How To Ask Questions The Smart Way | |||
| laserlight is online now | |
| | #99 | |
| MENTAL DETECTOR Join Date: Apr 2006 Location: United States
Posts: 3,292
| Quote:
Great. I'll make the rewrite happen and report back. Okay. More like it? Last edited by whiteflags; 01-20-2008 at 02:44 AM. | |
| whiteflags is offline | |
| | #100 | |||||
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,783
| Quote:
Quote:
Quote:
Quote:
However, when touching coding styles, I also believe that you should pick to suit yourself and make your code as readable as possible. And putting braces on their own line makes it more readable, at least to me. If you would suggest another approach, I'm open to suggestions. EDIT: So you changed the entire ARTICLE? I don't believe I agree. I don't think it's a good idea to replace everything someone else just wrote without at least discussing it first.
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
Last edited by Elysia; 01-20-2008 at 05:57 AM. | |||||
| Elysia is offline | |
| | #101 | |||
| C++ Witch Join Date: Oct 2003 Location: Singapore
Posts: 11,322
| I suggest that the Cite/Cite.php extension for MediaWiki be installed. It would make citing references easier and more consistent. As an occasional Wikipedia contributor, it took me awhile to figure out why my normal citation method was not working, and how to fix it, but I think that this extension is the fix. Quote:
Quote:
Quote:
__________________ C + C++ Compiler: MinGW port of GCC Build + Version Control System: SCons + Bazaar Look up a C/C++ Reference and learn How To Ask Questions The Smart Way Last edited by laserlight; 01-20-2008 at 06:01 AM. | |||
| laserlight is online now | |
| | #102 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,783
| I put my version back at http://cpwiki.sourceforge.net/index....ntation_Elysia for now. I'm going to see how to better improve the article.
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
| | #103 | |
| C++ Witch Join Date: Oct 2003 Location: Singapore
Posts: 11,322
| Quote:
__________________ C + C++ Compiler: MinGW port of GCC Build + Version Control System: SCons + Bazaar Look up a C/C++ Reference and learn How To Ask Questions The Smart Way | |
| laserlight is online now | |
| | #104 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,783
| Good idea. I don't know if it's possible to remove pages from the wiki, though. Perhaps someone with more administrative powers can do so.
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
| | #105 |
| MENTAL DETECTOR Join Date: Apr 2006 Location: United States
Posts: 3,292
| >> So in essence, you view it as something directed at people who do not understand the topic and not as general advice? No. But you didn't write an article that gives general advice, just advice that you're sure was best. Apparently you don't know how to write from a third person perspective, and that is a problem to me. >> Except yours isn't very informative and uses typical complex language. I like to follow the KISS principle. Keep it simple and don't make it complex. I never made the claim that the article was complete, or even the best alternative, but I do believe it to be a significant improvement. Instead of whining, perhaps you can propose something? I wouldn't mind if you edited my "typical complex language" with KISS stuff. I only expect you to write it from a third person perspective and keep your opinions out of it. That's my approach and I hope that you are open to this suggestion. >> I don't think it's a good idea to replace everything someone else just wrote without at least discussing it first. You wrote the original article without discussing it first. Crappy double-standard is crappy. Well I'm glad that you also took matters into your own hands and published TWO articles. This whole idea is not going to get anywhere unless we work together. But I've done what I thought I needed to do. I'll write myself out of the conversation if I need to as well. Last edited by whiteflags; 01-20-2008 at 03:00 PM. |
| whiteflags is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wiki FAQ | Queatrix | General Discussions | 6 | 03-25-2007 03:39 AM |
| Wiki for Tutorials | jverkoey | General Discussions | 7 | 08-16-2005 03:03 PM |
| FAQ Check/Lock | RoD | A Brief History of Cprogramming.com | 2 | 10-15-2002 11:21 AM |