NGI.Home > Forum
  EOLO HOME  OFFERTE INTERNET WIRELESS EOLO  FORMULA ADSL
   
   
WEBMAIL
   
 
  > Register  
  > FAQ  
  > Members List  
 
  > Calendar  
  > Today's Posts  
   
 

Go Back   NGI Forum > Tech & Tech > Developer's Zone

Reply
 
Thread Tools Rate Thread
Old 16th December 2010, 01:04   #31
L3v1stus
Good Boy
 
L3v1stus's Avatar
 
Join Date: Mar 2010
Location: Shakeshakeshake
Posts: 16,651
Quote:
Originally Posted by CCCComboFapper! View Post
eh vai a sapere...
se metti delle lettere al posto dei numeri sbarella perchè si aspetta un numero e non una lettera....

ma anche te, in una calcolatrice fai i conti mica altro!
Sono un informatico, se non provo i casi peggiori/limite al primo utilizzo di un software mi viene l'ansia

Quote:
Originally Posted by Arësius View Post
molto bene ragazzi. chi ha risolto il secondo esercizio sarà felice di sapere che ha trovato il codone di inizio della sequenza codificante di una importante proteina del codice genetico di questo essere vivente:



Ma cosa cazz
__________________
Via del Lulz 1, 517569 Campobasso. 03/06/2010 I was there.
www.casualmanto.blogspot.it
Lode eterna
L3v1stus is offline   Reply With Quote
Old 16th December 2010, 01:25   #32
spkbri
PiriPiri ( A molla )
 
spkbri's Avatar
 
Join Date: Feb 2010
Location: Torino - Valenza (AL)
Posts: 10,181
Quote:
Originally Posted by Arësius View Post
@Combofapper: non avevo considerato il fatto che le stringhe potessero essere di lunghezze diverse. veramente bravo

Quote:
Originally Posted by L3v1stus View Post
Sono un informatico, se non provo i casi peggiori/limite al primo utilizzo di un software mi viene l'ansia
lo so, trollare i programmi piace anche a me.
se noti, nell'intestazione che viene stampata c'è scritto di mettere solo i numeri e i simboli elencati...
__________________
|||||||||| SoundCloud
La mia è una logica ferrea e sempre coerente, basta riuscire ad entrare nei suoi meccanismi, poi alla fine la capisci ||||||||- Licher, 2016
spkbri is offline   Reply With Quote
Old 16th December 2010, 09:15   #33
Pier4R
Ex falso quodlibet
 
Pier4R's Avatar
 
Join Date: Jul 2004
Location: equgpbc.r2.Frisia
Posts: 18,664
700 era facile, 3*7
__________________
Ngi the e.FlameeXperience .Fe ! ngi.agorà@twitter (sottoscrivi per essere incluso)
You must play online: warSow EnemyTerritory + etpro quake 4 + q4max & quake 3 + cpma & quakelive Teeworlds! hoi2series

Ringrazio i grammar nazi che mi fanno comprendere gli errori ; my.IL
; lettere porno
Pier4R is offline   Reply With Quote
Old 16th December 2010, 10:06   #34
Ray
Portatore del Cagnazzo
 
Ray's Avatar
 
Join Date: Jun 2000
Location: Modena
Posts: 6,292
Giusto per incoraggiarvi



Le fette verdi e azzurre sono macroscopicamente sovradimensionate
__________________
Ray, TnT Soldiers
Ray is offline   Reply With Quote
Old 16th December 2010, 10:14   #35
Arësius
Soft computer
 
Arësius's Avatar
 
Join Date: Feb 2000
Posts: 67,351
Quote:
Originally Posted by L3v1stus View Post
Ma cosa cazz
dai, simpatico no?
__________________
Lode a Bacco, in saecula saeculorum.
Emergent
Arësius is offline   Reply With Quote
Old 16th December 2010, 13:21   #36
L3v1stus
Good Boy
 
L3v1stus's Avatar
 
Join Date: Mar 2010
Location: Shakeshakeshake
Posts: 16,651
Quote:
Originally Posted by Pier4R View Post
700 era facile, 3*7
__________________
Via del Lulz 1, 517569 Campobasso. 03/06/2010 I was there.
www.casualmanto.blogspot.it
Lode eterna
L3v1stus is offline   Reply With Quote
Old 16th December 2010, 13:29   #37
Knu
(\/) (;,,;) (\/)
 
Knu's Avatar
 
Join Date: Jan 2009
Location: Mantova/Verona/Brescia
Posts: 5,704
Quote:
Originally Posted by L3v1stus View Post
perchè se uno sbaglia l'imput parte in loop infinito?!
bocciato e revoca della patente di guida come pena aggiuntiva












__________________
· My Steam ·
Knu is offline   Reply With Quote
Old 16th December 2010, 13:51   #38
Pier4R
Ex falso quodlibet
 
Pier4R's Avatar
 
Join Date: Jul 2004
Location: equgpbc.r2.Frisia
Posts: 18,664
Quote:
Originally Posted by L3v1stus View Post
non ho capito perchè asdi!!!!
__________________
Ngi the e.FlameeXperience .Fe ! ngi.agorà@twitter (sottoscrivi per essere incluso)
You must play online: warSow EnemyTerritory + etpro quake 4 + q4max & quake 3 + cpma & quakelive Teeworlds! hoi2series

Ringrazio i grammar nazi che mi fanno comprendere gli errori ; my.IL
; lettere porno
Pier4R is offline   Reply With Quote
Old 16th December 2010, 14:19   #39
L3v1stus
Good Boy
 
L3v1stus's Avatar
 
Join Date: Mar 2010
Location: Shakeshakeshake
Posts: 16,651
Quote:
Originally Posted by Knu View Post
bocciato e revoca della patente di guida come pena aggiuntiva












Me ne ero accorto ma troppo antipigro correggerlo ho lasciato così e baffangulo sapevo che qualcuno mi avrebbe crocifisso
Quote:
Originally Posted by Pier4R View Post
non ho capito perchè asdi!!!!
3*7=700?! SRSLY!?
__________________
Via del Lulz 1, 517569 Campobasso. 03/06/2010 I was there.
www.casualmanto.blogspot.it
Lode eterna
L3v1stus is offline   Reply With Quote
Old 16th December 2010, 14:38   #40
Pier4R
Ex falso quodlibet
 
Pier4R's Avatar
 
Join Date: Jul 2004
Location: equgpbc.r2.Frisia
Posts: 18,664
Quote:
Originally Posted by L3v1stus View Post


3*7=700?! SRSLY!?


la frase prolissa sarebbe stata: capire le motivazioni del 700 era facile, 3*700=2100 la sequenza è di 2000 e quindi fitta bene (come numero tondo).

Pensar male è un attimo.
__________________
Ngi the e.FlameeXperience .Fe ! ngi.agorà@twitter (sottoscrivi per essere incluso)
You must play online: warSow EnemyTerritory + etpro quake 4 + q4max & quake 3 + cpma & quakelive Teeworlds! hoi2series

Ringrazio i grammar nazi che mi fanno comprendere gli errori ; my.IL
; lettere porno
Pier4R is offline   Reply With Quote
Old 16th December 2010, 18:29   #41
L3v1stus
Good Boy
 
L3v1stus's Avatar
 
Join Date: Mar 2010
Location: Shakeshakeshake
Posts: 16,651
Ok, così è già più chiaro
__________________
Via del Lulz 1, 517569 Campobasso. 03/06/2010 I was there.
www.casualmanto.blogspot.it
Lode eterna
L3v1stus is offline   Reply With Quote
Old 17th December 2010, 15:07   #42
[En][gma]
Registered User
 
[En][gma]'s Avatar
 
Join Date: Dec 2001
Posts: 2,929
ES1:
Spoiler:
Code:
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char* argv[]){
    char parola1[20];
    char parola2[20];
    int i;

    printf("inserisci una parola di massimo 18 caratteri: ");
    scanf("%s", &parola1);
    
    printf("inserisci un'altra parola di massimo 18 caratteri: ");
    scanf("%s", &parola2);
    
    for (i=0; i<20; i++){
        printf("%c - %c\n", parola1[i], parola2[i]);
        }
    system("pause");
    return 0;
}

c'è il problema che se metto meno parole del previsto poi mi visualizza altre cose in memoria ovviamente...

ES2:
Spoiler:
Code:
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char* argv[]){
    int i; //variabile d'incremento per ciclo for
    int nseq=0;   //variabile in cui memorizzare quante volte ATG appare nella stringa
    char sequenza[2000]="GACTTCGTGATTTCTCATTCAGCTTATTCGAGACCATAGTGTAATCATCCAACATGGGCAAGGAAAAGATTCACATTAACATTGTCGTGATCGGACACGTCGATTCCGGTAAGTCGACCACCACCGGACACTTGATCTACAAGTGCGGTGGTATCGACAAGCGTACCATCGAGAAGTTCGAGAAGGAGGCCCAGGAGATGGGAAAGGGATCCTTCAAGTACGCCTGGGTTTTGGATAAGTTGAAGGCTGAGCGCGAGCGTGGTATCACCATCGATATCGCCCTGTGGAAGTTCGAAACTGCCAAGTACTACGTGACCATCATTGATGCCCCCGGACACAGGGATTTCATCAAGAACATGATCACTGGTACCTCGCAGGCCGATTGCGCCGTGCTGATTGTCGCCGCCGGAACCGGAGAATTCGAGGCAGGTATCTCGAAGAACGGCCAGACCCGCGAGCACGCCCTGCTCGCCTTCACCCTGGGTGTGAAGCAGCTGATCGTTGGTGTGAACAAGATGGACTCCTCCGAGCCACCATACAGCGAGGCCCGTTATGAGGAAATCAAGAAGGAAGTGTCCTCTTACATCAAGAAGATCGGCTACAACCCAGCCGCCGTTGCCTTCGTGCCCATTTCCGGATGGCACGGCGACAACATGTTGGAACCCTCTACCAACATGCCCTGGTTCAAGGGATGGAAGGTGGAGCGCAAGGAGGGTAACGCTGACGGCAAGACCCTGATCGATGCCCTCGATGCCATCCTTCCCCCAGCCCGTCCCACCGACAAGGCCCTGCGTCTGCCCCTGCAGGATGTGTACAAAATTGGCGGTATTGGAACAGTACCCGTGGGTCGTGTGGAGACTGGTGTGCTGAAGCCCGGTACCGTTGTGGTCTTCGCCCCTGCTAACATCACCACTGAGGTCAAGTCCGTGGAGATGCACCACGAGGCCCTGCAGGAGGCCGTTCCCGGAGACAACGTTGGCTTCAACGTCAAGAACGTGTCCGTGAAGGAGCTGCGTCGTGGCTACGTTGCCGGTGACTCCAAGGCTAACCCCCCCAAGGGAGCCGCCGACTTCACCGCCCAGGTCATCGTGCTGAACCACCCCGGTCAGATTGCCAACGGCTACACCCCCGTGTTGGATTGCCACACCGCTCACATTGCTTGCAAGTTCGCTGAGATCAAGGAGAAGGTCGACCGTCGTTCCGGCAAGACCACCGAGGAGAACCCCAAGTTCATCAAGTCTGGCGATGCTGCCATCGTCAACCTGGTGCCCTCTAAGCCCCTGTGCGTGGAGGCCTTCCAGGAGTTCCCCCCTCTGGGTCGCTTCGCTGTGCGTGACATGAGGCAGACCGTGGCTGTCGGTGTCATTAAGGCTGTCAACTTCAAGGATGCCTCCGGTGGCAAGGTCACCAAGGCCGCCGAGAAGGCCACCAAGGGCAAGAAGTAGCTGGTTTGCTTCCACTCAACAACAACAACAACACGCAGTAGTAGCAGCAACAACAAGCATATAACCAACATCATAATGCAGCCAACAACACCACTCAATAATACCAGCAACAGCAGCAGCGAACACAATAGTAGTATAACACCAACACCTGTCCTGCGCAAGATGACCGATAAGATGATGTTTCAGCAGAAGCATAAGTTTAATTTCTTCCATCGAAAGGAGTTTCGACGGATACGAATGCTAAATGCAGACGAGGCCGCCTAAATTGGGAAACGGTGGATCCCAAGGATAAGAGTGCACACTGGGAAAACACTTGCATTTATGCATCCACTCCTCATCCACTTCCCCGTCGATCTTTAGTTTACTAAATATGGTATGATGCACGGAGTTGACTTCGTTTTATCATATCATATATAGGAATCCTCTGTAGCATTTATGATATCGTTTAAATTAACCTTTATACTTTGATATGTATCATTTATCTTACCCTACTTTTGCACACACTACTTTGTACACAAGAAAAGAACCAGAATAGAAGCGATAACTATATTTAC";
    
    for (i=0; i<2000; i++){
        if (sequenza[i] == 'A' && sequenza[i+1] == 'T' && sequenza[i+2] == 'G'){
                        printf("sequenza ATG trovata in posizione %d\n", i);
                        nseq += 1;
                        }
    }
    printf("Sequenza ATG trovata: %d volte\n", nseq);
    
    system("pause");
    return 0;
}

__________________
.: NoS - Nitrous Oxide System :.

Last edited by [En][gma]; 17th December 2010 at 15:13.
[En][gma] is offline   Reply With Quote
Old 17th December 2010, 15:24   #43
Arësius
Soft computer
 
Arësius's Avatar
 
Join Date: Feb 2000
Posts: 67,351
molto, molto bene
__________________
Lode a Bacco, in saecula saeculorum.
Emergent
Arësius is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:46.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 1998-2014 by NGI SpA