- 分享
背单词神器
- @ 2025-11-14 13:41:59
单词练习模板
#include <bits/stdc++.h>
using namespace std;
// 你要背的单词
string u5[15][5] =
{
//...填在这里
};
int main()
{
srand(time(0));
while (1)
{
int i = rand() % 10;
int j = rand() % 2;
cout << u5[i][j] << ":";
string ans;
cin >> ans;
if (ans == u5[i][!j])cout << "True\n\n";
else{
cout << "False\n\n";
cout<<"True answer is "<<u5[i][!j]<<"\n\n";
}
}
return 0;
}
可重复练习
#include <bits/stdc++.h>
#include <windows.h>
using namespace std;
// 你要背的单词
string u5[105][5] =
{
//...填在这里
};
int MyRand(int a, int b)
{
return rand() % (b - a + 1) + a;
}
int main()
{
srand(time(0));
short lsp, rsp;
cout << "输出练习范围:";
cin >> lsp >> rsp;
--lsp; --rsp;
cout << "练习范围:" << u5[lsp][0] << " ~ " << u5[rsp][0] << "\n";
Sleep(1000); system("cls");
queue <int> q;
for (int i = lsp; i <= rsp; ++i)
{
q.push(i);
}
int at = 0, tt = 0;
while (!q.empty())
{
int i = q.front();
q.pop();
int j = rand() % 2;
cout << u5[i][j] << ":";
string ans;
cin >> ans;
if (ans != u5[i][!j])
{
++tt;
cout << "False\n";
cout << "True answer is " << u5[i][!j] << "\n\n";
q.push(i);
Sleep(2500);
}
else cout << "True\n\n";
Sleep(500);
system("cls");
++at;
}
int ACt = ((at - tt) * 1.0 / at) * 100;
cout << "练习完成!正确率:" << ACt << " %\n";
if (ACt <= 70)
{
cout << "你完了,等着重听吧";
cout << R"(
+----------+
|
|
|---------+
|
|
|
|
)";
}
else
{
cout << "太好了不用重听";
cout << R"(
+
/ \
/ \
/ \
/ \
/ \
/-----------\
/ \
/ \
)";
}
return 0;
}
85
string u5[105][5] =
{
{"exchange", "交流"},
{"nervous", "担忧的"},
{"grateful", "感激的"},
{"chopstick", "筷子"},
{"tour", "旅行"},
{"tai_chi", "太极"},
{"yet", "尚"},
{"independent", "自主的"},
{"content", "内容"},
{"feeling", "感觉"},
{"shock", "震惊"},
{"foreign", "外国的"},
{"confused", "糊涂的"},
{"anxious", "忧虑的"},
{"phase", "阶段"},
{"honeymoon", "蜜月"},
{"unfamiliar", "陌生的"},
{"homesick", "想家的"},
{"lonely", "孤独的"},
{"deal", "应对"},
{"expect", "期待"},
{"situation", "情况"},
{"accept", "支持"},
{"adaptation", "适应"},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""}
};
86
string u5[105][5] =
{
{"author", "作者"},
{"remains", "遗迹"},
{"locate", "把……安置在"},
{"soldier", "士兵"},
{"captain", "首领"},
{"empty", "空的"},
{"victory", "胜利"},
{"joke", "笑话"},
{"midnight", "午夜"},
{"except", "除……之外"},
{"hide", "藏"},
{"secretly", "秘密的"},
{"enter", "进入"},
{"succeed", "成功"},
{"trick", "诡计"},
{"fight", "战斗"},
{"beat", "打败"},
{"pretend", "假装"},
{"enemy", "敌人"},
{"fail", "失败"},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
};
八下 U1
string u5[105][5] =
{
{"elderly", "上了年纪的"},
{"offer", "主动提出"},
{"serious", "严重的"},
{"disease", "病"},
{"cancer", "癌"},
{"spirits", "情绪"},
{"pain", "痛苦"},
{"belong", "适应"},
{"spare", "空闲"},
{"volunteer", "自愿做"},
{"joy", "高兴"},
{"lose", "丧失"},
{"raise", "筹募"},
{"pound", "英镑"},
{"structure", "结构"},
{"permission", "准许"},
{"arrange", "排列"},
{"donate", "捐赠"},
{"mighty", "巨大的"},
{"pleasant", "令人愉快的"},
{"ease", "减轻"},
{"ache", "疼痛"},
{"voluntary_work", "志愿工作"},
{"disabled_people", "残障人士"},
{"look_after", "照顾"},
{"suffer_from", "遭受"},
{"cheer_somebody_up", "(使)高兴起来"},
{"raise_one's_spirits'", "使某人振奋"},
{"in_low_spirits", "情绪低落"},
{"in_order_to", "目的是"},
{"in_need", "在危难中"},
{"flower_arranging", "插花"},
{"tidy_up", "收拾"},
{"in_vain", "枉费心机"}
};
0 条评论
目前还没有评论...