I want to learn c++ and downloaded a gcc compiler. but the compiler isnt functioning. when i click on the application window, a black screen just flashes with the text:"c++.exe:no input files" What could be wrong?what do I do about it?
hey thanks a lot!I managed to write a few programs using code::blocks but I still didnt get how to do it without using an IDE.:(
The simplest example to compile C++ code would be:
g++ helloworld.cpp -o helloworld.exe
Since you are taking the very first steps, perhaps you'd be better off sticking with the IDE, letting it handle the compiler/linker options and such. There are quite a few of them, see the GCC documentation (link above).
Also make sure the compiler is in the path of whatever cmd console you are using. Under windows (I assume, since you have C++.exe) type "PATH = %PATH%;C:\MinGW\bin" (change the values for your system) which tacks that directory on to the existing path
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...