In file included from /in/driver/driver.cpp:1:0:
/in/ex2.h:23:13: error: variable or field 'log_in' declared void
void log_in(testName, testPassword, user){
^~~~~~~~
/in/ex2.h:23:13: error: 'testName' was not declared in this scope
/in/ex2.h:23:13: note: suggested alternative: 'tempnam'
void log_in(testName, testPassword, user){
^~~~~~~~
tempnam
/in/ex2.h:23:23: error: 'testPassword' was not declared in this scope
void log_in(testName, testPassword, user){
^~~~~~~~~~~~
/in/ex2.h:23:37: error: 'user' was not declared in this scope
void log_in(testName, testPassword, user){
^~~~
/in/ex2.h:23:37: note: suggested alternative: 'User'
void log_in(testName, testPassword, user){
^~~~
User
/in/ex2.h:42:15: error: variable or field 'add_blog' declared void
void add_blog(title, content, user){
^~~~~
/in/ex2.h:42:15: error: 'title' was not declared in this scope
/in/ex2.h:42:15: note: suggested alternative: 'time'
void add_blog(title, content, user){
^~~~~
time
/in/ex2.h:42:22: error: 'content' was not declared in this scope
void add_blog(title, content, user){
^~~~~~~
/in/ex2.h:42:31: error: 'user' was not declared in this scope
void add_blog(title, content, user){
^~~~
/in/ex2.h:42:31: note: suggested alternative: 'User'
void add_blog(title, content, user){
^~~~
User
/in/ex2.h:51:15: error: 'user' was not declared in this scope
int frequency(user, word){
^~~~
/in/ex2.h:51:15: note: suggested alternative: 'User'
int frequency(user, word){
^~~~
User
/in/ex2.h:51:21: error: 'word' was not declared in this scope
int frequency(user, word){
^~~~
/in/ex2.h:51:21: note: suggested alternative: 'void'
int frequency(user, word){
^~~~
void
/in/ex2.h:51:25: error: expression list treated as compound expression in initializer [-fpermissive]
int frequency(user, word){
^
/in/driver/driver.cpp: In function 'int main(int, char**)':
/in/driver/driver.cpp:69:5: error: 'log_in' was not declared in this scope
log_in(testName, testPassword, user);
^~~~~~
/in/driver/driver.cpp:69:5: note: suggested alternative: 'blog_list'
log_in(testName, testPassword, user);
^~~~~~
blog_list
/in/driver/driver.cpp:83:5: error: 'add_blog' was not declared in this scope
add_blog(title, content, user);
^~~~~~~~
/in/driver/driver.cpp:83:5: note: suggested alternative: 'my_add_blog'
add_blog(title, content, user);
^~~~~~~~
my_add_blog
/in/driver/driver.cpp:96:29: error: 'frequency' cannot be used as a function
if (frequency(user, word) == my_frequency(user, word))
^