in lime light today: Javascript
Google
Showing posts with label Javascript. Show all posts
Showing posts with label Javascript. Show all posts

Wednesday, May 28, 2008

Posting site discussing code

Digg!

Find help here and post your comments and doubts to get them clarified.

substring method of java String class


Simple example for Java's substring method of String class.

int start = 1;
int end = 5;

String val = "howareyou";
String substr = val.substring(start,end);


//The above prints owar

Get Clipmarks - The easiest way to email text, images and videos you find on the web.
Sent with Clipmarks

Tuesday, May 20, 2008

Java and C++

Digg!

Get your doubts cleared

difference between aliases and pointers in c++


Hi,

I'm struggling to understand the differences between aliases and pointers.
Can anyone help this newbie? Please explain this concept in plain English and include examples if possible. Appreciate your help

Thanks :)


well I'm no expert but aliases offer a way for the programmer to refer to a particular address space using different names (and hence aliases). To take an intelligent guess the compiler will refer to one memory space using various names.

Pointers are slightly different in that a variable refers to a memory space, that contains a different memory space as its value okay?


Mon May 19 22:03:52 PDT 2008

Get Clipmarks - The easiest way to email text, images and videos you find on the web.
Sent with Clipmarks

 
in lime light today © Pilo Gui