What are the main C / C++ specifications [closed] - void

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 13 years ago.
After there was a misunderstanding of "C/C++ programmers" with the a non-mentioned/existing "C/C++ language", and eventually getting the question closed, I decided to void it.
I had voted to delete it, and planned to split the question in two (C language specification, compilers and their version diffs, and C++ language specs, compilers and their version diffs), but it turns out a question with (ill formed) answers can't be deleted.
That was a big turn off for my SO experience... can't reformfulate a wrongly-closed ill-answered question... ouch.

There is no such thing as the "C/C++" language. The two have completely different language standards and differ in use in many, many ways. If you want to understand either C or C++ I suggest (and this is true for any language);
read a book authored by one of the originators of the language. For C this would be Kernighan and Ritchie 2nd Ed, and for C++, Stroustrup's The C++ Programming Language, 3rd Ed.
when you are comfortable with the language, get a copy of the language standard.
And can I also say that in all my time using the internet, I've never found an online resource for C++ that could approach the quality of the available paper documentation.

Wikipedia's articles on C and C++ have good references.

The ISO C working group would be a good start: http://www.open-std.org/JTC1/SC22/WG14/. But it's pretty hard to find anything on there.

Related

semantic analysis opensource tool - suggestions needed [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I've a book review site, where readers can write reviews about books, other users can post comments. I wanted to know following things automatically whenever new review publish or new comment published.
(1) whether book review is positive or not? How much % positive / negative?
(2) whether comment made by particular user is positive or not? How much % positive / negative?
(3) I want to read Tweets about particular book and wanted to check whether the tweet is positive or not?
bottom line, I want some tool suggestions (opensource), which I can use for my website. Website is written in PHP and I'm looking for some semantic analysis tool which I can customize to meet my need or which best fit my need.
if not, I want to know if its easy to build one with minimal requirements. I know PHP, Perl, Shell Script. I can learn Python. I know C++, Java may be right language to start from scratch; but don't have much experience.
There is an open source semantic analyses engine incubated in the Apache Software Foundation, currently, called Stanbol. It provides APIs to interface with it over HTTP as well as through a Java API if needed. It's pretty advanced, but generally speaking if your needs are simpler you can always try some SaS solution like uClassify.
In response to your first request, I'd suggest you create a form where the user has a voting option (such as a x/5 star rating, etc) then you would calculate the average from all of the reviews.

VHDL for scientific computing [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was wondering if folks use VHDL/FPGAs in scientific computing.
An example scenario that I was thinking off was say:
Construct an arbitrary precision floating point adder
Configure an FPGA board to then add such numbers
So I was looking for references (example code) where VHDL/FPGAs have been used in scientific computing.
Thanks in advance.
There are several vendors who build heterogeneous computing systems using FPGAs. I doubt you'll find complete source code for such systems.
SRC Computing
Convey Computer
Mitrionics. A reseller of other systems.
Novo-G. An academic project.
Look into radio astronomy. With arrays such as the VLA and ALMA, the massively parallel correlator is the part that could be considered most important. These typically use FPGAs but could use custom-designed chips for extreme performance at higher cost.
Some fine reading:
https://science.nrao.edu/facilities/cdl/digital-signal-processing
http://web.njit.edu/~gary/728/Lecture8.html

What are DOS programs written in? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I've always been curious... What programming language are DOS programs written in? For example, this program: http://keyhut.com/pos.htm
You can use the arrows on the keyboard to select options, type in things, press enter to do things...
At my work, all of our backend looks like DOS, the blue screen, you use the arrows on keyboard to select options... etc.
How could I create an interactive DOS program like that?
There were many languages out there for those sort of apps.
They include QBasic, Turbo Pascal, Turbo C++.
Here is a helpful page to get started : http://www.opus.co.tt/dave/program.htm. You may also want to google to find the language you're interested in.

On average, how efficient is a scripting engine? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
When dealing with a scripting engine, I'd expect them to be fractions slower than code compiled to assembly. What sort of efficiency numbers are there for major scripting languages (if any)?
Or is this a futile question?
Thanks.
Go to http://shootout.alioth.debian.org/ for actual numbers.
As you can see, languages that are usually compiled (i.e. C, C++, etc.) destroy interpreted languages in terms of performance (both running time and memory).
But the question is odd.
Any scripting language can be made compilable into native code (i.e. assembly) and vice versa (e.g. HipHop: PHP to C++ compiler).
And language aside, some compilers are much better than others because they know how to optimize the code to run faster natively. And they also differ between single-core and multi-core systems.
So if I can take a guess... if you're making a decision on what language to use based on performance (especially... ESPECIALLY if you're talking about scripting languages), you're probably making a mistake. There are many more considerations beyond performance that impact on selection of a programming language for a project.
If I guessed wrong, sorry!

Simple ruby program [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
just now I teach someone ruby and I need to give simple program (1-3 classes) to write. Could you give me an example of such program? Or some web resources? It should not be complicated it self, rather it should show ruby (is awesome ;)
Check out http://ruby4kids.com/
Chris Pine's Learn to Program is available online and uses Ruby as its language. It's geared towards novice programers and should contain easy examples. At the end of various chapters you'll also find sections called "A Few Things to Try", which contain nice exercise suggestions.
I found http://rubykoans.com/, and its quite great :)

Resources