If you have a technical question about how to do something in a programming language or similar, then post it here. However, please first check that it isn't already answered elsewhere on this site. You can also try asking us in our IrcChannel. This is not intended to be a "message forum" style page. We want to build up over time pages documenting the answers to common questions, not answer them over and over here, probably missing some helpful detail each time. Add answers to questions posted here in the form of brief, temporary blurbs linking to other pages. These may link to existing pages or new pages created to answer the question. After a reasonable amount of time (say, enough time for the asker to see the answer), the question and answer should be removed.
An example question. -- AdamChlipala
An example answer, with a reference to LearnProgramming, presumably because the answer to the question has been added to that page, to benefit all future visitors. :) -- AdamChlipala
C sucks ? quoting from http://www.hprog.org/fhp/CLanguage "although it is probably one of the worst languages" if so why is the browser you are using written in C ? why is the kernel you are using written in C ? the shell you use is written in C. almost every thing is written in C. i dont know what sucks about it.. -- Jad
It does suck. When you use C, you have to concentrate on multiple little details that have nothing to do with the bigger goal of making a program: allocating memory, juggling the memory pointer, paying attention not to rape your buffer and your stack, etc. C popularity comes from a time when there were not a lot of compiler able to produce high-performance applications at a level higher than assembly language. Now, the legacy of C (and C++) is big and hardly avoidable, but there is a good set of higher level language that are close (and sometimes do better) than C in performance ratings. Yes, many applications are made in C and C++ today, but wouldn't those applications be better, faster, more secure and marketed in less time if they were written in other languages? ... If you ask about that in #Hprog, I'm pretty sure what the answer will be. -- FrancoisDenisGonthier
It was meant to mean that C is one of the worst languages to starting learning to program with, due to its steep learning curve. Feel free to comment on it in the page or clarify it as neccessary, even though I think that if you read the rest of the sentence it will have some degree of a different meaning. -- JeffreyKnaggs
C does not suck. It's extremely useful for smaller applications. In fact, I find it preferable to many other languages, including, in many cases, C++. And, in my opinion, many new languages are just becomming overpopularized. -~- cowsarenotevil
You don't bring much new arguments to this debate... -- FDG
Well, whatever people say, C/C++ will be around for a while, if not just because alot of people are "fluent" in C/C++. I agree that C/C++ might not be the best language to start programming - you have to pay attention to alot of details, as mentioned above. On the other hand, I am used to the low level access C/C++ gives me, and find alot of other languages restrictive/annoying. -- MarkusB
I just ran across this web site and I hope you don't mind me asking a question about sample applications. My name is Dan Fernandez and I'm the Product Manager for Visual C# .NET. One of the areas that I think we could improve on is including application samples geared towards the hobbyist community. The questions I have for all of you are - what samples would you be interested in seeing? How complex do you want them to be? Would you prefer a bare-bones application or a fully-functional application? Do you typically take a sample application, cut the pieces out of it you want, and write your application from scratch or do you take the sample application and customize/extend it?
Please feel free to email me at danielfe AT microsoft.com -Thanks, Dan
I wonder if anyone still uses Windows... -- ClintonEbadi
I don't want to start a platform war, but the Mono team is looking to implement cross-platform C#/.NET framework, so regardless of platform, what applications would you like to see made available? - Dan
I guess I'd like all sorts of stuff. Preferably each sample illustrating a very specific domain in a very simple barebones way. Probably a lot of samples of this type. And one thing I've always wanted samples to do was to have better documentation.
If the sample is too complex to make it simple, I'd want it to start off pretty small and then grow in complexity. And each time it grows - it should grow only a little so that the growth is easily "graspable". [I don't think I've chosen the right words, but I suppose you're getting the gist].
Finally, I can only answer for myself, but I've NEVER cut and pasted code out of anywhere. Also, I think only dumbos do that.
- tronman.
ive been looking at ham radio and i still dont get what kind of hardware you need. i know about the liscences and stuff but i cannot find out a basic layout of a setup. ivee posted this on tpu but no one seems to know -unknown
