Possible Duplicate:
Why functional languages?
I began programming with C/C++, VB, and eventually Python - all imperative languages. I took a course about programming languages and learned my first functional language - OCaml. It was terrible.
Syntax and other horrors aside, OCaml took my imperative thought process and threw i...
Possible Duplicate:
Which programming languages can I use on Android Dalvik?
Mostly, Android applications are written in Java. But i heard that its also possible to use Scala or some other languages. And I also read that it's possible to include native C/C++ code.
Is there a refernce/list available that shows which languages ...
I am reading and writting a structure into a text file which is not readable. I have to write readable data into the file from the structure object.
Here is little more detail of my code:
I am having the code which reads and writes a list of itemname and code into a file (file.txt). The code uses linked list concept to read and write d...
Hi All,
I'm still new to the Ada programming world so forgive me if this question is obvious.
I am looking at developing an application (in Ada, using the features in the 2005 revision) that reads from the serial port and basically performs manipulation of the strings and numbers it receives from an external device.
Now my intent...
if ($var == ($var1 || $var2))
{
...
}
I am considering using this, but am ont sure if it is valid, and there doesn't seem to be somewhere to check.
It seems logically consistent to me but am not sure, and I don't have something to test it on close by.
If it is valid, what other mainstream languages support this sort of construct.
...
I've been doing some reading on file formats and I'm very interested in them. I'm wondering what the process is to create a format. For example, a .jpeg, or .gif, or an audio format. What programming language would you use (if you use a programming language at all)?
The site warned me that this question might be closed, but that's just...
I've been doing socket programming for a while in C++, and kind of got tired of having to write the same code to handle for errors, serializing / deserializing data, etc.
Are there programming languages out there that have first-class support for distributed system?
...
I've been aware for a while, specially after reading the "Pragmatic Programmer", of the importance for both enhancing you skill set and programming skills depth of mastering as many programming languages as you can. What do you thing are the best approaches for achieving that goal in a rational and balanced way, especially if you're a ve...
What language(s) do I need to know to develop plugins/extensions for Firefox? Also, any useful tools (as far as IDE or SDKs)?
...
Is a statically-typed full Lisp variant possible? Does it even make sense for something like this to exist? I believe one of a Lisp language's virtues is the simplicity of its definition. Would static typing compromise this core principle?
...
Most programming languages have some support for Unicode, but all have some more or less documented corner cases, where things won't work correctly.
Examples
Java:
reverse() in StringBuilder/StringBuffer work correctly. But length(), charAt(), etc. in String do not if a character needs more than 16bit to encode.
C#:
Didn't find a co...
Some interactive systems, including Standard ML of New Jersey and GHC, offer an interactive toplevel loop where you can type expressions and see results. A nice little convenience is that the result of the most recent expression is bound to the variable it. Here's an example from GHCi:
Prelude> 3 + 5
8
Prelude> it
8
Prelude> 2 * it
16...
I'm thinking about going back to school in a year and turning my CompSci minor into a major. I feel that in the meantime I should keep learning, but I'm not sure what to learn. In school we mostly worked with Java, so I'm most comfortable with it, but obviously there's plenty more for me to learn--for example, I'm not that familiar with ...
Possible Duplicate:
Defend zero-based arrays
Is it not possible for an array to start from 1. Why is it not possible for an array to start from 1 and why is the standard not getting revised to start the array from 1 ?
...
I have a query based on the below program -
char ch;
ch = 'z';
while(ch >= 'a')
{
printf("char is %c and the value is %d\n", ch, ch);
ch = ch-1;
}
Why is the printing of whole set of lowercase letters not guaranteed in the above program. If C doesn't make many guarantees about the ordering of characters in internal form, then...
How is the following line interpreted by gcc Compiler:
printf("HELLO");
I want to know this because when I am running following program:
main()
{
printf(5+"Good Morning");
}
The program is printing
Morning
I understand that the compiler is starting the printing from the 5th index.
But Why?
...
I'm tasked with "porting" a few apps from a Windows environment to various mobile platforms and Mac as well.
I plan on writing MVC patterned apps in which I write as many controllers as I can in some sort of universal library, probably in C or C++. Then writing the views in various choice languages (Objective C, Java, .NET, whatever) fo...
I have been working as a manual tester and documentation (Test plans etc.) personnel in a company's software/IT division. I do not have a big programming background but I want learn programming language(s) and tool(s). Hence, I am looking for automated testing tools and programming language(s) to learn which also give me industrial advan...
C++ is often touted as the evolution of C, which it is not. To draw an analogy for the kind of language I'm looking for:
{Perl, Python, Ruby, Groovy}
{C++, D}
{Java, C#}
{C, Fortran, Modula-2?, Pascal?, Go?}
Do any proposed, or implemented languages fit in the same (enormous) niche as C, with the intention of being an alternative, wh...
I have a doubt related to errors and warnings ........
For example i wrote a simple code in c (eclipse IDE) then i compiled. i got some errors and warnings in problem tab.This is the scenerio just think like this.
My doubt is where is errors and warnings are stored (in my computer) file.I want to know location of the file (which inclu...