Credo ti convenga usare subst anche in C/c++.