Im useing dev C++ and im currently trying to teach myself c++ with this websites help. I try useing the sample codes and i get multiple definition of 'main' errors...i copy and paste and ive typed it out...any help on this?
Im useing dev C++ and im currently trying to teach myself c++ with this websites help. I try useing the sample codes and i get multiple definition of 'main' errors...i copy and paste and ive typed it out...any help on this?
nevermind
Many tutorials dont give the "complete" code,for example if they want to teach you loops,they will just write:....i copy and paste...
If you copy-paste these kind of things,obviously you will get errors.So include all the necessary header files,and paste the code in int main()Code:for(i=0;i<10;i++) { i+=1; }