i have a file .txt with some variables printed for a c program.

Precedente lettura: 7129.00 m3 Attuale lettura: 7288.00 m3 Totale Generale: 159.00 m3

Lettura Carmen: 2597.00 m3 Consumo Carmen: 72.00 m3

Lettura Coppola: 487.00 m3 Consumo Coppola: 47.00 m3

Lettura Sarli: 1903.00 m3 Consumo Sarli: 37.00 m3

Eccedenza: -36.00

Costo Carmen: € 102.94 + € -51.47 = € 51.47

Costo Coppola: € 67.20

Costo Sarli: € 52.90

this is the file. how can i take the variables "Attuale lettura", "Lettura Carmen", "Lettura Coppola" and "Lettura Sarli" and put them in to a variables in c program?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.