About 24 results
Open links in new tab
  1. Separate Digits in C++: How to Place Spaces Between Numbers …

    Feb 9, 2006 · This discussion focuses on methods to separate digits of a number in C++ for clearer output. Users are advised to first convert the number to a string using methods like …

  2. Create Devanagari ASCII Art: C++, JS, Nepali • Physics Forums

    Jun 13, 2023 · Study best practices for namespace management in C++ Developers interested in text processing, ASCII art generation, and those working with Nepali language representation …

  3. Parallel Programming on a CPU with AVX-512 - Physics Forums

    Apr 23, 2022 · In this article, I describe a program that uses Intel AVX-512 assembly instructions and includes a comparison of the results from both programs.

  4. Moving up from C and Tcl/Tk to Visual C# • Physics Forums

    Mar 8, 2017 · The discussion focuses on transitioning from C and Tcl/Tk to Visual C#, emphasizing the importance of understanding the object-oriented programming (OOP) …

  5. Question about the efficiency of using an array or individual …

    Aug 17, 2020 · It's better to use separate using std::xxx statements, rather than bringing in the whole very large std namespace. I gave an example in another thread of what can go wrong.

  6. Problems with #include<complex.h> • Physics Forums

    May 19, 2018 · Hi there. I have been trying to implement complex.h library to make some calculations in c++.Anyways I am not sure why mi compiler does not run my code at all. …

  7. How do "min" and "hour" get their values in this C++ code?

    Mar 30, 2023 · The discussion centers on understanding how the "min" and "hour" member variables in a C++ class are assigned values during object instantiation and method calls. The …

  8. Getting an unclassifiable statement error in Fortran 95

    Jun 9, 2013 · Getting an "unclassifiable statement" error in Fortran 95 I am trying to integrate the function x from 0 to 1. Here is my code: [FONT="Courier...

  9. Comparing MKL vs GSL Speed for C++ Codes - Physics Forums

    Feb 3, 2017 · This discussion compares the performance of Intel's Math Kernel Library (MKL) and the GNU Scientific Library (GSL) in C++ matrix operations using OpenMPI. The GSL …

  10. Why does a division by zero produce an error or undefined …

    Feb 28, 2023 · A division by zero is a mathematical oddity, , if a computer or calculator etc performs a 1\\0 they would crash, the OS prevents the execution, and displays ERROR or …