
▲ 2 r/cpp_questions
How to fix errors LNK2005 and LNK1169 in Visual Studio?
Hi! I’m a beginner programmer learning C++ and getting to grips with Visual Studio 2026. For some reason I can’t run the console because of two errors: LNK2005 and LNK1169 (or perhaps there are others, but I’m not sure). I’ve attached below the error messages I’m getting step by step (links to imgbb). I’ve asked some AI chatbots for advice on how to solve this problem, but nothing’s working.
Firstfoto, Secondfoto, Thirdfoto
Thanks in advance for your help!
u/Kawafilya_reptiloid — 2 days ago