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

    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 sprintf or string …

  2. 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.

  3. 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...

  4. 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 in …

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

    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. #include #include #include …

  7. Linking to LAPACK from g++ in cygwin64 - Physics Forums

    Mar 30, 2020 · Cool. Another thing to look at is pkg-config. If the lapack library install by sygwin has a config then pkg-config --cflags --libs lapack will return the needed command line switches. On Mac …

  8. Alternative to #include files when using C# • Physics Forums

    May 22, 2017 · This discussion focuses on alternatives to the #include directive in C# for managing configuration data in a manufacturing test application. The user is transitioning from C to C# and …

  9. Mathematical notation: 2.00 E + 00 and 1.00 E + 01 - Physics Forums

    Apr 28, 2009 · The discussion clarifies the representation of numbers in scientific notation, specifically focusing on the format "2.00 E + 00" and "1.00 E + 01". It establishes that "2.00 E + 00" translates to …

  10. How to search just the first two characters in a c-string?

    Nov 6, 2020 · The discussion focuses on searching the first two characters of a C-string within a vector of structures containing last names. The user initially attempted to use strncpy but encountered …