Cranston, Rhode Island (CNN) — At a young age, Nicholas Lowinger learned not to take things for granted. He was 5 years old and visiting…
Author: user
‘Broken’ veterans come behind strong
(CNN) — As he watched bleeding infantry being brought inside a sanatorium on stretchers, Michael Conklin couldn’t trust what he was seeing. “You see this…
Photos: In their possess words
After Dale Beatty, right, mislaid his legs in a Iraq war, his village thanked him for his use by assisting him build a home. To…
Photos: In their own words
After Dale Beatty, right, lost his legs in the Iraq war, his community thanked him for his service by helping him build a home. To…
10 extraordinary stories
.cnn_html_media_utility::before{color:red;content:’>>’;font-size:9px;line-height:12px;padding-right:1px} .cnnstrylccimg640{margin:0 27px 14px 0} .captionText{filter:alpha(opacity=100);opacity:1} .cnn_html_slideshow_media_caption a,.cnn_html_slideshow_media_caption a:visited,.cnn_html_slideshow_media_caption a:link,.captionText a,.captionText a:visited,.captiontext a:link{color:outline:medium none} .cnnVerticalGalleryPhoto{margin:0 auto;padding-right:68px;width:270px} ]]> After Dale Beatty, right, mislaid his legs in…
Ukraine protests spin deadly
A protester stands on tip of barricades in Ukraine’s collateral of Kiev on Tuesday, Jan 28. Long-running demonstrations escalated into aroused confrontations this month, with…
ML: Regrouper deux listes dans une seule
fun append([],[])=
[]
| append(list1, list2) =
case list1 of
[]=>list2
|x’::list’ => x’::append(list’, list2)
ML: Calculer la somme des élément d’une liste
fun sum_list([])= 0
| sum_list(list) =
case list of
[]=>0
|x’::list’ => x’+sum_list(list’)
ML: Trouver les nombres pairs d’une liste
fun exemple_tag([])=[]
| exemple_tag(x::list) =
let
fun is_odd(y:int)=
y mod 2=0
(*val new_list=exemple_tag(list)*)
in
case is_odd(x) of
Afficher l’adresse IP via la ligne de dommande
|
Pour obtenir votre adresse ip dans windows.
Allez dans démarrer-> Exécuter-> tapez "cmd"
Dans la fenêtre de ligne de commande
tapez "ipconfig "
|
