Even though the char variable supports only the ASCII characters, why does the following code have the normal output when a value is entered with characters that are not part of ASCII as accented characters?
#include<iostream>
using name...
I have doubts about using the colon :: , used to do class implementation, [tipo] [classe]::[método] . It is also used, for example, in std::cout . What exactly would these two double points be and what do they serve for?
How can I make a request in a URL that would return a jSON in C ++?
I need to access a /return.php URL that returns the string
{"status":true,"hash":"12#87!!3@WSS\/.","user":"admin"}
and work on my project, accessing json as obj.status f...
I'm doing a project that implements a Python style console. It has several functions, it has many things. But I need to implement a command called set . set would declare a string and set its value as the user defined it.
class V...
In this question I asked about the optimization and performance that the compiler performs.
Among the highlighted items, users commented that the compiler does an unrolling loop optimization or unrolling .
What is this unrolling ?...
Everyone knows that C is a compiled language. Some know that in theory any language can be interpreted, unless it has some specification to prevent. Are there C interpreters? Do they serve for anything?
And C ++?
Testing the code below, I noticed strange behavior. It is working when it should not. The correct thing, in my view, was to give a segmentation fault and abort, but it looks like the compiler is doing some magic to fix the code.
What happens?...
The comma is what? Just a construction of language? An operator? Why does it exist?
This question is based on what you saw in Returning or extracting more than one value from a function? .
return base2, base3, base4
I need to call / reuse some functions I have in a DLL, developed in C #, within a project made in C.
I've already looked for some things and what I managed to make legal work was this project:
link
This step-by-step article describes how...
C and C ++ are two different languages, however C ++ is a superset of the C language.
So what's the difference between a file with the extension in .c and .cpp ?