I should develop a calculator that reads strings from the algebraic form of the operation with complex numbers. I need to manipulate the "main" vector outside the function in which it was declared (receives). How to proceed? Should I use pointer...
I'm holding programming and am making a code where I must turn a code into binary in a sentence. I'm turning the binary value into decimal, and getting the decimal value and comparing the ASCII table. But I do not know how to save the letters th...
I have the following string:
QString str="Macarr & # x & 3; the integral.
(I put space between all characters of the special character if it would not be visible and would appear A with the uncle "ã")
and wanted to format it so that it lo...
I need to choose a txt file through OpenDialog , to open through fopen . The problem I'm encountering and the conversion. The fopen function has as parameter const char , since opendialog returns the file p...
I have a user table in the system where the user's full name is registered.
However, at the time of displaying those names on the system, I must use only two words of that person's name to display. And when the words das , dos , d...
I've always used the fgets () function to read keyboard strings, since it (at least I thought so) always clears the input buffer. However, I'm encountering some errors with running the function in the case of the code below. The strings are not...
I have a string in Lua language. I want to get only the filename part through match ( 403.htm.en ).
Example:
var=[[Content-Disposition: attachment; filename="403.htm.en"
Content-Type: text/plain; name='403.htm.en'...
Does anyone know how to do regex select the phrase and add a tag?
<li>
<p>b) texto muito longo;</p>
</li>
$FechasemClassAlinea = '<p>[a-z])_.*</p>\n</li>$';
$FechacomClassAlinea = '<p>...