Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [PROGRAMMAZIONE] Domanda veramente ma veramente da novellino
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[PROGRAMMAZIONE] Domanda veramente ma veramente da novellino

Salve a tutti gli smanettoni, oggi ho provato a scrivere il mio primo programma in C usando Linux. Ebbene, sono riuscito a mandarlo in crash... :shock:
Ho usato Emacs come editor di testo, ho compilato scrivendo da riga di comando gcc server.c e mi ha creato in uscita un file a.out. Preso di sprovvista ho scritto da riga di comando ./a.out e lì mi è crashato tutto!

Dove ho sbagliato? Cosa avrei dovuto fare invece? Perchè sono così coglione? :D

Ora sto provando ad installare Cygwin per usare ste cavolo di socket... speriamo in bene!

Grazie e ciaooooooo

Ale

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

11-05-2004 17:37
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Ryudo
.precettore.

User info:
Registered: Apr 2003
Posts: 85 (0.01 al dì)
Location: Arcore
Corso: Informatica
Anno: 1
Time Online: 3 Days, 8:05:43 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

diciamo che sarebbe di aiuto conoscere il listato del programma :)

11-05-2004 19:30
Click Here to See the Profile for Ryudo Click here to Send Ryudo a Private Message Visit Ryudo's homepage! Find more posts by Ryudo Add Ryudo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
recoil
dsy adminz

User info:
Registered: Mar 2002
Posts: 4454 (0.53 al dì)
Location: Milano / Erba
Corso: TICOM
Anno: laureato
Time Online: 61 Days, 16:17:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scusa ma con crashato tutto intendi il tuo programma o l'intero sistema? :D

perché di recente è capitato anche a me di avere un crash irreparabile in linux, roba incredibile!!!

11-05-2004 20:13
Click Here to See the Profile for recoil Click here to Send recoil a Private Message Visit recoil's homepage! Find more posts by recoil Add recoil to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Intendo proprio tutto il sistema! :shock:

Il mio listato era il codice per un client/server usando il protocollo TCP perfettamente funzionante perchè testato su altri sistemi! :(

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

11-05-2004 20:21
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
recoil
dsy adminz

User info:
Registered: Mar 2002
Posts: 4454 (0.53 al dì)
Location: Milano / Erba
Corso: TICOM
Anno: laureato
Time Online: 61 Days, 16:17:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

guarda che dice in /var/log/message

non riuscivi più a muovere il mouse e a entrare in una console?

11-05-2004 20:32
Click Here to See the Profile for recoil Click here to Send recoil a Private Message Visit recoil's homepage! Find more posts by recoil Add recoil to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Ryudo
.precettore.

User info:
Registered: Apr 2003
Posts: 85 (0.01 al dì)
Location: Arcore
Corso: Informatica
Anno: 1
Time Online: 3 Days, 8:05:43 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ripe
Intendo proprio tutto il sistema! :shock:

Il mio listato era il codice per un client/server usando il protocollo TCP perfettamente funzionante perchè testato su altri sistemi! :(


non saprei, se te lo fa sempre prova ad utilizzare un kernel piu' aggiornato, altrimenti, se puoi, posta il codice.

11-05-2004 20:59
Click Here to See the Profile for Ryudo Click here to Send Ryudo a Private Message Visit Ryudo's homepage! Find more posts by Ryudo Add Ryudo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ero in Silab... il pc era inutilizzabile (mouse e tastiera non rispondevano, l'orologio non avanzava)! :)

Comunque grazie per l'aiuto, di Linux non so proprio una mazza. Dopodomani provo Knoppix o Lindows da cd e vediamo se fa la stessa cosa sul mio piccì!

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

11-05-2004 22:33
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
devil
.grande:maestro.

User info:
Registered: Dec 2002
Posts: 555 (0.07 al dì)
Location: .:AR:.
Corso: Banking & Finance
Anno: Finito da un bel po'!
Time Online: 11 Days, 5:41:55 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

dovevi specificare il file di output

es. gcc -o filedioutput server.c

poi mandavi in esecuzione il file ./filedioutput

in teoria dovrebbe andare, poi dipende sempre che programma hai scritto...

__________________
: my Personal Site :
: : Community Aronese :


10-06-2004 14:40
Click Here to See the Profile for devil Click Here to See the Blog of devil Click here to Send devil a Private Message Visit devil's homepage! Find more posts by devil Add devil to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
CLod
JAILED

User info:
Registered: May 2002
Posts: 2688 (0.32 al dì)
Location: una delle 2 torri
Corso: Master ICT Sec
Anno: security
Time Online: 14 Days, 23:33:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

a me è capitato una volta una cosa del genere ma xkè avevo fatto casino con le fork, e si trattata proprio di un programma client/server basato su socket TCP/IP

__________________
Se il pugno e' chiuso la mano e' vuota. Solo se la mano e' aperta puoi possedere tutto

10-06-2004 15:00
Click Here to See the Profile for CLod Click Here to See the Blog of CLod Click here to Send CLod a Private Message Find more posts by CLod Add CLod to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 04:19.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.067 seconds (69.90% PHP - 30.10% MySQL) con 25 query.