標題:
2025/01/25課程重點(博宥)
[打印本頁]
作者:
方浩葦
時間:
2025-1-25 11:06
標題:
2025/01/25課程重點(博宥)
本帖最後由 方浩葦 於 2025-1-25 15:51 編輯
進度:
>>線上測試題庫<<
503 區間運算
505 公式計算
507 猜數字
509 字串拆解
=====複習=====
模擬測驗
107
206
305
409
510 星號輸出
601 大小寫轉換
602 字串拆解
603 多重迴圈
604 選擇排序
605 差值計算
作業
複習本日進度
備註
作者:
邱博宥
時間:
2025-1-25 16:36
[attach]20599[/attach]
#include<bits/stdc++.h>
using namespace std;
int main()
{
ofstream o;
ifstream i;
string a;
o.open("write.txt");
i.open("read.txt");
getline(i,a);
int l=a.length();
for(int f=0;f<l;f++)
{
o<<
char(a[f]+=2);
}
return 0;
}
複製代碼
41:02
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://seed.istak.org.tw/)
Powered by Discuz! 7.2