improving c/c++ skills and solving skills [closed] - c++

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I can say I am an intermediate programmer in C/C++. I am trying to find a website (documents; anything) which hosts good puzzles (or similar) for C and C++. My objective is to experience mind teasers kind of things for C and C++. And certainly not any interview kind of questions. I would want to improve my techniques in C/C++, during a situation to solve a problem, or during implementation of an algorithm, dealing with specific logics; etc.
Second, I am also looking into new, simple and innovative problems (just problems, to improve problem solving) which can be practiced in C and C++. For example, implementing shift rotate functionality (this is very basic, but will teach you in-depth bit handling), and to a advanced level like graphs; etc.
Basically, to address I am expecting one, to improve my C/C++ skills, and two, to improve problem solving skills using C/C++.

Related

Comparison of Random Decision Forest implementation in C++ [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am currently converting some R code into C++ code, and I need a “good” C++ Random Decision Forest implementation.
So far I found three big implementation (tmva, alglib and openCv), some “small/outdated” ones (like librf), and I need to choose one of them:
Do you guys have some good/bad experiences and/or some recommendations about those libraries (or maybe some other ones)? For example, the simplicity of use, the portability, the memory use, the speed, the readability of the error messages, the bugs(?), the comments about choices in the implementation, etc.
If you want to know, I am working with Visual Studio but my code is (and should stay) compatible with Linux. The speed and memory usage are very important for me since I will compute and keep in memory a large amount of random Forests. The code that I am developing is a machine learning algorithm for symbolic time sequences.
Thank you in advance,

Is "Accelerated C++: Practical Programming by Example" still current? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to learn C++. Because I like the book's concept and I can already program in several other languages I thought "Accelerated C++: Practical Programming by Example" would be the best choice. However, the book is over 12 years old. Is it still a good idea to pick it up or would I be missing too many important new features of the language?
It remains one of the best books around. It's based on C++98, but C++03 is more bug fixes than anything else, and most programmers can't use anything more recent anyway. As with most languages that have been around for awhile, recent evolutions can be thought of as either fine tuning, or additional features to handle new issues (like threading).
I read some C++ books, and i recomend C++ Primer.
The way the author teaches the language is very insterestig.
Besides its a "heavy" book, you can learn more deeply the language and how to avoid errors.

Recently publicized modern C derivative? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I remember reading in Hacker News about a modern C-like language with pretty nifty features, but I can't find it again. The name I can evoke is "C9", but that's not yielding search results.
It was pretty much a superset of C, with multi-pass compilation (and thus, no need for headers and forward declarations) and namespaces, as well as dynamic array syntax and string handling sugar.
I'm about to embark in a low-level project, and this would be a fantastic opportunity to try it out. My C is a bit rusty, I'm afraid, after years of python and coffeescript, so it would surely come in very handy.
Any hope somebody in SO has heard about it, or a similar project?
I think I read the same article. It sounds like C2, including the multi-pass parsing.

Objective-C vs C++ for applied math algorithms [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm an engineering student and I have a couple classes about different complex math problems and how to solve them exactly and numerically (approximation) using various algorithms. We have focused more on the actual math and the ideas of the solutions than implementations of them. The most of these that I have seen are written in C++. For some reason I don't really like C++ and I have fallen completely in love with Objective-C. (I own an apple computer)
Is it to much of a difference in efficiency between these to languages? I'm not planning on solving 40.000x40.000 navier-stokes equation systems, just some little/little-medium instances of practical problems. Most off the problems of interest are P-problems and for the NP-Hard good heuristics would be fine.
I am obligated to learn yet another programming language, or should I just go with Objective-C, a language that I'm very familiar with nowadays.
For Math you have another languages like:
R for statistic
Octave for matrices and vectors
Maxima as CAS
SciPy for numeric computations
The God of all mathematics computations FORTRAN
Use right tool for right thing, and focus on idea not on algorithm (as you said).

Should i learn C++ or ASM? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
I'm confused should i learn C++ or ASM?
I'm just a hobbyist so no big deal but i need some advise.
thank you
Very Subjective but I would say learn C. Its the most basic language you will ever need to know. (If you know it you can grasp how assembly works without learning it). Then build on it and learn C++. If you don't know C (pointers, memory management, simple stack/function usage), I would learn it first before piling on C++ (with classes, inheritance, overloads, more complicated memory management).
Thats just my opinion though...
If you're a hobbyist, anything that seems interesting and fun to you will work.
The real question is : what software do you want to make? The project is the important thing.
Then the constraints relative to this kind of software will drive you to make your choice.
C++, ASM is very interesting, but nothing you should nowadays use as your primary language.
Are you a hardware hobbyist? ASM
Are you a game or other software-specific hobbyist? C++
Are you a My Little Pony hobbyist? PonyProg