read and write to a text file


I have a text file with 32 bit numbers
i would like to read the numbers into memory using CUDA

and would like to also write them back after performing few operations

can u please let me how to do this

do we need cutReadFilef??

thank you

Reading and writing files does not involve CUDA in any way. cutReadFilef is just a utility used by the examples. However as reading and writing always happens on the host you can use any tool you like.

got it

thank you very much