Discussion in 'C, C++, C#' started by rajuljain, Jun 25, 2012.
how mprove my logic in C++?
Study a bit of math, practice some equations and when you get back to programming language, you'll see how your brain will work in a different way. Believe me, this works as magic.
Programming language is nothing more than equations of math, lots of them.
Cannot agree any more.
I also suggest you also invest in a data structures & algorithms book. there are plenty on amazon.
Read "Numerical Recipes in C/C++", its a book of choice for engineers worldwide.
Their C/C++ style sucks, but the logic is there.
Also C For Scientists and Engineers is an excellent book and it's still used in colleges as an introductory text.
It really depends on your current knowledge of the language. While first learning C/C++ my logic was terrible. I found that by merely commenting my code properly and keeping to a certain standard I could maintain a "clear head" while doing some crazy stuff (well, not too crazy. Just managing tons of threads OTF).
If you're new to the language you should check out 3DBuzz's video tutorials (note: they're aimed at absolute beginners so if you're past the "how do i loadlibrary()?!?!?" stage then I wouldn't bother if I were you.
If you're interested in reaching out to ask some questions within dedicated cpp communities, check out reddit's /r/cpp and /r/cpp_questions. #cpp on freenode is also another great resource with some pretty cool dudes that idle there.
go here: meltb4se.k0m / b00ks / Computer%20Science/
replace 4 with a and 0 with o and k with c and get rid of spaces
Couldn't you make it more complicated...
and of course the website doesn't exist.
Well,you cannot LEARN logic.You need to develop it.
And I know best technique for it.Practice.
it's books not book
Yes, it's books not book
Sorry I can't post proper links yet.
It works fine
yes..they improve the logic for sure..you have to some some logical programs from books then you will have some idea hoe to do it.
I you should forget everything and try to practice as much as you can and do it regularly basis. And in the mean time study more and more about math and logic. Then you will be able to do work with c++ easily.
I think You need to study study and study !!! Than You increase Your logic, just download some ebooks, I recommend C++ Primier Plus 6 (I think this ) . Gl.
Less logic per-se but design patterns are critical for OOP software design. I don't read too much into the hype of OOP to be honest but having a very clear distiniction of what each part of your program is supposed to do and how they interact with each other will go a long ways towards clearing your head.
You might take a look at this book:
Design Patterns: Elements of Reusable Object-Oriented Software
and I would also reccomend that everyone read The Art of Unix Programming whether you code in *nix evironments or not, because a lot of the problems you are facing have likely already been solved by someone much smarter than you. Its also a pretty good history lesson about the roots of modern computing in big-iron UNIX from the 60s.
To build programming skills you need to have good idea about mathematics and logic. You can use the "Teach yourself C++" book to clear your knowledge about this programming language.
Read Let Us C. This is the best book.
All you've to do is create more utility programs using c++ and solve more and more object oriented problems to understand the depth of the language features. Learning c++ is easy but mastering it is very difficult and you gain only by experience.
I used Beginning C by Horton to learn C
Separate names with a comma.