W3Schools Tryit Editor
[
フレーム
]
Run ❯
Get your
own
website
Go to Spaces
Ctrl+Alt+P
#include
#include
#include
using namespace std; int main() { // Create a vector called numbers that will store integers vector
numbers = {1, 7, 3, 5, 9, 2}; // Search for the number 3 auto it = find(numbers.begin(), numbers.end(), 3); // Check if the number 3 was found if (it != numbers.end()) { cout << "The number 3 was found!" << "\n"; } else { cout << "The number 3 was not found." << "\n"; } return 0; }
The number 3 was found!
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル