Search Results

Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: satya.vijai
Forum: C Dec 17th, 2007
Replies: 3
Views: 3,105
Posted By satya.vijai
Thank you for ur reply. But, I don't need the label. I want to extract the drive letter, to which the particular label is assigned. I guess, GetVolumeInformation can do this, if we do for all the...
Forum: C Dec 16th, 2007
Replies: 3
Views: 3,105
Posted By satya.vijai
Hi,

I need some information regarding the APIs to use, to get the drive letter, if I know the label of that drive.

For eg, my hard disk has been partitioned into 3 drives, C:, D:, E:. The...
Forum: Shell Scripting Dec 15th, 2007
Replies: 2
Views: 2,986
Posted By satya.vijai
Hi,

I need some information regarding the APIs to use, to get the drive letter, if I know the label of that drive.

For eg, my hard disk has been partitioned into 3 drives, C:, D:, E:. The...
Forum: Legacy and Other Languages Aug 23rd, 2007
Replies: 12
Views: 24,992
Posted By satya.vijai
Hi,

I need a batch script, which has to create a directory, but if the directory already exists, it has to delete it, and create a fresh one. I dont know, what command to be used.

Normally,...
Forum: C++ Aug 10th, 2007
Replies: 3
Views: 5,681
Posted By satya.vijai
Hi,

I have a text file which looks in the following format

=====c:\text.txt ======

AAAA
BBBB
...
...
Forum: C May 2nd, 2007
Replies: 7
Views: 3,529
Posted By satya.vijai
Hi, I have used it with fixed size array, and the code is below.

int main()
{
FILE * pFile;
char cards[10][100];
int i=0,n=0;
pFile = fopen ("c:\\cardnames.txt" , "r");
if (pFile == NULL)...
Forum: C Apr 27th, 2007
Replies: 7
Views: 3,529
Posted By satya.vijai
I did it in the following way.

int main()
{
FILE * pFile;
char string [10][100];
int i=0,n=0;


pFile = fopen ("c:\\cards.txt" , "r");
Forum: C Apr 26th, 2007
Replies: 7
Views: 3,529
Posted By satya.vijai
I have the following sample.

int main()
{
FILE * pFile;
char string [100];

// char filename = "c:\\cards.txt";
pFile = fopen ("c:\\cards.txt" , "r");
if (pFile == NULL) perror ("Error...
Forum: C Apr 26th, 2007
Replies: 7
Views: 3,529
Posted By satya.vijai
Hi, I have a text file which looks like this:

3Com 3C996B Gigabit Server NIC
NEC PCI to USB Enhanced Host Controller (B1)
....
....

Now, I need a 'C' Program which will copy each line into...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC