Nantes Université

Skip to content
Extraits de code Groupes Projets
  1. fév. 18, 2022
  2. fév. 16, 2022
  3. oct. 23, 2021
  4. sept. 01, 2021
    • qykth-git's avatar
      Replace obsolete C++ API (#71) · f1840ee9
      qykth-git a rédigé
      * Use "nullptr" instead of "NULL"
      
      * Cosmetic fix
      
      * bind2nd() and ptr_fun<>() is removed since C++17
      
      bind2nd() and ptr_fun<>() are deprecated in C++11, and removed in C++17.
      These functions are not available in LLVM's "libc++".
      Use C++11 lambda expressions for them.
      
      * Break long lines
      
      * Add missing header for std::iswspace()
  5. août 30, 2021
  6. août 26, 2021
  7. août 23, 2021
    • qykth-git's avatar
      Compiler warnings fix (#64) · f14d961d
      qykth-git a rédigé
      * Enable warnings
      
      * Work without "-fpermissive" option
      
      * Cosmetic fix
      
      * Add "const" to fix warnings
      
      These strings are not needs to modify.
      
      * No need to use "#pragma once" in main C++ source file
      
      * Cosmetic fix
      
      Add newline to end
      
      * Return nullptr if error
      
      * delete() not works for "void*"
      
      Cast specific type to use delete()
      
      * Disable VC++ specific pragmas for other C++ compilers
      
      * Fix warning
      
      * Fix warning
      
      * Use pipeline for compiler
      
      * Enable code optimization
      
      * Add "default:" to fix "switch" syntax warning
      
      * Use "nullptr" for null pointer
      
      * Use nullptr instead of NULL
      
      * Use nullptr instead of NULL
      
      * Use "L" notation for wide character
      
      * Use C++ header instead of raw C header
  8. août 16, 2021
  9. août 11, 2021
    • qykth-git's avatar
      Revert from multi-byte I/O to UTF-8 I/O (#61) · 55890379
      qykth-git a rédigé
      Multi-byte I/O dose too match for text input in some locale.
      
      For example, "," in numbers treat as decimal separator, not word separator.
      This makes "1,234" as "1234", not "1" and "234".
      
      Use "C.UTF-8" to avoid this problem.
    • qykth-git's avatar
      UTF- 8/ANSI input support for Unix (#60) · 4c9d411a
      qykth-git a rédigé
      * Use UTF-8 for multi-byte character I/O everywhare
      
      This fix is required for "libstdc++".
      Without this fix, "libstdc++" only works for 7bit ASCII.
      
      It fixes https://github.com/microsoft/pict/issues/24 .
      
      * Use current locale instead of fixed UTF-8 locale
      
      It is good for non-UTF-8 (ANSI/OEM) encoding input.
      Use environment variable "LANG" or "LC_CTYPE" to change input encoding.
      
      (example)
      $ LC_CTYPE="C.UTF-8" pict utf8-input.txt
      
      * Add document for non-ASCII (UTF-8/ANSI) input encoding
  10. mars 17, 2021
  11. fév. 28, 2021
  12. fév. 24, 2021
  13. fév. 12, 2021
Chargement en cours