« first day (858 days earlier)      last day (1570 days later) » 

5:49 AM
int main ()
{
int firstvalue = 5, secondvalue = 15;
int * p1, * p2;

p1 = &firstvalue; // p1 = address of firstvalue
p2 = &secondvalue; // p2 = address of secondvalue
*p1 = 10; // value pointed by p1 = 10
*p2 = *p1; // value pointed by p2 = value pointed by p1
p1 = p2; // p1 = p2 (value of pointer is copied)
*p1 = 20; // value pointed by p1 = 20

cout << "firstvalue is " << firstvalue << endl;
cout << "secondvalue is " << secondvalue << endl;
return 0;
}
result firstvalue is 10
secondvalue is 20
why?
 
3 messages moved from not-Lounge<C++>
 
6:21 AM
<select onchange="location = this.options[this.selectedIndex].value;" style="width:120px">
<option value="http://weconvex.com/australia/">Australia</option>
<option value="http://weconvex.com/united-states/">United states</option>
<option value="http://weconvex.com/singapore/">Singapore</option>
<option value="http://weconvex.com/india/">India</option>
</select>
 
1 message moved from JavaScript
 
 
3 hours later…
9:09 AM
@All


How can read properties with following properties name using java
message.EN.properties
message.CA.properties
 
 
2 hours later…
11:02 AM
Is xuggler being no longer maintained and used?
 
 
2 hours later…
12:59 PM
14 messages moved from Java
 
1:26 PM
path = "C:\\";
filter = "Excel Spreadsheets|*.xlsx";
dialog = new ActiveXObject("UserAccounts.CommonDialog");

dialog.Filter = filter;
dialog.InitialDir = path;
dialog.Flags = 0x80000 + 0x4 + 0x8;
result = dialog.ShowOpen();

var excel = new ActiveXObject("Excel.Application");
excel.Visible = false;
var excel_file = excel.Workbooks.Open(dialog.FileName);
 
1 message moved from JavaScript
 
 
2 hours later…
3:31 PM
1
23
456
78910
how to print this in java
 
3:43 PM
some one answer my question here plz...
http://stackoverflow.com/questions/17345995/what-is-the-fastest-method-for-mean-vectors-of-each-cluster-in-k-means-algorithm
 
3:56 PM
hi
 
4:14 PM
yo
 
hi
 
4:44 PM
Help me by giving some new ideas on here
http://stackoverflow.com/questions/17332764/perfect-collision-detection-algorithm-fixing?noredirect=1#comment25144622_17332764
 
5:03 PM
1
23
456
78910
ho to print this in java
public class T
{
public static void main(String[] args)
   {
	int i,j,  num = 1;
	int n =Integer.parseInt(args[0]);

	  for (int i = 1; i <=n ; i++)
	  {
		for (int j = 1; j <=i; j++)
		{
			System.out.println(num);
			num++;
		}
		System.out.println(" ");
	  }





	}

}
why i and j giving error
 
 
1 hour later…
6:06 PM
10 messages moved from Java
 
6:55 PM
how can I please fill the input form of jsp file form the url?
@vinod
 

« first day (858 days earlier)      last day (1570 days later) »