notturni
notturni
buona sera gente. ho fatto rifare la cinghia al pandino :D
sera
a sfuriare con il c++ che non mi funziona bene la funzione pause
Codice:#include <stdio.h> #include <STDLIB.h> #include <string.h> main() {char a[10],b[10],c[10]; printf("dammi 3 strighe \n"); scanf("%s %s %s",a,b,c); if((strcmp(a,b)==0)&&(strcmp(a,c)==0)) printf("le stringhe sono uguali"); else {if(strcmp(a,b)==0) printf("il primo e uguale a sececondo"); else {if(strcmp(a,c)==0) printf("il primo e il terzo sono uguali"); else {if(strcmp(b,c)==0) printf("il secondo e il terzo sono uguali"); else printf("sono tutti diversi"); system("pause"); } } } }
Dable - Lead (Davide Borgia Remix) buy on beatport.com
http://www.beatport.com/track/lead-d...-remix/3288465
We stand today at a crossroads: One path leads to despair and utter hopelessness. The other leads to total extinction. Let us hope we have the wisdom to make the right choice. (Woody Allen)
risolto così:
è un programma che date tre parole(stringhe) controlla se sono uguali. Scemo ma elementare per imparare il c++. Serviva ad un amico per un compitoCodice:#include <stdio.h> #include <stdlib.h> #include <string.h> main() { char a[10],b[10],c[10]; printf("dammi 3 strighe \n"); scanf("%s %s %s",a,b,c); if((strcmp(a,b)==0)&&(strcmp(a,c)==0)) { printf("le stringhe sono uguali"); } else { if(strcmp(a,b)==0) { printf("il primo e uguale a sececondo"); } else { if(strcmp(a,c)==0) { printf("il primo e il terzo sono uguali"); } else { if(strcmp(b,c)==0) { printf("il secondo e il terzo sono uguali"); } else { printf("sono tutti diversi"); } } } } system("pause"); }![]()
Dable - Lead (Davide Borgia Remix) buy on beatport.com
http://www.beatport.com/track/lead-d...-remix/3288465
We stand today at a crossroads: One path leads to despair and utter hopelessness. The other leads to total extinction. Let us hope we have the wisdom to make the right choice. (Woody Allen)
Capito...ne avevo fatto uno simile utilizzando excel..
Era piuttosto fighino in effetti..![]()
La giornata è dura ma non ci fa paura!!
non ci ho capito nulla,comunque..........e il coso che serve mo per portare i camion??? oltre alla patente?????
se sono incerto il gas lo tengo aperto
nel dubbio accelero
se vedo la paletta ci apro a manetta
vespa 50?? convinto tu...
hai problemi a starmi dietro?arrangiati...
così ?
Codice:Sub Duplicati(rng As Range) Dim K as Integer, A As Integer, B As Integer Dim Riscontro() ReDim Riscontro(rng.Rows.Count) For K = rng.Row To rng.Row + rng.Rows.Count - 1 Riscontro(K) = Cells(K, rng.Column).Value Next A = 0: B = 0 Do While A < UBound(Riscontro) Do While B < UBound(Riscontro) If A <> B And Riscontro(A) = Riscontro(B) Then Riscontro(A) = "" Debug.Print Riscontro(B) MsgBox "Duplicato " & Riscontro(B) Else B = B + 1 End If Loop B = 0 A = A + 1 Loop End Sub![]()
Dable - Lead (Davide Borgia Remix) buy on beatport.com
http://www.beatport.com/track/lead-d...-remix/3288465
We stand today at a crossroads: One path leads to despair and utter hopelessness. The other leads to total extinction. Let us hope we have the wisdom to make the right choice. (Woody Allen)