Hi,

Is the use of the 'have to with the 'ing' form correct?

-4 things to consider when having to move with your family.
-I am just a student having to do its homework. ( I am just a student who has to do its homework).


Thanks.