Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <graphics.h>
- using namespace std;
- int main()
- {
- IMAGE *x=createimage(401,401);
- initwindow(800,600);
- bar(200, 200, 500, 300);
- getimage(200, 200, 600,600, x);
- char a[250];
- scanf("%s",&a);
- saveBMP(a,x);
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement