Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~752 People Reached
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for zouyu1983

Hi, guys. i'm a newbie in java world,now i confront a question about the inherite classes. [code] class Base { void f() {....} } class Derive1 extends Base { void f() {....} } class Derive2 extends Derive1 { void f() {....} } [/code] i know that if i want to …

Member Avatar for farook ahammad
0
116
Member Avatar for zouyu1983

i want to use java to do some data struct problem, but i don't know how to input the data from the consolel can anybody show some cases (for example, input some int data)? the help will be appreciated:cheesy: smallrain

Member Avatar for Member #119018
0
56
Member Avatar for Member #124326

[code] #include <iostream> using namespace std; struct Fraction { int numerator, denominator; }; int FindCommonFactor(int m, int n) { int x; while (m % n) { x = m % n; m = n; n = x; } return n; } void Process(char str[], Fraction fraction[], int &result) { int …

Member Avatar for zouyu1983
0
366
Member Avatar for pugg09

the new method return a pointer to the object you allocate in the heap,but the vResource you declare is vector<Resource>, so the vResource is designed for containing object, not pointer, you can declare the vResource lick this vector<Resource*> vResource

Member Avatar for ~s.o.s~
0
214

The End.