how can i create a c++ program that can somehow connect to a phone and let you talk to them through a computer mic? also how do i create an email program? the email program could also send txt messages (number@carrier.com). can you give me links or code and an explanation plz? thanks!

by the way i use dev c++ for my compiler

how can i create a c++ program that can somehow connect to a phone and let you talk to them through a computer mic? also how do i create an email program?

You have to study a lot... or to pay some pros to do the job for you.

the email program could also send txt messages (number@carrier.com). can you give me links or code and an explanation plz? thanks!

I can't, but if I could I definitely won't.
It's not like a sort-these-records homework exercise, it's a really complex project!
And the way in which you ask your questions gives me the impression that you are not nearly able to begin such a thing.