Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
0いいね No views回再生

Assign the size of vector sensorReadings to currentSize.

Assign the size of vector sensorReadings to currentSize.

#include iostream
#include vector
using namespace std;

int main() {
vector int sensorReadings(4);
int currentSize = 0;

sensorReadings.resize(10);

/* Your solution goes here */

cout ""Number of elements: "" currentSize endl;

return 0;
}

コメント