Can somebody halp me with my assigment?
I have to make a program that will save my favorite phone brands. I have to use the pointers and structures.
Here is a struct you could you.
1 2 3 4
|
struct phoneBrand
{
std::string name;
};
|
do you want to save the name and phone number into the file.
well start by defining application entry point:
1 2 3 4
|
int main()
{
return 0;
}
|
create a struct which will store char pointers:
1 2 3 4
|
struct
{
const char* x[100];
};
|
Topic archived. No new replies allowed.