Good point!Originally posted by Shakti
Well I only have one suggestion and that is, never use code examples that uses things you havent covered yet...
Good point!Originally posted by Shakti
Well I only have one suggestion and that is, never use code examples that uses things you havent covered yet...
[R]evolution!
Programming related articles, downloads, demos
Hi,
I try do give as many examples as possible, and use the newest gcc and visual c++ 6.0. to compile.
Lately I covered some compiler matters also, especially the preprocessing phase, presenting the preprocessor directives as well. Here I presented a method for preventing recursive inclusion.
I think it is worth it to show some editor-related trickeries as well, which make our lives easier.
That's why an extra chapter discusses regular expressions.
Many don't know what is it good for, or how can it be used.
It's not C++ related, indeed, but it might be of help.
What do you think, guys?
[R]evolution!
Programming related articles, downloads, demos
Do not use Visual C++ 6.0 it sucks when it comes to handling ANSI standard. Use instead Visual C++.net 2003.
Hello Mikro!
I was speaking about the editor, regarding regular expressions.Originally posted by Mikro
Do not use Visual C++ 6.0 it sucks when it comes to handling ANSI standard. Use instead Visual C++.net 2003.
Besides, Visual C++ 6.0 is still the mostly used compiler, don't you think?
About ANSI conformity - that's why I use gcc
My question is whether it is worth it to include a chapter about regular expressions in a C++ book?
Last edited by Carlos; 11-19-2003 at 03:26 AM.
[R]evolution!
Programming related articles, downloads, demos
Carlos,
I'm a newbie myself, and i find it difficult to use databases.
What is a programm today without manipulation off a database
or file.
In most books there is just a little part covering databases.
And i think that is a little strange for an topic that much important.
Let us know when you book is ready, maybe we can order it by
post.
Sorry for the bad english and goodluck with your book.
Greetings Gerard
Hi Gerard,
Database is a separate, huge topic, and my book is about C++.Originally posted by Gerard
In most books there is just a little part covering databases.
And i think that is a little strange for an topic that much important.
The purpose of my book is to explain through examples as much as possible details of this great language, especially those parts which might be harder to understand.
It is a ground-up C++ book and more, as I try to cover problems met in the real life by me or my colleagues.
Advanced themes like exception handling, pointer validation, memory leak detection, crash dumping, etc are also discussed.
Well, to be honest, my book is planned to be published in autumn 2004 in Hungary. In case it will be a bestseller (can a programming book ever become a bestseller??), the publisher might eventually translate it.Originally posted by Gerard
Let us know when you book is ready, maybe we can order it by
post.
Anyway, thanks for your interest!
Last edited by Carlos; 11-19-2003 at 05:40 AM.
[R]evolution!
Programming related articles, downloads, demos
So your target audience are those with some C++ knowledge, but generally are clueless beyond the most trivial of programs?My primary goal is to discuss some interesting parts of C++, and a whole chapter is dedicated to Error and exception handling.
The book should help a newbie to easily understand e.g. pointers and inheritance, but I'm trying to dig deeper
My sugestion is to include an open source or free compiler on disk with the book. New people can't afford or are not willing to shell out for an expensive IDE w/o knowing if they are going to fully persue this line of programming. Second I suggest putting thought into making your examples fun, infromative, unique and for the most part simple. Having read several beginners books I have come across to many repeated examples that are just boring. Personally I find the technique of OOP is difficult to master when confronted with things like windows C OOP and more advanced API's like Direct Draw that use little C++ OOP. I am not saying cover these API's just give a clear explanation and many examples of good OOP practices and implementation examples. I still need to brush up on this and only have about a year of experience.
Also Data Structures can be a completely boring topic when it comes to the STL but I think you can make it fun. I have yet to see it done though. Also don't get to far off on the fringe, for instance including chapters like CGI in C++ as deitel does is catering to a specific audience and I found myself just wanting to skip that chapter. Good luck with the book I hope to read it some day.
Not quite. Please #define what's trivial when speaking of a complex issue, such as the C++ programming language, which is still subject to discussions, even between experts (why are "Bug of the day"-alike articles still the most popular ones?).Originally posted by laserlight
So your target audience are those with some C++ knowledge, but generally are clueless beyond the most trivial of programs?
I'm trying to present the basics, and give hints, clues, for interesting problems.
Working with C++ professionally for more then three years, I must admit that I still find really obscure problems, which are neither trivial nor easy to solve...
[R]evolution!
Programming related articles, downloads, demos
I would hope gcc is the most widely used compiler, in all its many flavours and platforms.Originally posted by Carlos
Besides, Visual C++ 6.0 is still the mostly used compiler, don't you think?
[/B]
cygwin, mingw, linux, unix, arm, sparc, etc.
MSVC is perhaps the most widely used compiler/IDE combo.
I fear not, Brian. It might be the most often invoked one (few people compile their own Windows apps), but speaking in count of large projects...
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
im an intermediate programmer (hopefully ) and i think i maybe fall under the target audience for your book
i think recursion would be a good subject to hit on, along with linked lists of course, and classes are still a little blurry to me (and most of my peers it seems)... maybe these would be areas to discuss
"uh uh uh, you didn't say the magic word"
-Jurassic Park
300 pages aren't much though...
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
A book...
I'm no expert, just an amateur and so, I would suggest that, if you want to make it an interesting reading experience for those like me, you should put in your it things that aren't covered by other books, details about the language that most authors just don't think useful to tell.
Not only pure practical cases, otherwise, it would not be amusing. ^^
Often, there's a reason that they're not told (i.e. nobody could care less)details about the language that most authors just don't think useful to tell.
**EDIT**
I HAD a constructive suggestion, but then I realized that it was already included in your first post
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.