1

!rant

Hello, I am software engineer student and I am still learning but I would like to start a project to help a friend. The idea is to create a simple DB to manage stock of products, generate a few barcodes and have a few other simple things... btw the program needs to run on a small usb drive... yeah no server or anything.... but has do be like this for now. I was thinking about creating a QT interface for him to interact with the DB (sqlite3, is for a small shop), and for the extra functionalities. However I remembered of you guys and would like to ask for advice :) (I know there are free solutions for his needs, but I wanted to take the opportunity to learn more C++ and improve myself as a developer)

Comments
  • 1
    Instead of USB, you could run webserver on a Raspberry PI zero w?
    If you really want it on USB, a web application hosted on a portable xampp on USB drive is an option.
    Else, as you mentioned C++, code it all and build it to get an executable and there you have your program on USB.

    .
    .
    .
    .
    .
    .
    .
    And that's how devRant became help Rant :)
  • 0
    Thats a great ideia thank you... and sorry but you guys came to mind and I didn't knew who else to ask
  • 1
    @Zennoe input validation may be hard in plain C but isn't hard in C++ and definitely not Qt. In fact in Qt you can even specify allowed characters for input fields. You can write the GUI entirely in QML (read: JavaScript) and interact with it from C++, using as little or as much as you want.

    If you get a segfault you did something akin to an unhandled exception and this is the same regardless of the language used.
  • 0
    I am now using 000webhost and I am creating a interface with php and JS. I just hope I can create what I have in mind with the 1GB limit....
    Sadly there's no C++ that is the language I most like and know... but the point of the project was to challenge myself and improve as a developer

    Thank you all for being my "stack overflow" 😀
Add Comment