esses sites que tem na internet para registro de dominio internacional .com
cobram um valor no primeiro mes e depois é bem mais caro
o dominio que eu queria registrar o site diz que ta liberado e custa $19,99 no primeiro ano depois diz que custa $ 1499,00
não entendi
Domain Purchase $1,499.00*
Premium Domain
*First Year Cost. Renews at $19.99/year
Privacy + Protection 1 Year $8.99
não entendi essa oferta
existe um site para registro de dominio .com semelhante ao registro.br ???
uma vez registrei um dominio no ig e custou 11 reais, faz tempo e agora o ig não esta mais registrando
vcs me indicam algum site para eu registrar um dominio .com ???
I'm new to C and C++ programming, can anyone give me a hint on what I'm doing wrong here. I'm trying to write to concat function that takes to pointers to chars and concatenates the second to the first. The code does do that, but the problem is that it adds a bunch of junk at the end.
For instance, when passing the arguments - "green" and "blue", the output will be "greenblue" plus a bunch of random characters. I also wrote the strlen function that strcat uses, which I will provide below it for reference. I'm using the online compiler at InterviewBit The exact instructions and specification is this:
int main(int argc, char** argv)
{
const int MAX = 100;
char s1[MAX];
char s2[MAX];
cout << "Enter your first string up to 99 characters. ";
cin.getline(s1, sizeof(s1));
int size_s1 = strlen(s1);
cout << "Length of first string is " << size_s1 << "\n";
cout << "Enter your second string up to 99 characters. ";
cin.getline(s2, sizeof(s2));
int size_s2 = strlen(s2);
cout << "Length of second string is " << size_s2 << "\n";
cout << " Now the first string will be concatenated with the second
string ";
char* a = strcat(s1,s2);
for(int i = 0; i<MAX; i++)
cout <<a;
// system("pause");
return 0;
}
//strcat function to contatenate two strings
char* strcat(char *__s1, const char *__s2)
{
int indexOfs1 = strlen(__s1);
int s2L = strlen(__s2);
cout <<s2L << "\n";
int indexOfs2 = 0;
do{
__s1[indexOfs1] = __s2[indexOfs2];
indexOfs1++;
indexOfs2++;
}while(indexOfs2 < s2L);
return __s1;
}
//Returns length of char array
size_t strlen(const char *__s)
{
int count = 0;
int i;
for (i = 0; __s != '\0'; i++)
count++;
return (count) / sizeof(__s[0]);
Utilizo um banco de dados Mysql + Programação PHP e HTML.
Preciso que no filtro do sql ele não me traga o estoque do CNES "0000000", como eu poderia ta excluindo ele do filtro?
$sqlestoque = "select
A.ID_ESTOQUE,
D.CNES,
D.NOME_UNIDADE,
B.COBERTURA,
A.QTD,
C.DATA_REGISTRO
FROM
lesao_rel_estoque_coberturas A
INNER JOIN
lesao_coberturas B ON A.ID_COBERTURA = B.ID_COBERTURA
INNER JOIN
lesao_estoque C ON A.ID_ESTOQUE = C.ID_ESTOQUE
INNER JOIN
unidades D ON C.CNES = D.CNES
WHERE C.ID_ESTOQUE = (SELECT MAX(E.ID_ESTOQUE)
FROM lesao_estoque E
WHERE E.CNES = C.CNES)
ORDER BY A.ID_ESTOQUE DESC";
Agradeço a ajuda desde já.
Alguém pode me ajudar nessa questão de C++? não estou conseguindo construir o algorítmo corretamente.
5.92) Faça um algoritmo que leia a matrícula, nome, sexo e três notas dos alunos de uma escola e obtenha os seguintes resultados:
a) A matrícula da aluna que obteve a maior média.
b) A matrícula do aluno que obteve a menor média.
c) O percentual de mulheres na turma.
d) Quantos alunos foram aprovados, independente do sexo.
e) O percentual de alunas aprovadas.
Obs.: o flag é uma matrícula igual a 0 (zero).