The thing is to create a c++ program which recieve these coordinates x1,y1,x2,y2 in order to build an empty rectangle made of asterisks or whatever. I'm a beginner, so I need your help. Thanks.

This appears to be homework. Let's see your work so far.

But hey, SPOILER LINK. Do not click.

Be a part of the DaniWeb community

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