hello-world

Entity Framework - Where are my Navigation Properties?

When I am generating ADO.NET Entity Data Model from Northwind I am getting well-structured Data Models with both scalar and navigation properties, but when I am generating from my own Database, I get only scalar properties and no navigation properties. Why? and how can I get those navigation properties for my own database Tables? ...

JNI Hello World Unsatisfied Link Error

This is my first attempt at JNI. My ultimate goal is to get all tasks currently running on a machine, but need to get even a simple example running. I keep getting this error when I try to execute my main program. I have supplied my simple Java main program, the header file generated, and the error. I do not know what this DLL could be ...

YQL Web Server Log File regex example.

I am looking for example code using YQL to handle a web server log file. YQL table for Apache access logs asks "What about a table for Apache access logs?" to which spullara replies: If we add something like this it will likely be with a regex based line reader that you could then apply to apache logs. later Paul Tarjan says: ...

XCode Debugger: Why is it only showing me assembler?

I'm just starting out with Cocoa development in xcode, doing the hello world example. I'm up to step 6 of the section "runtime debugging", which is Using the Step Over button in the debugger toolbar, begin stepping through the code. As each line of code executes, you can examine the program’s state. The value of a variable is someti...

Language Syntax Comparison

I'm interested in learning a new language. Does anyone know of a website with the same program (maybe a Hello World) written in several different languages (maybe 10-15 or so), so that I can get an idea of how the syntaxes compare. ...

undefined reference to pthread_create in linux (c programming)

I'm interested in learning to write C programs which use threads. I picked up the following demo off the web from https://computing.llnl.gov/tutorials/pthreads/ #include <pthread.h> #include <stdio.h> #define NUM_THREADS 5 void *PrintHello(void *threadid) { long tid; tid = (long)threadid; printf("Hello World! It's me, thre...

JPOS Hello World

I would like to print a sample line on my USB POS (Point-Of-Sale) printer from a java program on Windows XP. I tried to setup a JPOS implementation but I get exception after exception for a missing jpos.xml or missing javax.usb.propreties file. Can anyone tell me how to generate thoses files ? They somewhat need to link to an implement...

Hello world without using libraries

Hi, This was an onsite interview question and I was baffled. I was asked to write a Hello world program for linux.. That too without using any libraries in the system. I think I have to use system calls or something.. The code should run using -nostdlib and -nostartfiles option.. It would be great if someone could help.. ...

Android: Learning the platform, have any app suggestions?

I'm beginning to learn mobile programming on the Android platform. I'm up for working with any particular base SDK. I just want to hear some suggestions from the community about what types of applications I should start with to help learn more advanced interactions with the platform. There are of course the Standard Hello World, calcula...

Sending messages to server with Comet long-polling

What's the best way to send data from client to server? The example code I'm using is from http://stackoverflow.com/questions/333664/simple-long-polling-example-code ...

How to use on_mouse_motion to move around a lable via pyglet?

How can one move a label around in the hello world example using the on_mouse_motion function? The docs aren't clicking for me. on_mouse-motion hello_world_example.py ...

How do I get a MessageBox like information window to appear in Java?

I'm learning Java and I have no idea how to do this. I dragged a button on the form in Netbeans, double clicked it and it created this event: @Action public void HelloClickMethod() { JOptionPane.showMessageDialog(this, "The message!", "This is supposed to be the MessageBox title."); } This is the exception the IDE brings up. ...

Better way to port Java into Python? (Hello World Servlet)

After several hours of working on porting this program over, it appears to finally be in a working state. However, I was wondering if anyone knew of a better way or more complete way of porting Java servlets over into Python. The beginning of the Python script contains a lot of support code to make it easier to port the program line-by-l...

How to make a lua app for PSP?

I am trying to use Luaplayer HM v2 on my PSP, but I am unable to make a simple Helo World app. I have tried a lot of thing's but it simply doesn't work. All tutorials, app that I found are for LuaPLayer, I cannot find anything for Luaplayer HM v2. Please help me I need some tutorials or sampels for Luaplayer HM v2. Luaplayer app don't...

Java Web service using Apt. Do I need an annotation processor? What is wrong?

I have been trying to make a simple web service and have been following this tutorial . Unfortunately I am stuck. Here is what I have done so far: 1) I created this class: package server; import javax.jws.WebService; @WebService public class HelloImpl { /** * @param name * @return Say hello to the person. */ public S...

How To Build a Hello World For Nintendo 64?

I'm reading MIPS Assembly Language Programming, but now I want to build a simple "game" for Nintendo 64. I want to print a Hello, World to the screen, but someone can help with this. As I don't have nothing to start. I've choose for Nintendo 64 because of my friend told me that it uses MIPS and I've already have the emulator. ...

Eclipse: Create Hello World app in C

This seems super basic, but I'm having trouble finding documentation online to explain it. I have the Eclipse IDE for C/C++ 3.5.1. How can I create a simple Hello World program in C? (I have also downloaded cygwin.) Many tutorials online make reference to "Managed" and "Simple" types of projects, but I can't find that anywhere. Was that...

Visual Studio: Create a Hello World app in C?

How can I create a basic C app in Visual Studio, be it 2010 Ultimate or 2008 Professional? I have searched through the project templates, and can find plenty for C++, but none for C. (I'm hoping that the compiler and debugger will be built in.) ...

Newbie cannot program Hello world app

I recently downloaded Eclipse (Galileo), the Android SDK and Java. I followed instructions to write the "Hello World" app http://developer.android.com/guide/tutorials/hello-world.html from the developers'webpage and ran the app. a window opens with a phone screen that reads "ANDROID" on the left and a keyboard image on the right. It do...

What is a good first C app to build, besides "Hello World"

I'm learning the C language on my Mac with Xcode. I've created a "Hello World" app, and played around with simple maths. What should be my next goal? If someone was to ask me about PHP for example, I'd say "build a basic blog software". Can someone point me in what would be a great learning experience for someone new to C? One that wil...