0
Hi { I am a new user }. Whenever I run a code it shows error in main(). I am not able to find why can anybody help me. Please.
3 Answers
+ 3
Hi!
Please link your code here So we can help
0
May be the problem is that in your cpp code u using void main that's why becz implicit main is removed from c99 as long ago and cpp is more strict than c . So its giving you error . You can use int main ()
Or like this
auto main()-> int
.....
.... There are many ways to write main function its depend on you and compilers
in msvc like this
_tmain(.......)
0
Please tag your thread properly
https://code.sololearn.com/W3uiji9X28C1/?ref=app