Introduction to the _c++ program design of NetEase Cloud Classroom (top) _ 2nd unit: Painting the Turquoise –ege Graphics Library _ Section 2nd: A simple Ege Program

Source: Internet
Author: User

Introduction to the _c++ program design of NetEase Cloud Classroom (top) _ 2nd unit: Painting the Turquoise –ege Graphics Library _ Section 2nd: A simple Ege Program

#ifndef _graphics_h_#define _graphics_h_#ifndef __cplusplus#error You must use C + + compiler, or you need filename with '. C PP ' suffix#endif#include "ege.h" using namespace Ege; #endif # include <iostream> #include <graphics.h>void Main () {Initgraph (640, 480);//Create drawing window outtextxy (+, "Aloha");//output string to the right in the specified coordinates line (10, 10, 400, 400);// In the specified coordinate output segment Ege::getch ();//wait for input character closegraph ();//close drawing window}

Introduction to the _c++ program design of NetEase Cloud Classroom (top) _ 2nd unit: Painting the Turquoise –ege Graphics Library _ Section 2nd: A simple Ege Program

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.