McLEMUR Posted March 1, 2015 Share Posted March 1, 2015 (edited) Hi, I decided to switch over to another mainstream language recently, Visual C++. AutoIt is my first language, besides HTML, and I have been using it for 4 years. But even after completing 3/4 of tutorials in cplusplus.com I'm still lost when I try to recreate same of my own programs in C, even the most basic aspects. So, the question is, How hard was it for you to learn C++, comparatively to AutoIt? And, where can I possibly find a good help file for C++? (like the .chm of AutoIt) I realize that C is vastly different from AutoIt, but are there any sites that help to smooth the transition? p.s. This is a longterm project, so I don't need sites like "C++ in one month", I need something just to keep me moving in the direction. Btw my compiler for C is Visual Studio 2013, and I also have CodeBlocks. Edited March 1, 2015 by McLEMUR The loneliness is when even SPAM does not come... Link to comment Share on other sites More sharing options...
Popular Post RTFC Posted March 1, 2015 Popular Post Share Posted March 1, 2015 (edited) Hi McLEMUR, A decent starting point with lots of simple examples is http://www.cplusplus.com/doc/tutorial/, or try https://www.learncpp.com/ Two other reference sites I've found useful in the past are http://en.cppreference.com/w/cpp and http://www.java2s.com/Tutorial/Cpp/CatalogCpp.htm But coming from AutoIt, diving into C++ will be an uphill struggle (if you'll forgive me the metaphor mixing ). There is a lot of basic functionality that you'd expect any sophisticated language to have (*cough* garbage collection *cough*), that you'll either have to add yourself or find a good library for. An immense help for me has been the (free!) Boost libraries, see http://www.boost.org/, (and tutorials I found here, although I didn't use these much myself). Boost has really saved me acres of time, and it's quite intuitive to use. You'll need plenty of perseverance though, and think of your C++ compiler as simultaneously retarded and autistic. Every typo will likely crash your code, and the error messages you get may have nothing whatsoever to do with what actually went wrong, or be so generic that they don't help you. Of course, there's always http://stackoverflow.com/ if when you get stuck, but in my experience, some C++ forum members take on some of the same attributes as C++ compilers, i.e., being unforgiving towards beginners. Just google "I hate C++" to get an idea of what people run up against in your position. On second thought, maybe you'd better not, to remain motivated. Personally, I use C++ only for tasks that require speed and a reasonably high-level of complexity (CUDA interfacing in parallel computing, matrix computing with Eigen), but user-friendly it ain't, nor will it ever be. Can't really tell you much about the transition from AutoIt, because I started from the other end (Assembly), so it was more a question of mapping the concepts used there onto the C++ framework. I fear that coming from AutoIt, it'll be much harder. As far as compilers are concerned, CodeBlocks is much easier to start with, but at some point you'll run into situations where you'll need the extra control of literally hundreds of compiler/linker settings that MSVC offers. So you either start easy and have the extra pain of switching later, or bite the bullet now (although these newer versions of MSVC are more user-friendly than the earlier stuff). Hope it works out for you (but please do not PM me if you get stuck, okay? ) Edited September 16, 2020 by RTFC McLEMUR, faldo, argumentum and 2 others 5 My Contributions and Wrappers Spoiler BitMaskSudokuSolver BuildPartitionTable CodeCrypter CodeScanner DigitalDisplay Eigen4AutoIt FAT Suite HighMem MetaCodeFileLibrary OSgrid Pool RdRand SecondDesktop SimulatedAnnealing Xbase I/O Link to comment Share on other sites More sharing options...
McLEMUR Posted March 2, 2015 Author Share Posted March 2, 2015 RTFC, Thank you very much! This is exactly the advice I was looking for! The humor made it so much more fun to read! Thanks! The loneliness is when even SPAM does not come... Link to comment Share on other sites More sharing options...
kcvinu Posted March 2, 2015 Share Posted March 2, 2015 Is there any name for the fear of "{" ? If so i have that fear. It's not curely braces, it is cursed braces. C++.. Oh..such a horrible language. Is that language made for humans.. I think it is for aliens. TheSaint 1 Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
jaberwacky Posted March 2, 2015 Share Posted March 2, 2015 Is there any name for the fear of "{" ? I used google to translate bracket to latin which is ancon. So Anconophobia? McLEMUR, mLipok and kcvinu 3 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
kcvinu Posted March 2, 2015 Share Posted March 2, 2015 Hi jaberwacky, ha.ha.. that's a good one. Anconophobia ... Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
TheSaint Posted March 2, 2015 Share Posted March 2, 2015 I went from C and derivatives to VB then to AutoIt, and saw it, and still do, as an advance in programming. P.S. No need for anyone to point out the value of C etc, I already know, so I'm just saying. We are empowered by what we can efficiently use, not by what is a powerful tool alone. Understanding is all! McLEMUR and argumentum 2 Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now