Thread: Second year paper.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    6

    Lightbulb Second year paper.

    Greetings,

    I'm currently studying a computer science degree here in the UK and for one of my assignments I'm to write a paper about something that interests me with regard to computing. I'm looking at the importance of language - not that I'm wanting to get into language wars or anything - but particularly the psychology of language: why do people think that the syntax is more important than the underlying programming principles and logic?

    If anyone has any opinions about this then please feel free to contact me, you may do so anonymously if you like.

    Also, here's a simple 'Hello World' program in Java:

    Code:
    public class Hello
    {
    	public static void main (String [] args)
    	{
    	char [] letters={ 'H','e','l','l','o',32,'W','o','r','l','d','!','0' };
                    // Zero used as terminator
    	String s$="";
    	int eye=0;
    	while (letters[eye]!='0')
    		{
    		s$=s$+letters[eye];
    		eye=eye+1;
    		}
    		System.out.println(s$);
    	}
    }
    Surely this would be easy to convert to C/C++? Apparently, some people don't think so.

    Regards,

    Shaun.
    Last edited by Shaun_B; 03-29-2011 at 05:48 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can someone help me with these errors please code included
    By geekrockergal in forum C Programming
    Replies: 7
    Last Post: 02-10-2009, 02:20 PM
  2. Issues and questions about queues
    By Nazgulled in forum C Programming
    Replies: 36
    Last Post: 12-13-2007, 02:03 PM
  3. Calendar Problem
    By wordup in forum C Programming
    Replies: 7
    Last Post: 10-29-2002, 03:36 PM
  4. error with code
    By duffy in forum C Programming
    Replies: 8
    Last Post: 10-22-2002, 09:45 PM
  5. cant get code to work
    By duffy in forum C Programming
    Replies: 13
    Last Post: 10-20-2002, 05:23 AM