hello-world

Is writing a compiler Hello World for F# ?

I don't believe seeing this. It says: For April, Chris Smith will be presenting on writing a Java to x86 Compiler in F#. The presentation may go on for an hour or two which definitely is not enough to write a compiler. I've heard that F# is powerful, but this powerful? Well, all I wanted to ask is this: Can you write a compiler in...

How does this "hello world!" program work?

int main(void) { return('yes', *"no", **main, *********printf) ("hello world!\n") *0; } outputs hello world!, but how does it actually work? ...

Hello world in C with no semi-colons?

I recently heard this was used as an interview question. I suspect there is a very simple answer; I must be over-thinking it. Can you write Hello World in C without using any semi-colons? If so, how? ...

Issue with 'Hello Android' tutorial

I am brand new to Eclipse and Android, but somewhat familiar with Java. That having been said, I tried to follow the 'Hello Android' tutorial from the developer site using the latest Eclipse (Galieo) and the 2.1 Android SDK, I am on a Macintosh running Snow Leopard (OS X 10.6). I have a default virtual device (though my target is actu...

Problem with "Hello, WebView" example

Hi there, I'm new in android development and I am trying out the WebView example in the official android site. http://developer.android.com/guide/tutorials/views/hello-webview.html But I do everything they say...which is pretty simple: I create the project, edit the layout file, then i add the code, etc. No problems building...but wh...

"Hello World" iPhone app does not auto-rotate

OK, knowledgeable programmer-types, please be gentle... I'm having trouble getting a very simple, one-view "Hello World" app to rotate automatically. I go through the usual "Hello World" steps: Create a new View-based project. Double-click on the .xib file for the ViewController. Add a item from the Library. I've tried a Label as wel...

Where does the "Hello World!" example come from?

Possible Duplicate: Where does Hello world come from? "Hello world!" is the most commonly used example I can think of, yet I don't really know where it came from. Was it used by some particular book, or did it just spread among developers? Did people write "Hello world!" snippets in COBOL or FORTRAN ? ...

Simply make a label say Hello World in Cocoa (Mac programming)

I'm a total newbie to programming in coca for the mac so this question is probably easy. I have a window, and on that window I have a Label. I want to be able to update this label from my program with the current status or what's going on (eg. reading in file, parsing, etc.). My problem is that I don't know how to access the label a...

From iPhone OS to cocoa on OSX...

Hi - this is quite a basic OSX/cocoa question. I come from an iPhone OS development background. I'm now trying to write apps for OSX, but I don't understand where cocoa on OSX decides where the program gets control. I can see the main function, but where does program control go from there? Say for example I want to programatically cr...

Plotting 'Hi' in MATLAB

I wished to plot this 'Hi', which may be 'Hello World' graphical equivalent in MATLAB. Haven't been able to do it. Any suggestions are welcome. ...

Having trouble writing my first bash script

ok I am writing my first bash script in ubuntu 10.04. The file is on my desktop: /home/myuser/Desktop The file is called hello-world The file contains: #!/bin/bash echo "Hello World" I open a command line and run: /home/myuser/Desktop/hello-world It tells me permition is denied. So I run it again with sudo, it asks me for my ...

obfuscated C/asm "Hello, world!" program, I don't understand.

why does the following code print "Hello, world!" (on "my" system)? .file "test.c" .globl main .data .align 32 .type main, @object .size main, 56 main: .value 3816 .value 0 .value 18432 .value 27749 .value 28524 .value 8236 .value...

Eclipse can't connect to activity manager on emulator - HelloWorld does not appear.

This appears related to: http://stackoverflow.com/questions/3037512/android-application-doesnt-start-from-eclipse/3106897#3106897 Even with the Android 2.2 platform is this still the accepted way to operate the emulator? i.e. 1, 2, 3 start/kill processes as described in the above post? I am having a similar problem on WinXP with Eclips...

How to write an IE plugin?

I'm totally new to this area, what languages can do this job? How to write an hello world IE plugin? ...

ubuntu aptana 3 php helloworld !!

I have Ubuntu x64. I've already installed XAMPP and it's working fine with NetBeans. I wanted to use Aptana 3, so I downloaded and uncompressed it, and clicked on "aptanastudio3". The program started fine, so I made a PHP file, and now I have no idea what to do; the run button gets me "external tools configuration". I googled and found...

How to Call simple WCF service using jquery or simple js

I have a very simple hello world WCF service as given below. When i call it via asp.net project by adding web service reference it works perfectly fine. But when i called it using JQury or standard js ajax call (using XMLHttpRequest) it calls back the success function but returns null data. When i tried to access it via firefox browser ...

Java unicode characters error in cmd

I have the following class in Java which prints "Hello World" in portuguese: public class PrintUnicode { public static void main(String[] args) { System.out.println("Olá Mundo!"); } } I am using Eclipse, so I exported the project to a Runnable Jar File. After that, I went to cmd (Windows 7) and ran the generated jar fi...

Why the "hello, world" is not output to the console? (Very newbie question)

I'm just learning scala, and I wrote the "hello,world" program like this: object HelloWorld { def main(args: Array[String]) { println("Hello, world!") } } I saved it to a file named "helloworld.scala" Now I run it in the console: scala helloworld.scala But nothing outputed. I thought it will output "Hello, world...

Cannote find PDB Visual Studio 2010

Hi guys! I did my Hello World! program in Visual Studio 2010 C++, it does work all ok (except that if I enter 2 times it will close, it's normal?) But there is a little "error message" or whatever that appear in the debug log: 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file What does that mean? You can see my code...

Convoluted hello world program

What's the most convoluted hello world program you can think of without any bogus lines? That means every single statement has to contribute to the overall program so you can't simply bloat it with useless declarations and the such. Any language is ok, but using the esoteric nature of a language by itself does not count as convolution!...