Merry Christmas Everybody,
Can anybody recommend a good C++ .net book?
Thanks
RocketMan
Merry Christmas Everybody,
Can anybody recommend a good C++ .net book?
Thanks
RocketMan
You mean that we can make real windows programs (not console) without C++ .net?
Of course you can. All thousands of applications (including) games out there are native C++ and not .NET.
I don't know why anyone would think of such an absurd thing. Console apps are mostly for beginners and for CLI-type apps.
Yes, e.g., with the Windows API.
You may get spanked by a couple of people here for saying that, you knowConsole apps are just for beginners.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Wow thats so cool , i thought we were condemned to use C++ .net.
The reason maybe that every beginner thinks that way is that no c++ book mention it.
They all speak of c++.net when talking about windows programming.
And what compiler should we use for it?
In the book where i learned c++, it said that Dev-c++ not so good for it.
Last edited by Ducky; 12-27-2007 at 11:23 AM.
hey I am new to C++ but I use dev-C++ and it works great and oe thing I lov about it is that it automaticaly compiles it to a executable.(they may all do that but I dont know sry) I have used other languages where the compiler makes you like rename and all this other jusnk just to make an executable. But with dev-C++ it is just as simple as making the program work and compiling it.
if you are really interested in using a cross-platform compiler, I would suggest code::blocks, this compiler also comes with nightly builds.
IIRC dev-cpp isnt supported anymore. And if your using dev-cpp mainly for the devpaks, you can also use those with code::blocks.
http://codeblocks.org
oops...
code::blocks is a cross platform IDE, it supports GNU GCC (MinGW/Cygwin), MS Visual C++ Free Toolkit 2003, Borland's C++ Compiler 5.5, DigitalMars Free Compiler., OpenWatcom and Small Device C Compiler (SDCC).
Last edited by eaane74; 12-27-2007 at 12:24 PM.
What's it? Windows programming with otherwise standard C++, or Windows programming with C++/CLI?And what compiler should we use for it?
In the book where i learned c++, it said that Dev-c++ not so good for it.
And Dev-C++ is not a C++ compilerAll C++ compilers do that.
Code::Blocks is not a compiler eitherif you are really interested in using a cross-platform compiler, I would suggest code::blocks, this compiler also comes with nightly builds.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Board didn't save my edit :/
It should be
"Console apps are mostly for beginners and for CLI-type apps."
Beginners do console apps simply because it hides the complexity of doing windowed applications. Beginners concentrate mostly on the language before moving on to making real applications.
Grrr. Same again.
Board didn't save my quick edit. Have to do full edit to submit the edit.
So Elysia, if you have a complicated idea you want to test out, do you throw it straight into your main application, or perhaps start a separate (and simple) console project to get an understanding of exactly how it works (and debug it).
I know I do the latter.
GUI isn't further up the "evolutionary tree" of programming. It's just another API.
Plus there are plenty of other GUI interfaces to play with, not just win32 or .net.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Of course, the later. I usually do a simple console app.
Agreed. I'm not implying they are the only either.GUI isn't further up the "evolutionary tree" of programming. It's just another API.
Plus there are plenty of other GUI interfaces to play with, not just win32 or .net.
But GUI if "further up the 'evolutionary tree'" in that it isn't easy. There are a lot of things to understand, there are platform issues, the code rarely works the way you want it, requires a lot of time to investigate, debug, and so on.
Usually, books deal with console apps to learn the actual language before starting into the world of GUI, which is a little more complicated. The idea with any language is to learn it properly first and then move on to making real world applications.
Just as you do, when I want to try something, I usually use a new console project or an existing project that suits my needs so I don't have to waste time trying to fix things that aren't related to what I want to do, or try.
Visual Studio is a virtual standard when writing Windows software. Here's the free version: http://www.microsoft.com/express/download/
@Laserlight
"What's it? Windows programming with otherwise standard C++, or Windows programming with C++/CLI?"
Im sorry i dont even know what youre talking about.
How many c++ programming exist?
I thought there were two, either console or windows application.
Now im completely confused.
@cpjust
I have Visual Studio but i thought it was c++.net.
Last edited by Ducky; 12-28-2007 at 01:06 AM.