Re: [C++] Tut by m3m for beginners
NetBeans? Isn't that for JAVA? :eh:
Re: [C++] Tut by m3m for beginners
Re: [C++] Tut by m3m for beginners
I still pick dev c++ over anything O.o. Personally i use system("pause"); but ive heard thats not a good thing, maybe ill try usin cin.get().
Re: [C++] Tut by m3m for beginners
Quote:
Originally Posted by
Shawnmb
I would also add that the cin.get(); part really depends on what compiler/studio/etc you're using. I'm on NetBeans 5.5 right now and it isn't needed for basic programs, the pause is included.
Code:
#include <iostream>
main(int argc, char** argv) {
std::cout << "Hello World!\n";
return 0;
}
Outputs:
Code:
Hello World!
[Press Enter to close window]
I'm still learning, so bash this post if necessary.
I use NETBEANS IDE for Java. I like the widgets system implimented. However, never used it for C/C++. Always coded in Dev-C++. Maybe an odd few times in VS2005.