+ 1

i don't want to use int main_return0 i want to use void main but when i change the code it doesn't work ..the question is why!!

why doesn't it work

30th May 2017, 4:09 PM
Ashwaq Shanaa
Ashwaq Shanaa - avatar
5 odpowiedzi
+ 12
I know in C# it is void main, but im c++ as Luka said it is int main
30th May 2017, 4:25 PM
C.E.
C.E. - avatar
+ 1
ooh I didn't know that thanks ...my Professor he just gave us void main
30th May 2017, 4:17 PM
Ashwaq Shanaa
Ashwaq Shanaa - avatar
0
if you need return any value the void main is error you must using the data type. in same the type
2nd Jun 2017, 10:38 PM
‎عزالدين عبده سعيد عبدالله‎
‎عزالدين عبده سعيد عبدالله‎ - avatar
0
int main
4th Jun 2017, 11:43 AM
Rohail Agneshius
Rohail Agneshius - avatar