i want change
list[0]by changingfvariable (notlist[0]directly)
That is not possible. The collection list is made up of pointers to objects as are the variables f1, f2, and f each a pointer to an object.
By changing the pointer of f you do not automatically change the pointer held in the collection that happened to be pointing to the same object.
By the way, this behavior is a good thing.
solved How can I set object in list [closed]