Forum: Java Jan 6th, 2009 |
| Replies: 2 Views: 977 Thank you very much. I miss this method! |
Forum: Java Jan 5th, 2009 |
| Replies: 3 Views: 498 Haha good example:) But viron, you should ask an exact question to get a reply. |
Forum: Java Jan 5th, 2009 |
| Replies: 2 Views: 977 We can convert any kind of numbers to binary string. For example 20501487 can be converted into binary String format as 1001110001101001111101111. However I cannot reconvert this binary String into... |
Forum: C++ Nov 23rd, 2008 |
| Replies: 4 Views: 2,333 This is also 2 dimensional, pointers of pointers
float **grades;
int *examNo, studentNo, i, j;
cout << "No of students: ";
cin >> studentNo;
grades = new float *[studentNo];
examNo =... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 9 Views: 23,853 Well but it may be helpful again if you google it. |
Forum: C++ Nov 22nd, 2008 |
| Replies: 9 Views: 23,853 Narue is doing it right. You can resize the array by creating a new array which its size is different. And you can pass the datas, delete the old array. Thats all. As narue did it. |
Forum: Java Jul 30th, 2008 |
| Replies: 2 Views: 3,001 In the main method of a program we always use the code as a parameter: String[] args
What does it mean?
In the tutorial of java sun, there is a code following
public static void main(String[]... |
Forum: C++ Jun 2nd, 2008 |
| Replies: 9 Views: 8,355 shortestPath(in theGraph, in weight:WeightArray) {
// Finds the minimum-cost paths between an origin vertex (vertex 0)
// and all other vertices in a weighted directed graph theGraph;
//... |
Forum: C++ Jan 25th, 2008 |
| Replies: 1 Views: 1,426 i want to implement a binary tree code but i encountered a problem. after i insert some numbers to tree, i couldn't print my numbers except first one or i couldn't insert the numbers except first... |
Forum: C++ Jan 6th, 2008 |
| Replies: 3 Views: 2,432 i just want to know how to write a circular linked list destructor. anybody help? |