我一直迷失在这个专注于使用结构数组的项目上.我们刚刚了解了它们.我想在完成一些实验室并查看相关问题后,我会了解它的基础知识:
StackOverflow
麻烦传递一个结构
数组指针结构数组
如何初始化结构数组?
结构中
的数组在C++中创建结构数组如何在C++
中初始化结构数组?
Cplusplus
声明结构
数组结构数组C++程序帮助
问题与动态结构数组
我真的很感激任何人的建议或帮助.我们被允许使用这个旧实验室(它是在我们完成这个实验后立即分配的,现在我们已经有3个实验室)作为起点:
动态数组
// Assignment : Lab
// File : Lab.cpp
// Description : This program will take a text file called words.txt and then swap
// its individual (word)strings. Finally, it will calculate the vowels, consonants,
// digits, and special characters in each string.
#include <iostream>
#include <fstream>
#include <iomanip>
#include <cstdlib>
using namespace std;
bool isvowel (char aletter);
// …Run Code Online (Sandbox Code Playgroud)