Posts by Cayo Da Silva Lima • 366 points
16 posts
-
2
votes0
answers31
viewsQ: XSD with Schema with Restriction "Pattern, enumeration, max and min" Java
I’m trying to generate a wsdl where it will generate a xsd reflecting the classes of entities. The problem is, I can’t generate the Restriction in xsd as required by each property of the appropriate…
-
-1
votes1
answer151
viewsA: how to make the function follow a sequence?
Transform these numbers to parameters and pass random numbers whenever calling the function, if you put the same numbers will always returns the same thing, I advise to take the time of the system…
-
0
votes0
answers214
viewsQ: How to insert a signature in outlook via c#
Hello, I am trying to add a signature to an object that sends email, I am able to do everything but the subscription... Follow the Code, any light will be welcome. OutLook._Application outlookObj =…
-
1
votes4
answers801
viewsA: How to use switch in C?
The Operator opt is a variable, yes it is necessary is like a if() by placing it there it will take the value of this variable and compare with the CASE If you don’t find anything you’ll fall into…
-
4
votes1
answer54
viewsA: How do I write information on the same line without creating a new one?
Clean the screen and recreate what is in it, this is one of the possible solutions import os os.system('cls');
python-3.xanswered Cayo Da Silva Lima 366 -
1
votes3
answers737
viewsA: Temperature converter
You are Confusing with Formula and the type of variable used, here is the code #include <iostream> #include <cstdlib> #include <string.h> #include <math.h> using namespace…
-
0
votes3
answers116
viewsA: Why is it not possible to assign a string vector after being declared a character?
A vector in C of declares this way: tipo vetor[TAMANHO]; the TYPE would be the type of variable that will be that vector as integer, char, etc. remembering that String does not exist in the C, What…
-
3
votes2
answers42
viewsA: How to Update in 3 lines in a query
Simple use update with WHERE with as many conditions as necessary using relational operators in this case the OR UPDATE table1 SET Ordinal = 'º' WHERE id = 13 OR id = 14 OR 15 Or use the IN which…
sql-serveranswered Cayo Da Silva Lima 366 -
1
votes2
answers410
viewsA: How to merge these 2 SELECT into a single query
Another solution would be to create seasons and then make the third select them SELECT DATE(MAN.relManu_data_registro) AS DATA, count(MAN.relManu_id) AS TOTAL_MAN INTO #TEMP1 FROM…
-
1
votes2
answers1078
viewsA: How to count specific characters
It can be done that way too, as in C no boolean, we create one using integer variables: #include <stdio.h> #include <string.h> int main(int argc, char** argv) { char nome[100]; char…
canswered Cayo Da Silva Lima 366 -
-1
votes2
answers54
viewsA: View counter
Create a database and every time someone accesses your page you increase a record in some table in the database, or else you do it in a local file and always check either the bank or the file when…
phpanswered Cayo Da Silva Lima 366 -
3
votes3
answers33840
viewsA: C - how to calculate the factorial of a number?
You take the value that will serve as reference in the case I am using the N Right after we create a FOR where it will repeat itself until the N be equal to 1, making inside the body of FOR the…
-
3
votes3
answers1235
viewsA: Replace value null
Only use the ISNULL SELECT ISNULL(tabela1.data,'1900') (SELECT TOP 1 tabela1.data FROM tabela1 tabela1 WHERE tabela1.id = tabela2.id) as data FROM tabela2 tabela2…
-
0
votes1
answer2095
viewsQ: How to verify that "DLL" files was successfully registered
I need to check if the process has been run successfully, in case the extensions it will try to register are: .DLL .OCX The Code I’m using to register is this: string pathcli = copiar + nomedofonte;…
-
2
votes1
answer41
viewsQ: What is the property of a COM+ component "Remote Server Name"
I’m having a problem finding the name of the property of COM+ so I can change the content of it, by my researches I need to know the correct name of the value of the parameter to be able to change…
c#asked Cayo Da Silva Lima 366 -
-1
votes1
answer75
viewsA: Is there any way to improve the performance of this code?
First, please put the problem also to evaluate us, I suppose this problem is someone from the right URI? But looking at your code looks like it could be improved in some ways for(j = 0; j < 3;…
canswered Cayo Da Silva Lima 366