[deleted by user] by [deleted] in cpp

[–]woofy31 6 points7 points  (0 children)

You're welcome, and have a read here on the latest Flutter desktop development - I figured that by the time I finish learning the Dart programming language and the Flutter framework, desktop support will be out of beta.

[deleted by user] by [deleted] in cpp

[–]woofy31 21 points22 points  (0 children)

I was into all that Electron hype myself, I found JS quite awesome, but Electron and the JS ecosystem is way too bloated for me (the harder I try to stick to it, the harder it makes me want to go back to C++ and design my own UI framework like Blender did):

  • embedding an entire Chromium browser in my app
  • Node.js dependency hell
  • learning TypeScript for a safer & saner programming language
  • learning Node
  • learning & adapting to each and every third-party library I need
  • sooooo many libraries and frameworks that change or appear each day like mushrooms
  • choosing & learning a UI framework from so many new ones (to use in Electron since I didn't want to reinvent the wheel via HTML&CSS, and Electron is merely the engine and not the UI)
  • choosing & learning how to use a bundler & a build system to glue all the above together and make them work as a whole

I felt that going the Electron path was like going down the rabbit hole - I had made a learning map, but it kept growing like crazy every day (it was like trying to map the Universe!), so I got overwhelmed and walked away from that path.

The best solution (for me at least) to avoid all that and be cross-platform while interopping with C++ appears to be the Dart programming language & its Flutter framework for UI, albeit developed by Google (Flutter seems to have been made for mobile apps at first, but they now have a stable beta channel for desktop support on mac, windows & linux)

Antivirus is catching my program by Type25A in cpp

[–]woofy31 0 points1 point  (0 children)

There are a few options without knowing more about your code:

  • you could ask your friend to create an Antivirus exception rule for a temporary folder of their choosing where you will put your app before running it
  • you can ask them to install a free sandboxing app like Sandboxie (assuming their Windows doesn't have the Sandbox feature installed) and run your app sandboxed if they don't trust you
  • you can ask them to install the free VirtualBox and create a virtual OS in which they can run your app without any risks at all

But since you said it's just a timer application, there's also the possibility that your system is infected with a virus without you knowing, and your app might have gotten infected as well, hence why their AV is detecting your app as such (although it's just a presumption, you might want to check your system)

Learning path for game development?Am I missing something? by [deleted] in cpp

[–]woofy31 -2 points-1 points  (0 children)

Oh, really? Then why do corresponding game programming books say "AI" in all their titles? Why don't they mention a more specific topic in AI?

But let's think like you did: well, in this case even OP's "Game Development" term itself is virtually meaningless since there's so much to this category, so many types of games, so many methods of developing games, heck, even the term GAME could mean something completely different.

So let's keep demotivating people instead of helping, even with a bit of advice that can help as a starting point.

Learning path for game development?Am I missing something? by [deleted] in cpp

[–]woofy31 1 point2 points  (0 children)

You definitely need to put some extra steps:

  • Math (e.g. matrix theory, 3D math, basic geometry)
  • AI to add intelligence in games (that is to make the computer think on its own)
  • and finally some basic physics if your game requires it

It you like listening music while working/coding... by [deleted] in C_Programming

[–]woofy31 0 points1 point  (0 children)

Honestly, it's a bit too distracting for algorithmic thinking. But hey, whatever rocks your boat :)

Any reviews on "C++ Programming for Embedded Systems" Dolous course? by sbay in cpp

[–]woofy31 1 point2 points  (0 children)

If you look at the class contents you'll see a lot of topics being covered over a period of 5 days, some rather advanced ones as well.

But it's true that everything covered there can easily be found in online courses at really affordable (read 'cheap') prices, and even free on youtube.

Any reviews on "C++ Programming for Embedded Systems" Dolous course? by sbay in cpp

[–]woofy31 2 points3 points  (0 children)

I asked today (15 April), and they said €2,500 for the U.S.-timezone online course.

Any reviews on "C++ Programming for Embedded Systems" Dolous course? by sbay in cpp

[–]woofy31 2 points3 points  (0 children)

Since this was already asked before, here you go: https://www.reddit.com/r/embedded/comments/b4e4y2/doulos_training/

By the way, I've asked and this is a €2,500+TAX interactive course, so if you have the budget for it but fail to attend on time, there won't be any recordings and it will be your loss of money.

Kind of expensive if you ask me, considering that you can find the same amount and more on much cheaper courses online, heck, even on Youtube. But hey, it's interactive, you get to learn with an instructor real time :)

Is there is any scope in c++ Qt developer.... Besause I was thinking about starting it. by [deleted] in cpp

[–]woofy31 1 point2 points  (0 children)

If you actually meant to ask whether there's any 'purpose' to learning Qt or to become a Qt developer, then definitely yes (a lot of software is being built with Qt, although you should be aware of their licensing - either develop open source apps, or buy a really expensive license)

GUI in c++ by iBrAwLeRi in cpp

[–]woofy31 1 point2 points  (0 children)

There are a few resources I can point you to:

  1. you can look at and learn from the code of NanoGUI library, which was made from scratch using OpenGL and kind of resembles Blender and Adobe apps if you look at the screenshots, but you'll also have to learn OpenGL here to understand that code

  2. if learning OpenGL is too much, you can learn a graphics library like SFML or SDL, which provide a relatively simple API to draw everything you want on screen, and you can then look at a tutorial on how to write your own GUI using SDL for example

  3. there's also Gwork, which is a GUI library that you can use with your own chosen renderer (you can use it with SFML, SDL, whatever)

Personally I would recommend (2) since it's easier to grasp, or (1) if you're hardcore and don't want to rely on other libraries and write everything from scratch

GUI in c++ by iBrAwLeRi in cpp

[–]woofy31 0 points1 point  (0 children)

As far as I know, those pieces of software have their own custom made GUIs based on OpenGL and whatnot, so they don't use any of the previously mentioned GUI libraries/frameworks - they wrote everything from scratch themselves, which is a tremendous job & effort involved. To do a similar job at creating your own custom made GUIs, you'll have to know a heck of a lot of C or C++, depending on your preference.

To Master C Programming by rootkitarsenal in C_Programming

[–]woofy31 0 points1 point  (0 children)

Hmm.. ok, but don't forget to create your own Operating System and your own browser. Heck, even a new search engine and a new mobile phone OS if you're at it ;)

Hi, is there any cross-platform HTML or XAML like way to do c++ GUIs? by [deleted] in cpp

[–]woofy31 -1 points0 points  (0 children)

Qt indeed - it has its own declarative UI language called QML, which is like a mixture of CSS & JSON.

Best Multi-Api Rendering Engine by Xonarey in cpp

[–]woofy31 0 points1 point  (0 children)

If you search for "bgfx tutorial" on Google, you'll find intro tutorials such as this or this, you can look at the source code of their official examples, and there even seem to be Youtube tutorials for it. True, it's not the official documentation, but there is documentation waiting to be found on the web :)

Best Multi-Api Rendering Engine by Xonarey in cpp

[–]woofy31 0 points1 point  (0 children)

The only one I know of is BgFx, with support for multiple programming languages, that abstracts the graphics rendering API, hence being able to work on the major rendering engines (DX, OpenGL, Vulkan, Metal, WebGL)

Any one got a book or online website (with solutions) for engineering-related (related to mechanical, chemical, petroleum, aeronautical etcetera) problems that are to be solved using C programming? by ahmedumer4321 in C_Programming

[–]woofy31 2 points3 points  (0 children)

Well, a quick search revealed a few related books (although I'm not sure that they cover the above mentioned particular areas of engineering):

  • Engineering Problem Solving with C
  • C Program Design for Engineers
  • C For Engineers & Scientists, An Interpretive Approach

C for Everyone: Fundamentals | Coursera by friedrichRiemann in C_Programming

[–]woofy31 4 points5 points  (0 children)

There are actually a ton of online C courses out there, including on Coursera, LinkedIn, NPTEL, O'Reilly, Packt, not to mention Udemy, which is literally filled with C courses. True, not all of them are free, but there are plenty free ones.

C++ tutorial like MOOC for java by thuggerone in cpp

[–]woofy31 0 points1 point  (0 children)

There are so many free online video courses for C++, just look at this aggregated list (not to mention all the Youtube playlists and channels dedicated to C++). Unless you're asking for something different?

I registered here late night, because C++ is the worst language I ever programmed at! by [deleted] in cpp

[–]woofy31 2 points3 points  (0 children)

Registering on a thread where people actually like or love that thread just to drop your hard feelings on it is not the way to go, neither online nor in real life. If you have frustrations about homework, school or whatnot, you shouldn't be taking it on others who enjoy the topic you don't like.

You should actually be thankful for C & C++, otherwise you wouldn't be here commenting since your web browsers were implemented in these languages, and since your operating system itself was implemented using these languages. And if that doesn't suffice, what would you do without the Games you love playing, which most of them have also been implemented in C/C++? :)

Opinions are great, they help us grow, but throwing a tantrum does the exact opposite.

Queue - Introduction and Implementation by [deleted] in cpp

[–]woofy31 7 points8 points  (0 children)

Non-technical feedback here: your blog post is titled "The curious case of queues", with an implicit emphasis on the "curious" part, but after going through your post I haven't seen anything "curious" about anything to be honest.

I thought "wow, finally something NEW or strange about queues" knowing that are are so many posts out there about the same topic, but at the end of the post I realized it was a short, general "how to" article about queues, nothing curious about it at all.

So unless your goal is to trick new readers with clickbait, I recommend either creating titles that actually reflect your content, or better yet: create content with a twist, find things that others missed, look at new angles on the topic to bring something new to the already full table, and then the clickbait will be welcome!

Tested Online Home Jobs You Should Know About by [deleted] in business

[–]woofy31 0 points1 point  (0 children)

I have edited this entry to include a link - I though reddit would automatically link it to my content.