writing in to a micro sd card without using serial function

i have downloaded necessary libraries and examples but in all of them they are writing data serially using pc

What libraries are you talking about? The SD library, delivered with the Arduino IDE doesn't even need the Serial object to be created.