|
i keep getting syntax errors and i think one was a connection error with the functions but here is what i have now. I tried to fix it some I might have made it worse.
Compiler: Default compiler
Compiler: Default compiler
Executing g++.exe...
g++.exe "G:\grades\grades.cpp" -o "G:\grades\grades.exe" -I"C:\Dev-Cpp\include\c++\3.3.1" -I"C:\Dev-Cpp\include\c++\3.3.1\mingw32" -I"C:\Dev-Cpp\include\c++\3.3.1\backward" -I"C:\Dev-Cpp\lib\gcc-lib\mingw32\3.3.1\include" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
G:/grades/grades.cpp:83: error: syntax error before `if'
G:/grades/grades.cpp:87: error: syntax error before `>>' token
G:/grades/grades.cpp:105: error: `totalscore' was not declared in this scope
G:/grades/grades.cpp:105: error: ISO C++ forbids declaration of `calculatescore
' with no type
G:/grades/grades.cpp:105: error: `int calculatescore' redeclared as different
kind of symbol
G:/grades/grades.cpp:75: error: previous declaration of `void
calculatescore(double)'
G:/grades/grades.cpp:106: error: ISO C++ forbids declaration of `average' with
no type
G:/grades/grades.cpp:106: error: `totalscore' was not declared in this scope
G:/grades/grades.cpp:107: error: syntax error before `{' token
Execution terminated
|