Intro:
I just started learning C++ a few days ago, and have found the tutorials to be of great help. As a way to test my knowledge of what I've learned so far, I've attempted to create a program that will take user input and output html to a file.
I've spent a lot of time searching on google, through many other forums and have found many references to my problem, but either the answere's given were to vague, or didn't seem to fix my situation.
Error 1:
Circular Menu <- Menu.o dependency dropped.
D:\Documents and Settings\Howie17\Desktop\C++ Fun! \Poker_HTML\Makefile.win [Build Error] [PokerStats4Web. exe] Error 1
I'll gladly post what little code I've written so far if needed, but as a way to troubleshoot, I commented out all the extra code and still this error persists, which leads me to believe its a linking problem or I forgot to add a #include <somefile> unless those are interchangeably the same. If its a linking problem please be specefic in answering as I'm pretty clueless about this stuff.
Error 2:
[Linker error] undefined reference to `WinMain@16'
ld returned 1 exit status
**EDIT: Fixed! I had int main() { capitalized to int Main() {
-woops (thanks again ILoveVectors)
Additional Info:
I'm using Bloodshed's Dev-C++ Version 4.9.9.2.
Complete error log for error #1:
Compiler: Default compiler
Building Makefile: "D:\Documents and Settings\Howie17\Desktop\C++ Fun!\Poker_HTML\Makefile. win"
Executing make...
make.exe -f "D:\Documents and Settings\Howie17\Desktop\C++ Fun!\Poker_HTML\Makefile. win" Menu.o
make.exe: Circular Menu <- Menu.o dependency dropped.
g++.exe -c Menu -o Menu.o -I"C:/Dev-Cpp/lib/gcc/mingw32/ 3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" - I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/ include/c++/3.4.2" -I"C:/Dev-Cpp/include"
g++.exe: Menu: linker input file unused because linking not done
Execution terminated