iconAll times are GMT +7. The time now is 02:13 AM. | Welcome to Forum, please register to access all of our features.
  #11  
Old 03-14-2010, 03:35 AM
DIDIE's Avatar
DIDIE DIDIE is offline
CODER Contributor
 
Join Date: Oct 2009
Location: Error Locations
Posts: 649
Send a message via Yahoo to DIDIE
Default

Quote:
Originally Posted by Cyber J.S. View Post
boss, punya 2 nick donk..??
itu udah kagakl di pake OM...!!!

jarang
__________________
SELALU ADA WAKTU UNTUK BELAJAR & BELAJAR
@kaka' Semua ===========>> Mohon saya di bimbing

http://d1d1.co.cc | oN tHE FB
Reply With Quote
  #12  
Old 03-14-2010, 04:21 PM
Cyber J.S.'s Avatar
Cyber J.S. Cyber J.S. is offline
CODER Contributor
 
Join Date: Nov 2009
Location: Grey-HAT Research Facility
Posts: 550
Default

iya iyay...
ane uda tau kog, bang...
__________________
Code:
int GetDrives(int drivetype)
{
	int i = 0, result = 0;
	char drive;
	char* tDrive = (char*)malloc(4);
	
	for(drive='A'; drive<='Z'; drive++)
	{
		tDrive[0] = drive;
		tDrive[1] = ':';
		tDrive[2] = '\\';
		tDrive[3] = 0;
		result = GetDriveType(tDrive);
		if(result == drivetype || (drivetype == MYCOMPUTER && result > 1))
		{
			PrintWithVolume(tDrive, result);
			i++;
		}
		
	}
	free(tDrive);
	return(0);
}
Reply With Quote
  #13  
Old 03-23-2010, 12:50 AM
ekoadi_santoso ekoadi_santoso is offline
CODER Member
 
Join Date: Mar 2010
Posts: 1
Default info

hehehehehehehe
Reply With Quote
  #14  
Old 03-27-2010, 04:14 PM
Cyber J.S.'s Avatar
Cyber J.S. Cyber J.S. is offline
CODER Contributor
 
Join Date: Nov 2009
Location: Grey-HAT Research Facility
Posts: 550
Default

Quote:
Originally Posted by ekoadi_santoso View Post
hehehehehehehe
yahh.. ni si om yg satu ini ketawa...
__________________
Code:
int GetDrives(int drivetype)
{
	int i = 0, result = 0;
	char drive;
	char* tDrive = (char*)malloc(4);
	
	for(drive='A'; drive<='Z'; drive++)
	{
		tDrive[0] = drive;
		tDrive[1] = ':';
		tDrive[2] = '\\';
		tDrive[3] = 0;
		result = GetDriveType(tDrive);
		if(result == drivetype || (drivetype == MYCOMPUTER && result > 1))
		{
			PrintWithVolume(tDrive, result);
			i++;
		}
		
	}
	free(tDrive);
	return(0);
}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump