programming-languages

Programming languages & proof of concepts

There are plenty of programming languages out there, as you all may know. I am primarily looking for a list of programming languages WITH some very neat proof of concepts. I would really like to learn a new language, but whenever I dive into something new and popular, it isn't what I expected. Any tutorial out there will give you code, s...

xcode compile console application - c programming

Is it possible to use Xcode using iPhone 3.1.3 SDK to compile a standard C program that will work on the iphone? I'm trying to use xcode to compile a basic 'hello world' but to no avail. Do I need to obtain an additional application template or am I just missing something? ...

difference between (int) and convert.toint32 in c#

when i convert a object to int by (int)object then when the object value is 0 then he give me error that specific cast not valid. when i convert a object to int by convert.toint32(object) then he works and give me 0 means cast is valid. and i want to know that what is difference between both. 1. (int)object 2.convert.toint32(...

Does any language use "=/=" for denoting the not-equal operator

Does any programming language use =/= for not-equal? Are there any lexical difficulties for scanners to recognize such an operator? Or was it the case historically? [Note: this is NOT a homework question. I'm just curious.] ...

what program language to choose on simple web application?

I need to create a web-application, that will read content from txt files, read user input information to pdf (i will use itext for pdf purposes). I know java a bit, so I thought about GWT, but i read that there problems with input/output. If not GWT, what program language is good for my web application and easy to learn. Thanks in adva...

Call a function from another Class - Obj C

I'm trying to figure out how I can call a function from another one of my classes. I'm using a RootViewController to setup one of my views as lets say AnotherViewController So in my AnotherViewController im going to add in on the .h file @class RootViewController And in the .m file im going to import the View #import "RootViewContro...

How to add the distrubtion group in Active Directory for a user?

How to add the distrubtion group from Powershell in Active Directory ? I have user in active directory and i want to add the user into particular group rather than going and server because that part is going to be outsourced. so how to add the distrubution group for particular user. ...

Choosing an alternative ( visual basic) high level programming language

I used to be visual basic 6 programmer, i was pleased with visual basic : it is high level language that do stuff fast,easy to learn, easy to do stuff in,you can drag and drop stuff to the form and write your code,it is simply amazing.however microsoft buried VB6 and pointed us to VB.NET which is so different that it is not the old VB an...

Other programming languages that support implicits "a la Scala"

Hi. Scala implicits are very powerfull. I'm curious if they are a new/unique feature of Scala, or the concept already existed in other programming languages. Thanks. EDIT: To clarify my question, yes, I'm talking about this concrete implementation. Having "implicit things" all around seemed strange at first, but having used it for a...

Do you know of a language with Static Type checking where Code is Data?

Can you name language with Static Type checking(like Java) and where Code is Data(like in LISP)? I mean both things in one language. ...

how to send information to an email from php/jsp/ruby/perl

In php/jsp/ruby or perl...how hard is it to send information to an email? I am planning to have something where user puts in the information from an html form, information gets sent back to the server, server puts it in DB, then we send an email to the user. This is very basic functianality that I've seen many sites do. Can someone ...

Official C++ language subsets

I mainly use C++ to do scientific computing, and lately I've been restricting myself to a very C-like subset of C++ features; namely, no classes/inheritance except complex and STL, templates only used for find/replace kinds of substitutions, and a few other things I can't put in words off the top of my head. I am wondering if there are a...

Language features helpful for writing quines (self-printing programs)?

OK, for those who have never encountered the term, a quine is a "self-replicating" computer program. To be more specific, one which - upon execution - produces a copy of its own source code as its only output. The quines can, of course, be developed in many programming languages (but not all); but some languages are obviously more suite...

8085 arithmetic program

Can I get the assembly language arithmetic program operations for 8 bit microprocessor programming ? ...

Is there any way or site to store the programming code for viewing later

For example i use store bits and pieces of text from web in my google docs to view later. I am finding it hard to store the code snippet in google docs due to non formatting or non color highlighting. For example when i get some anser in stack overflow i want to copy and paste somewhere so that i can review later. But i am not finding...

Do you know of any programs worth reading?

One of the top tips for new programmers is to read programs, like the "old masters" who studied paintings of their ancestors, all programmers should also study programs of their colleagues. The question is, which programs are worth the trouble? ...

Simple question about #import

Is #import or #include a job that is handled by the complier or by the linker? ...

What are the highest level languages that can be compiled?

What are the highest level languages that can be compiled to executables? When I say compiled to an executable I am not referring to bytecode, but native assembly code like in the C, C++ sense. EDIT: One issue that I'm having is that clients have ssh access to my server in a limit access acount. They need to run some of my scripts but I...

Visual Studio 2010 Language-Specific Help Search Results

I am in the process of learning F# and so am only interested in help search results involving this language as I debug my programs. Previous versions of help let you filter results for specific languages via checkboxes. How is this best done now in the VS2010 help system? ...

Why must C/C++ string literal declarations be single-line?

Is there any particular reason that multi-line string literals such as the following are not permitted in C++? string script = " Some Formatted String Literal "; I know that multi-line string literals may be created by putting a backslash before each newline. I am writing a programming language (similar to C) and would like ...