divisors formula something like this :
( q1+1)(q2+1).........(qn+1) -2 ; u must extracted first and last divisor.
20=2x2x5
so , there r (2+1)(1+1) -2 = 4 divisors.
there r (1 + 2/2)(1 + 1 / 2) = 2 divisor of the form x^2,x^3,...........................
so ,total = 4+2 = 6
read system call reads up to n bytes of data from the file associated with the file descriptor f1 & places them in the data area buf . u can learn more reading any book about system programming in Linux or Unix , there's a lot of thing to learn other then acm. :wink:
I need to make a tiny notepad in java .The notepad consists a JTextArea , a JTextField for selecting the file location, and 4 JButton . JButton save for save the text written in JTextArea , JButton Open for Open the file written in JTextField , JButton clean for clear the text written in JTextArea ...