2017年8月9日 星期三

【C++教學】Code Blocks 整合開發環境 04 變數類型介紹

C++其實很好學的,
只要慢慢的跟上進度,
總有一天……

#include <iostream>
int main(){
    float a = 123.4567890;
    double b = 123.4567890;
    std::cout << a << std::endl;
    std::cout << b << std::endl;
    return 0;
}

2017年8月7日 星期一

【C++教學】Code Blocks 整合開發環境 04 如何做運算(+-*/%)

每兩天一部教學影片!!

#include <stdio.h>
#include <stdlib.h>
int main(){
    int asdk;
    int asdk2;
    int tmp;
    scanf("%d,%d", &asdk, &asdk2);
    tmp = asdk + asdk2;
    printf("%d\n", tmp);
    tmp = asdk - asdk2;
    printf("%d\n", tmp);
    tmp = asdk * asdk2;
    printf("%d\n", tmp);
    tmp = asdk / asdk2;
    printf("%d\n", tmp);
    tmp = asdk % asdk2;
    printf("%d\n", tmp);
    return 0;
}

2017年8月5日 星期六

【C++教學】Code Blocks 整合開發環境 03 變數宣告、基本輸入輸出

以後約每1~2天上傳一集
請大家敬請持續觀看

因Youtube說明欄無法放置程式碼中的部分符號
程式碼將放置於團隊官網

#include <stdio.h>
#include <stdlib.h>
int main(){
int ___Romeo213;
scanf("%d", &___Romeo213);
printf("Type %d\n", ___Romeo213);
system("pause");
return 0;
}

2017年8月4日 星期五

【C++教學】Code Blocks整合開發環境 02 - 如何儲存專案與基本程式碼名詞教學(01)

以後約每1~2天上傳一集
請大家敬請持續觀看

因Youtube說明欄無法放置程式碼中的部分符號
程式碼將放置於團隊官網

#include <stdio.h>
#include <iostream>
#include <stdlib.h>
int main(){
    std::cout<<"Hello world!"<<std::endl;
    printf("Hello world\n");
    system("pause");
    return 0;
}


2017年8月3日 星期四

【C++教學】01 Code Blocks整合開發環境 - 下載與安裝教學

Code Block是一個簡單容易的整合開發環境
Microsoft(微軟)推出的Visual Studio因為系統需求量、檔案容量大
設備足夠的觀眾也可以下載看看

Code Blocks官網:http://www.codeblocks.org/