prog.cpp:12:13: error: too many decimal points in number
struct tid1[0.0.0],
^
prog.cpp:13:13: error: too many decimal points in number
tid2[0.0.0],
^
prog.cpp:3:1: error: ‘Struct’ does not name a type
Struct klokke
^
prog.cpp:7:11: error: uninitialized const ‘minmin’ [-fpermissive]
const int minmin,maxmin,mintimer,maxtimer,
^
prog.cpp:7:18: error: uninitialized const ‘maxmin’ [-fpermissive]
const int minmin,maxmin,mintimer,maxtimer,
^
prog.cpp:7:25: error: uninitialized const ‘mintimer’ [-fpermissive]
const int minmin,maxmin,mintimer,maxtimer,
^
prog.cpp:7:34: error: uninitialized const ‘maxtimer’ [-fpermissive]
const int minmin,maxmin,mintimer,maxtimer,
^
prog.cpp:8:1: error: uninitialized const ‘minsek’ [-fpermissive]
minsek,maxsek;
^
prog.cpp:8:8: error: uninitialized const ‘maxsek’ [-fpermissive]
minsek,maxsek;
^
prog.cpp:10:5: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
int main
^
prog.cpp:12:1: error: expected primary-expression before ‘struct’
struct tid1[0.0.0],
^
prog.cpp:12:1: error: expected ‘}’ before ‘struct’
prog.cpp:12:1: error: expected ‘,’ or ‘;’ before ‘struct’
prog.cpp:18:14: error: expected initializer before ‘<<’ token
std::cout << "klokke 1 er " << tid1
^
prog.cpp:20:4: error: ‘cin’ in namespace ‘std’ does not name a type
std::cin >> valg
^
prog.cpp:25:5: error: ‘temp’ does not name a type
temp=tid1
^
prog.cpp:48:1: error: expected unqualified-id before ‘return’
return 0;
^
prog.cpp:50:1: error: expected declaration before ‘}’ token
}
^