Type "C" when try using serialsoftware

Hi guys,

I am trying to play with serial software and I used this code but all thing what I got is “C” every time I hit enter button! I am using putty software to access the serial

here is the code :

#include <SoftwareSerial.h>
SoftwareSerial mySerial(0, 1); // RX, TX
int a=0;
char c;
char d;
void setup() {
  Serial.begin(9600);
  Serial.println("Goodnight moon!");
  mySerial.begin(9600);
  mySerial.println("Hello, world?");
}
void loop() {
  delay(10);
  if (Serial.available()) {
    c=Serial.read();
    delay(10);
    Serial.write(c);
  }
  delay(10);
  if (mySerial.available()) {
    d=mySerial.read();
    delay(10);
    mySerial.write(d);

  }
}

Any Idea how to solve this issue? thanks for all

Put your SoftwareSerial instance on different pins. zero and one are used for the hardware serial instance.

I changed them but still same result!

I am using same of adapter:
http://www.serialgear.com/1-Port-Serial-USB-CHEAP-SERIAL.html

The adapters you linked to look like RS232 serial - the signals pulse at different voltage levels & polarity compared with the Arduino pins you're connecting to.

You need an RS232 - TTL adapter, something like a MAX232.

Here's a Sparkfun Tutorial on the subject.

Thank you will try it