Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kopo85

  1. kopo85

    Help with strcpy

    Sorry, actually it should be for(j=0;j<9;j++) that would make my equation correct. This forum could really use an edit button.
  2. kopo85

    Help with strcpy

    Sorry, the second for statement is actually suppose to be for(i = 0; i<16; i++) { sample[i][j] = read_adc(0); itoa(sample[i][j], mid_store); strcpy(output, mid_store); strcpy(output, ','); } I guess I made another mistake in my code when I posted it on this forum also. for(i = 0; i < 16; i++) {...
  3. kopo85

    Help with strcpy

    I was just wondering if you could see anything wrong with this code off had that wouldn't make it work char mid_store[6]; char output[512]; unsigned char sample[16][9]; int j; int i; int str_length = 0; for(j = 0; j<9; j++) { for(j = 0; j<16; j++) { sample[i][j] = read_adc(0)...

Part and Inventory Search

Back
Top