864 links
  • Links Lounge
  • Home
  • Login
  • RSS Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
74 results tagged C++ x
  • C++ Gotcha: Unnecessary Copies Due to the Misuse of Auto | by Roger Booth | Medium
    Fri Jul 4 10:32:31 2025 - permalink -
    - - - https://medium.com/@rogerbooth/c-gotcha-unnecessary-copies-due-to-the-misuse-of-auto-ed24e65b5efd
    C++
  • C++ Ecosystem in 2021: 1 in 5 C++ developers are using C++20 and a third of us are not writing any unit tests at all, and other facts | The CLion Blog
    Tue Aug 20 15:31:19 2024 - permalink -
    - - - https://blog.jetbrains.com/clion/2021/07/cpp-ecosystem-in-2021/
    C++
  • https://fouronnes.github.io/cppiceberg/
    Mon Feb 26 17:56:50 2024 - permalink -
    - - - https://fouronnes.github.io/cppiceberg/
    C++
  • Pitfalls of lambda capture initialization | arno's blog
    Tue Oct 10 09:33:03 2023 - permalink -
    - - - https://www.arnorehn.de/blog/2023/09/27/pitfalls-of-lambda-capture-initialization/
    C++
  • C++ Weekly With Jason Turner - YouTube
    Tue Oct 10 09:09:11 2023 - permalink -
    - - - https://www.youtube.com/channel/UCxHAlbZQNFU2LgEtiqd2Maw
    C++
  • YouTube thumbnail
    Back to Basics: C++ API Design - Jason Turner - CppCon 2022 - YouTube
    Tue Oct 10 09:09:02 2023 - permalink -
    - - - https://www.youtube.com/watch?v=zL-vn_pGGgY
    C++
  • cppbestpractices/00-Table_of_Contents.md at master · cpp-best-practices/cppbestpractices
    Tue Oct 10 09:08:46 2023 - permalink -
    - - - https://github.com/cpp-best-practices/cppbestpractices/blob/master/00-Table_of_Contents.md
    C++
  • Paho MQTT
    Fri Jun 3 17:01:16 2022 - permalink -
    - - - https://github.com/eclipse/paho.mqtt.cpp
    C++ MQTT
  • Introducing qmake2cmake
    Thu Apr 14 09:47:48 2022 - permalink -
    - - - https://www.qt.io/blog/introducing-qmake2cmake
    C++ CMake qmake Qt
  • How to write an ABI compliance checker using Libabigail | Red Hat Developer
    Tue Nov 16 10:32:26 2021 - permalink -
    - - - https://developers.redhat.com/blog/2020/04/02/how-to-write-an-abi-compliance-checker-using-libabigail#conclusion
    ABI C++
  • POSIX : How to create a thread | pthread_create() example & Tutorial – thispointer.com
    Wed Dec 2 13:23:16 2020 - permalink -
    - - - https://thispointer.com/posix-how-to-create-a-thread-pthread_create-example-tutorial/
    C++ pthread
  • OpenSSL 1.1.0 Changes - OpenSSLWiki
    Tue Jan 21 08:55:35 2020 - permalink -
    - - - https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes
    C++ OpenSSL SSL
  • c++ - Using Boost.asio with cmake? - Stack Overflow
    Tue Sep 10 13:44:00 2019 - permalink -
    - - - https://stackoverflow.com/questions/15290386/using-boost-asio-with-cmake
    Boost C++ Linux
  • Creating small Linux images with Buildroot
    Fri Aug 30 09:07:36 2019 - permalink -
    - - - https://blog.conan.io/2019/08/27/Creating-small-Linux-images-with-Buildroot.html
    Buildroot C++ Conan Embedded Linux RaspberryPi
  • CMake Tutorial | CMake
    Thu Jul 18 13:39:25 2019 - permalink -
    - - - https://cmake.org/cmake-tutorial/
    C++ CMake
  • Introduction to CMake by Example | derekmolloy.ie
    Thu Jul 18 13:39:15 2019 - permalink -
    - - - http://derekmolloy.ie/hello-world-introductions-to-cmake/
    C++ CMake
  • Posts - Fluent C++
    Thu Jul 18 11:09:08 2019 - permalink -
    - - - https://www.fluentcpp.com/posts/
    C++
  • GitHub - jkriege2/JKQtPlotter: a Qt Plotter-class (including a fast variant and a LaTeX equation renderer!), written in C/C++
    Mon Jan 7 09:27:57 2019 - permalink -
    - - - https://github.com/jkriege2/JKQtPlotter
    C++ Graph Qt
  • Getting the most of signal/slot connections : Viking Software – Qt Experts

    Le 3ème argument d'un QObject::connect (le contexte) peut être très utile pour éviter les crash en cas de destruction du pointeur visé dans cet argument. Ou en cas de connexion inter-threads.

    Tue Jun 12 09:24:49 2018 - permalink -
    - - - https://www.vikingsoftware.com/getting-the-most-of-signal-slot-connections/
    C++ Qt
  • c - gcov out of memory / mismatched version? - Stack Overflow
    Wed May 30 10:39:31 2018 - permalink -
    - - - https://stackoverflow.com/questions/12454175/gcov-out-of-memory-mismatched-version
    C++ gcov
  • La déclaration anticipée en C++

    Voilà longtemps que je n'avais rien publié sur mon blog "30 minutes par jour". Je pourrai le renommer "30 minutes par an" ;-)

    Wed May 30 09:29:16 2018 - permalink -
    - - - http://30minparjour.la-bnbox.fr/blog/2018/05/30/la-declaration-anticipee-en-cpp/
    30minparjour C++
  • Ranking Programming Languages by GitHub Users
    Mon Feb 19 09:48:46 2018 - permalink -
    - - - http://www.benfrederickson.com/ranking-programming-languages-by-github-users/
    C++ JS Langage
  • Two C++ tricks used in Verdigris implementation
    Fri Feb 16 13:57:05 2018 - permalink -
    - - - https://woboq.com/blog/verdigris-implementation-tricks.html
    C++ Qt
  • c++ - how to check QT_VERSION to include different header? - Stack Overflow

    if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)

    Fri Nov 17 05:51:12 2017 - permalink -
    - - - https://stackoverflow.com/questions/24899558/how-to-check-qt-version-to-include-different-header
    C++ Qt Version
  • Clang-Tidy, part 1: Modernize your source code using C++11/C++14 - KDAB
    Mon May 15 11:01:08 2017 - permalink -
    - - - https://www.kdab.com/clang-tidy-part-1-modernize-source-code-using-c11c14/
    C++ Clang CommandLine
  • C++ Policies/Binary Compatibility Examples - KDE Community Wiki
    Mon May 15 10:57:41 2017 - permalink -
    - - - https://community.kde.org/Policies/Binary_Compatibility_Examples
    C++ Library
  • SEI CERT C++ Coding Standard - SEI CERT C++ Coding Standard - CERT Secure Coding Standards
    Fri Apr 14 15:22:24 2017 - permalink -
    - - - https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=637
    C++
  • DevOps and Continuous Integration challenges in C/C++ projects

    Super article !

    Wed Mar 15 09:32:08 2017 - permalink -
    - - - http://blog.conan.io/2017/03/14/Devops-and-Continouous-Integration-Challenges-in-C-C++-Projects.html
    C C++ Conan ContinuousIntegration Qompoter Qt
  • Leak-freedom C++ | Sutter’s Mill
    Mon Jan 30 15:51:30 2017 - permalink -
    - - - https://herbsutter.com/2016/09/27/my-cppcon-talk-video-is-online/
    C++ Leak
  • How do you stop qmake from trying to strip all installed files? | MythTV | Dev

    When adding some files to INSTALLS, they are stripped if they are excecutables.

    To avoid using strip, you can update "QMAKE_STRIP" variable and force stripping executables one by one using ".extra":

    target.extra = strip $${DESTDIR}/$(TARGET)
    QMAKE_STRIP = echo # Avoid striping unwanted files (which will not work)
    applibs.files = $${DESTDIR}/*.so*
    applibs.path = $$EXPORT_LIBPATH
    INSTALLS += applibs
    Thu Dec 1 15:40:55 2016 - permalink -
    - - - http://www.gossamer-threads.com/lists/mythtv/dev/141885
    C++ make qmake Qt
  • "How to use QThread in the right way (Part 1)" — 1+1=10

    Un autre post sur les QThread.

    Thu Oct 6 09:27:42 2016 - permalink -
    - - - http://blog.debao.me/2013/08/how-to-use-qthread-in-the-right-way-part-1/
    C++ Qt Thread
  • GitHub - Fylhan/qompoter: Dependency manager for Qt / C++.

    Hier, j'ai releasé la v0.2.6 de Qompoter, a C++/Qt dependency manager. Outre les améliorations apportées au truc (recherche récursive des paquets, numéros de versions flous du genre v1.*, recherche des paquets dans Inqlude), cela m'a aussi permis de découvrir les scripts d'auto-complémetion Bash ! Et je surkiffe taper qompoter tab tab et voir la liste des actions possibles apparaître "install export inqlude jsong". C'est beau Linux.

    Qompoter a atteint un niveau de maturité suffisant pour les petits projets, alors n'hésitez pas ! Vos retours sont les bienvenues.

    Wed Oct 5 09:35:22 2016 - permalink -
    - - - https://github.com/Fylhan/qompoter
    C++ Qompoter Qt
  • QMake-top-level-srcdir-and-builddir - Qt Wiki

    Très pratique le fichier .qmake.conf.

    Tue Aug 30 10:35:55 2016 - permalink -
    - - - https://wiki.qt.io/QMake-top-level-srcdir-and-builddir
    C++ qmake Qt
  • Four Habit-Forming Tips to Faster C++ - KDAB

    Pour me rappeler, je m'essai aux résumés.

    Prefer NRVO to RVO

    * RVO = return-value optimization

    MyData myFunction() {
        return MyData(); // Create and return unnamed obj
    }
    MyData abc = myFunction();

    With RVO, the C++ standard allows the compiler to skip the creation of the temporary, treating both object instances—the one inside the function and the one assigned to the variable outside the function—as the same. This usually goes under the name of copy elision. But what is elided here is the temporary and the copy.

    • NRVO = named return-value optimization
    MyData myFunction() {
      MyData result;           // Declare return val in ONE place
      if (doing_something) {
        return result;       // Return same val everywhere
      }
      // Doing something else
      return result;           // Return same val everywhere
    } 
    MyData abc = myFunction();

    Named Return Value Optimization is similar but it allows the compiler to eliminate not just rvalues (temporaries), but lvalues (local variables), too, under certain conditions.

    But many compilers are actualy failing to apply NRVO with the following code:

     MyData myFunction() {
        if (doing_something)
            return MyData();     // RVO expected
    
        MyData result;
    
        // ...
        return result;           // NRVO expected
    } 
    MyData abc = myFunction();

    So previous example has to be preferred.

    Return parameters by value whenever possible

    Surprisingly, don’t use "out-parameters" but prefer "return-by-value", even if it implies creating a small struct in order to return multiple values. I will check that, because it seems strange to me.

    “out” parameter pointers force a modern compiler to avoid certain optimisations when calling non-inlined functions.

    Prefer:

    struct fractional_parts {
        int numerator;
        int denominator;
    };
    
    fractional_parts convertToFraction(double val) {
        int numerator = /*calculation */ ;
        int denominator = /*calculation */ ;
        return {numerator, denominator}; // C++11 braced initialisation -> RVO
    }
    auto parts = convertToFraction(val);
    use(parts.nominator);
    use(parts.denominator);

    than:

    void convertToFraction(double val, int &numerator, int &denominator) {
        numerator = /*calculation */ ;
        denominator = /*calculation */ ;
    }
    
    int numerator, denominator;
    convertToFraction(val, numerator, denominator); // or was it "denominator, nominator"?
    use(numerator);
    use(denominator);    

    Cache member-variables and reference parameters

    Prefer:

    template <class T> 
    complex<T> &complex<T>;::operator*=(const complex<T> &a) {
       T a_real = a.real, a_imag = a.imag;
       T t_real =   real, t_imag =   imag; // t == this
       real = t_real * a_real – t_imag * a_imag;
       imag = t_real * a_imag + t_imag * a_real;
       return *this;
    }

    than:

    template <class T> 
    complex<T> &complex<T>;::operator*=(const complex<T> &a) {
       real = real * a.real – imag * a.imag;
       imag = real * a.imag + imag * a.real;
       return *this;
    }

    It seems the example is too simple to really understand the benefits. I do not want to make my code more complex for such a simple case... I do not like this advice.

    Organise intelligently member variables

    Due to the CPU caches mechanisms (blocks of 64-byte), it is propose to organise member variables in a class as follow:

    • Move the most-frequently-used member-variables first
    • Move the least-frequently-used member-variables last
    • If variables are often used together, group them near each other
    • Try to reference variables in your functions in the order they’re declared

    Why not...

    Mon Aug 22 09:58:09 2016 - permalink -
    - - - https://www.kdab.com/four-habit-forming-tips-faster-c/
    C++ C++11
  • Cutelyst - The Qt Web Framewok

    Oui, un framework Web en Qt.

    Thu Mar 24 09:09:41 2016 - permalink -
    - - - http://cutelyst.org/2016/03/23/cutelyst-0-11-0-released
    C++ Framework Qt Web
  • Advice_Concepts | Boost Library Incubator

    For our purposes, we will define "C++ Type Constraint" in the following way:

    A C++ Template will have one or more type arguments. The template may require that each argument fullfill more or more conditions in order for the template to compile without error. These requirements are called Type Constraints or Type Requirements.

    C++ literature and documentation use the word Concept for this purpose. In fact, this usage of the word Concept is one of the reasons that the subject has been so confusing. Another reason is that it is really only necessary to understand Concepts when writing a templated library. Since very few programmers actually write such code, very few people actually use this idea and hence are unfamilar with it. Our term Type Constraint is exactly equivalent to the C++ term Concept. Either one can be substituted for the other without loss of meaning.

    Un des trucs qui me fascine en C++, c'est que sa communauté contient beaucoup de personnes qui semblent fichtrement intelligentes et qui se posent des problèmes et des questions invraisemblable.
    On retrouve ça ailleurs, comme une partie de la communauté Javascript par exemple (dingue), mais pas partout.

    Wed Mar 23 13:53:04 2016 - permalink -
    - - - http://rrsd.com/blincubator.com/advice_concepts/
    C++
  • [Wandbox]三へ( へ՞ਊ ՞)へ ハッハッ

    Un autre compilateur C++ online.

    Wed Mar 23 13:51:15 2016 - permalink -
    - - - http://melpon.org/wandbox
    C++ Compilation
  • C++: RAII without exceptions - Eli Bendersky's website

    Pour le coup, cet article n'ayant pas pour but d'expliquer RAII l'explique beaucoup mieux que d'autres.

    Tue Feb 23 12:35:16 2016 - permalink -
    - - - http://eli.thegreenplace.net/2016/c-raii-without-exceptions/
    C++ C++11 RAII SmartPointer
  • Qt on Android: How to run C++ code on Android UI thread - KDAB
    Thu Feb 18 13:20:52 2016 - permalink -
    - - - https://www.kdab.com/qt-android-run-c-code-android-ui-thread/
    Android C++ Qt
  • Interactive C++ Compiler online
    Wed Feb 3 10:22:36 2016 - permalink -
    - - - http://gcc.godbolt.org/
    ARM C++ Clang Compilation gcc
  • Visual C++ Compiler Online
    Wed Feb 3 10:22:05 2016 - permalink -
    - - - http://webcompiler.cloudapp.net/
    C++ Compilation MSVC
  • How do I prepare a Raspberry Pi with Raspbian so I can cross compile Qt5 programs from a Linux host? - Stack Overflow

    Franchement, le Web, c'est génial !
    Et GCC, Qt, C++, Linux aussi.

    Quelques infos complémentaires :

    • http://wiki.qt.io/RaspberryPi2EGLFS : Cross-compiler Qt5.6 pour RaspberryPi 2 (ou 1 accessoirement) en utilisant le RaspberryPi pour installer les dépendances requises
    • http://wiki.qt.io/RaspberryPi_Beginners_Guide : Idem mais je ne sais pas trop comment ils installent les dépendances requises
    Tue Jan 26 22:28:09 2016 - permalink -
    - - - http://stackoverflow.com/questions/30120871/how-do-i-prepare-a-raspberry-pi-with-raspbian-so-i-can-cross-compile-qt5-program
    ARM C++ Cross-Compilation Linux RaspberryPi
  • un nouvel IDE léger multi-plateforme supportant le C++11 et C++14
    Sun Dec 27 11:19:02 2015 - permalink -
    - - - http://cpp.developpez.com/actu/94036/juCiplusplus-un-nouvel-IDE-leger-multi-plateforme-supportant-le-Cplusplus11-et-Cplusplus14/
    C++
  • KDAB on Qt: How to use static analysis to improve performance
    Thu Sep 10 13:28:14 2015 - permalink -
    - - - http://www.kdab.com/use-static-analysis-improve-performance/
    C++ Clang
  • C++ Hints

    TBR

    Fri Aug 21 14:41:25 2015 - permalink -
    - - - http://cpphints.com/
    C++ C++11
  • What is C++0x? - Cprogramming.com

    Il va me falloir un peu de temps pour acquérir les réflexes C++11.

    Wed Jul 22 10:43:12 2015 - permalink -
    - - - http://www.cprogramming.com/c++11/what-is-c++0x.html
    C++ C++11
  • CMake Manual | Qt 5.5

    Premiers essais de CMake aujourd'hui :-) Depuis le temps que je souhaitais m'y frotter.

    J'aimerai bien que mon petit projet Qompoter (https://github.com/Fylhan/qompoter) sache faire du qmake et du CMake

    • Site officiel CMake : http://www.cmake.org/
    • Tutoriel CMake : http://www.cmake.org/cmake-tutorial/
    • Qt Wiki - CMake with Qt4 : https://wiki.qt.io/Using_CMake_build_system
    Fri Jul 17 15:22:59 2015 - permalink -
    - - - http://doc.qt.io/qt-5/cmake-manual.html
    C++ cmake Qompoter Qt
  • New in Qt 5.5: Q_ENUM and the C++ tricks behind it

    Jusqu'à aujourd'hui, j'avais un petit script qui me générait tout ce qui va bien pour un enum C++ (avec des binding Qt). Mais Q_ENUM fait ça tout seul !

    Fri Jul 3 10:55:42 2015 - permalink -
    - - - http://woboq.com/blog/q_enum.html
    C++ Code
  • Semaphores are Surprisingly Versatile

    Cette explication des sémaphores / mutex et autre semblent très intéressantes.

    Tue Mar 17 10:00:57 2015 - permalink -
    - - - http://preshing.com/20150316/semaphores-are-surprisingly-versatile
    C++ Lock-Free Semaphore
  • Understanding lvalues and rvalues in C and C++ - Eli Bendersky's website

    Voilà qui clarifie bien les choses.
    La conversion de rvalue en lvalue est assez tordue :

    "This doesn't mean that lvalues can't be produced from rvalues by more explicit means. For example, the unary '' (dereference) operator takes an rvalue argument but produces an lvalue as a result. Consider this valid code:

    int arr[] = {1, 2};
    int
    p = &arr[0];
    (p + 1) = 10; // OK: p + 1 is an rvalue, but (p + 1) is an lvalue

    Conversely, the unary address-of operator '&' takes an lvalue argument and produces an rvalue:

    int var = 10;
    int bad_addr = &(var + 1); // ERROR: lvalue required as unary '&' operand
    int
    addr = &var; // OK: var is an lvalue
    &var = 40; // ERROR: lvalue required as left operand
    // of assignment
    "

    Tue Nov 4 14:01:12 2014 - permalink -
    - - - http://eli.thegreenplace.net/2011/12/15/understanding-lvalues-and-rvalues-in-c-and-c
    C++
  • C++ FAQ
    Mon Sep 8 14:26:25 2014 - permalink -
    - - - http://www.parashift.com/c++-faq-lite/index.html
    C++ FAQ
  • GotW #7a Solution: Minimizing Compile-Time Dependencies, Part 1 | Sutter’s Mill
    • Never #include unnecessary header files.
    • Never #include a header when a forward declaration will suffice.
      Prefer to #include when a forward declaration of a stream will suffice.
      A dependency is only mention as a return type: doesn't require a definition, but it is better to add it for the caller convenience (he will be able to use auto val = x.h();)
      ** A dependency is only mention as a parameter type, or bother a parameter type and a return type: doesn't require a definition

    Ces deux derniers point ne sont pas vrais en Qt si c'est dans la définition d'un signal ou d'un slot. Qmake génère un moc_.cpp à partir du .h, et il a besoin des définitions des paramètres.

    Mon Sep 8 10:51:30 2014 - permalink -
    - - - http://herbsutter.com/2013/08/19/gotw-7a-solution-minimizing-compile-time-dependencies-part-1/
    BestPractice C++ Guidelines
  • QHttp - Github

    Cette bibliothèque Qt pour lancer un serveur ou un client HTTP semble idéale (licence MIT). Plus aboutie que QHttpServer (https://github.com/nikhilm/qhttpserver, licence MIT aussi).

    ça fait plusieurs développeurs Node.js que je vois aussi faire du C++ avec beaucoup de talent. C'est bien les gars ;-)

    Thu Sep 4 10:33:57 2014 - permalink -
    - - - https://github.com/azadkuh/qhttp
    C++ HTTP Qt
  • Architecture de tests en C++ avec Qt - 30 minutes par jour

    Premier article d'une série sur les tests en Qt / C++.

    Wed Aug 27 15:03:30 2014 - permalink -
    - - - http://30minparjour.la-bnbox.fr/2014/architecture-tests-en-cpp-avec-qt#more-1648
    C++ Qt Test
  • Bjarne Stroustrup's Homepage

    Le site du concepteur de C++. Pas mal de ressources.

    P.S : oui, j'avais quelques bookmarks à trier dans ma barre personnelle de Firefox :-D

    Tue Apr 22 11:19:52 2014 - permalink -
    - - - http://www.stroustrup.com/#garbage-collection
    C++
  • c++ - selected Rows/Line in QTableView copy to QClipboard - Stack Overflow
    Tue Apr 22 11:17:28 2014 - permalink -
    - - - http://stackoverflow.com/questions/1230222/selected-rows-line-in-qtableview-copy-to-qclipboard
    C++ Qt
  • Où trouver des plugins Qt ?

    Inqlude: http://inqlude.org/
    Qt Apps : http://qt-apps.org/
    Site officiel : http://qt-project.org/wiki/Category:Add-ons
    Sur Github : https://github.com/search?nwo=0TheFox0%2FOpenChart&p=7&q=qt+plugin&ref=cmdform&search_target=global&type=Repositories

    Tue Apr 22 11:14:35 2014 - permalink -
    - - - http://inqlude.org/
    C++ Qt
  • Tales of C++
    Tue Apr 15 14:38:23 2014 - permalink -
    - - - http://talesofcpp.blogspot.fr/
    C++
  • Understand the Qt containers | -Wmarc
    Mon Apr 14 15:32:06 2014 - permalink -
    - - - http://marcmutz.wordpress.com/effective-qt/containers/
    C++ Qt
  • An Introduction to Lock-Free Programming

    Le concept de lock-free programming est vraiment intéressant : empêcher les possibilités de blocages, ou les erreurs lors de l'utilisation d'une mémoire partagée entre plusieurs threads. L'idée étant de ne pas utiliser de mutex, et soit de séquentialiser l'accès à la mémoire partagée, soit d'utiliser des petites opérations atomiques (qui seront exécutée sans interruptions).
    Il n'est pas tellement vraisemblable de créer un gros programme lock-free, l'idée est plutôt de rester pragmatique et de faire interagir plusieurs parties lock-free entres elles.
    Le gain en performance par rapport à des mutex est assez flagrant. Et c'est à mettre en place pour coder efficacement sur du multi-processeur. Mais les compétences pour une mise en œuvre correcte sont aussi plus grandes.
    "So keep mutexes, unless you have a lot of lock contention or are looking for a challenge."

    Une autre ressource sur le sujet :
    http://woboq.com/blog/introduction-to-lockfree-programming.html
    Et comment gérer des opérations atomiques en Qt :
    http://qt-project.org/doc/qt-5/qatomicint.html

    Wed Mar 26 10:06:34 2014 - permalink -
    - - - http://preshing.com/20120612/an-introduction-to-lock-free-programming/
    C++ Lock-Free Qt Thread
  • Reentrancy and Thread-Safety | QtDoc 5.2 | Documentation | Qt Project

    Une définition assez claire de "thread-safe" et "reentrant".

    Thu Mar 6 09:29:56 2014 - permalink -
    - - - http://qt-project.org/doc/qt-5/threads-reentrancy.html
    C++ Qt Thread
  • Model/View Programming | QtWidgets 5.2 | Documentation | Qt Project

    Ok, je crois que je vais me coltiner ça.

    Tue Feb 11 15:11:16 2014 - permalink -
    - - - http://qt-project.org/doc/qt-5/model-view-programming.html
    C++ GUI Qt
  • [Qt][DLL]Liste des DLL sous Qt 5.0.2

    Apparement, voici la liste des DLL nécessaires pour faire tourner un programme sous Qt5 :

    • Qt5Core.dll
    • Qt5Gui.dll
    • Qt5Widgets.dll
    • D3DCompiler_43.dll
    • icudt49.dll
    • icuin49.dll
    • icuuc49.dll
    • libEGL.dll
    • libgcc_s_sjlj-1.dll
    • libGLESv2.dll
    • libstdc++-6.dll
    • libwinphthread.dll
    • platform/qwindows.dll
    Fri Feb 7 10:34:16 2014 - permalink -
    - - - http://fr.openclassrooms.com/forum/sujet/qt-dll-liste-des-dll-sous-qt-5-0-2
    C++ DLL Qt
  • Free Qt Applications - Qt-Apps.org

    Des bibliothèques (et exemples d'applications) sous Qt pouvant s'avérer utiles à l'occasion.

    Fri Feb 7 10:29:40 2014 - permalink -
    - - - http://qt-apps.org/index.php?xcontentmode=4299&PHPSESSID=f08ddb43f9aa3df5c5e613b81805af4b
    C++ Qt
  • c++ - Copy Constructors and calling functions - Stack Overflow

    En C++, une classe est automatiquement amie d'elle même. Ce qui explique l'on puisse appeler un objet privée de la classe dans le constructeur de copie. Ahhhhh !!! Je comprends mieux.

    Exemple :

    class MyClass {
    public:
    MyCLass() : myVar(0) {}
    MyClass(const MyClass& parent) {
    myVar
    = parent.myVar; // will work and is possible
    // myVar
    = parent.myVar(); // won't work like this. myVar() has to be "int myVar() const;"
    }

    int myVar() { return myVar_; }

    private:
    int myVar_;
    };

    Wed Oct 2 10:39:59 2013 - permalink -
    - - - http://stackoverflow.com/questions/2660400/copy-constructors-and-calling-functions
    C++ Constructor Copy Snippet
  • compilation - Qt Subclassing and "No matching function for call to connect" - Stack Overflow

    Arg, pour connecter un QObject qui a été forward declared (class MyQObject dans le .h de l'utilisateur), il ne faut pas oublier d'inclure réellement le .h du QObject (dans le .cpp de l'utilisateur) pour éviter l'erreur à la compile : "No matching function for call to connect".

    Wed Sep 18 16:29:56 2013 - permalink -
    - - - http://stackoverflow.com/questions/15768144/qt-subclassing-and-no-matching-function-for-call-to-connect
    C++ Qt
  • Analyse statique de code C++ avec Cppcheck | Code Weblog

    CppCheck a l'air d'être un utile pratique pour analyser statiquement du code C++. A intégrer à un Jenkins / Hudson, avec un nightly build des tests unitaires (+ tests d'intégrations automatisés ?) voilà qui serait pratique...

    Mon Sep 16 15:11:43 2013 - permalink -
    - - - http://code-weblog.com/analyse-statique-de-code-c-avec-cppcheck/
    C++ ContinuousIntegration Tools
  • Note : Qt - ne pas créer de méthode "connect" dans un QObject

    Ne jamais, JAMAIS (jamais !) créer la méthode "connect" dans un QObject en Qt !
    Je comprends enfin pourquoi ce fichu signal ne voulait pas se connecter à ce sacré slot ! Eh bah voilà : une méthode "connect" (censée, je cite, "Start the connection to the remote server") qui surcharge bien malencontreusement la méthode "QObject::connect" ce qui nous donne "error : no matching function for call to 'MyGreatObject::connect(AnOtherObject&, const char, MyGreatObject const, const char)'".

    C'est bête hein ?
    Rah!

    Fri Aug 2 11:51:48 2013 - permalink -
    - - - http://links.la-bnbox.fr/?tQiAZA
    C++ Qt
  • [C++/Qt] Performance de l'utilisation de QSharedPointer

    QString de Qt : "Tant que l'objet est copié, passé en paramètre, .... l'objet n'est pas dupliqué (tous les objets pointes vers le même espace mémoire)."
    Eh je ne savais pas que QString était un QSharedDataPointer ! Bien !

    Pourquoi n'est-ce pas le cas des String en Java ? Sur un gros projet auquel je participe, des devs se sont "amusés" à concaténer crapuleusement des String Java. Et hop, une nouvelle instance de String à chaque fois ! La mémoire globale le ressent... et franchement, on n'avait pas besoin de ça !

    Tue Jul 30 12:15:33 2013 - permalink -
    - - - http://www.shadoware.org/post/qt-performance-de-l-utilisation-de-qsharedpointer
    C++ Qt SmartPointer
  • Injection de dépendances en C++ - 30 minutes par jour

    Mon point de vue sur l'injection de dépendances en C++ : à la main ! Parce que pour l'instance, il n'y a pas de container suffisamment léger et non-intrusif.

    Tue Jul 30 12:12:07 2013 - permalink -
    - - - http://30minparjour.la-bnbox.fr/2013/injection-de-dependances-en-c
    30minparjour C++ DependencyInjection
  • Standard Predefined Macros - The C Preprocessor

    J'utilise assez souvent LINE ou FILE en PHP pour récupérer respectivement le numéro de la ligne courante, et le nom du fichier courant, et je savais que cela venait du C. Je n'avais jamais remarqué que ces macros existent donc aussi en C++. Pratique pour déboguer !

    Fri Jul 26 10:10:10 2013 - permalink -
    - - - http://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html
    C++ Introspection
  • Java is Pass-by-Value, Dammit! - Scott Stanchfield

    Voilà qui répond bien à mes questions quant à la modification de paramètres d'une méthode en Java.
    Ainsi que ces deux topics :
    http://stackoverflow.com/questions/5607773/change-a-functions-arguments-values
    http://stackoverflow.com/questions/40480/is-java-pass-by-reference

    Wed Jul 17 10:55:27 2013 - permalink -
    - - - http://javadude.com/articles/passbyvalue.htm
    C++ Java Pass-by-Reference Pass-by-Value
  • GotW #90 Solution: Factories | Sutter’s Mill

    Ahahah !

    Aside: Someone might say, “but can’t someone still write load_widget(some_id).release()?” Of course they can, if they’re pathological; the correct answer is, “don’t do that.” Remember, our concern is to protect against Murphy, not Machiavelli—against bugs and mistakes, not deliberate crimes—and such pathological abuses fall into the latter category.

    A part ça, "modern C++" est vraiment puissant ! Je reconnais que pour l'instant j'utilise plutôt Qt et je reste très très loin des "smart pointers". De voir qu'il est possible d'utiliser quelque chose du type "optional" en retour de fonction pour signifier "ma fonction renverra un MyType ou rien s'il n'est pas disponible", c'est quand même génial ! Et ça évite d'utiliser un pointeur là où il n'y a pas de besoins...

    Thu Jun 6 09:03:23 2013 - permalink -
    - - - http://herbsutter.com/2013/05/30/gotw-90-solution-factories/
    C++ GotW
  • Les Guru of the Week en français
    Mon Jul 16 10:54:00 2012 - permalink -
    - - - http://cpp.developpez.com/redaction/data/pages/rubrique/cpp/gotw/index/
    C++ Programmation
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, no-database delicious clone by the Shaarli community - Help/documentation