AbigailBurstein (0)

Write a program, containing 3 functions that will ask the user for his or her email address and print out the
● The user's name or ID
● The user's character site type. Display the specific name for all 3-character site types.

I am at lost!

You are viewing a single comment. View All
DynamicSquid (1231)

Read the error messages

DynamicSquid (1231)


  1. main.cpp:74:45

main.cpp is the file name. That means the error in the in that file, not another one.

  1. main.cpp:74:45

74 is the line number. Ignore the 45. Just pay attention to the first number.

  1. error: use of undeclared identifier ID

So in the main.cpp file on line 74, ID is undeclared. That means the compiler doesn't know what it is.

  1. Also, use NULL instead of nullptr.