Search results

  1. G

    Turbo C/C++ and other junk compilers help, discussions and queries here

    I think its the encryption logic fault. Since you are encrypting the whole string upto length (0 to len-1) therefore in effect you are also encrypting the null terminating character '/0'. Jst add '/0' after len amount of characters in the encoded out array and i think it will give the correct...
  2. G

    All C/C++ Qurries here

    Maverick ur first code is quite a bit long don't u think? Well i thought u might want to calculate e^x-1 coz the series is its expansion. and can u tell me if i can open an bmp image in c?
  3. G

    All C/C++ Qurries here

    Since you are using getline everytime, so (*line) is checking the first character of the line array if its null or not(ascii 0). *line is eqv to line[0]; *(line+1) is eqv to line[1]; ...... get the point!!
Top Bottom