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 > io *odio* il C
Pages (2): « 1 [2]   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
jdhoring
Ma saggio de che?

User info:
Registered: May 2003
Posts: 2867 (0.35 al dì)
Location: Milano
Corso: Informatica triennale
Anno: Giurassico
Time Online: 27 Days, 17:36:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Perchè i programmatori giovani non li vogliono... per loro, se compila, allora funziona....

__________________
Furbo è colui che è molto bravo a togliersi da quei guai in cui il saggio non si sarebbe mai cacciato

Il bravo motociclista è come un buon amante: ha equilibrio, giudizio e tempismo.

Nessuna forma d'amore ha tanto rispetto per la libertà dell'altro come l'amicizia.

07-02-2005 16:58
Click Here to See the Profile for jdhoring Click Here to See the Blog of jdhoring Click here to Send jdhoring a Private Message Find more posts by jdhoring Add jdhoring to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.52 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by recoil
poi ci sono i puristi dell'ANSI C che ti uccidono se fai qualcosa che non è standard :D

Eh sì, perché nel manifesto c'è scritto che il ng tratta solo ANSI C.

Infatti spesso ti redirigono su gruppi come it.comp.programmare.win32 e su it.comp.os.linux.development.

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

07-02-2005 17:06
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yeah
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 1644 (0.20 al dì)
Location: Cologno Monzese
Corso: Informatica Magistrale
Anno: II
Time Online: 12 Days, 21:36:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged


uno mette = al posto di == ed è fregato, magari perde un sacco di tempo a capire come mai

Uno dei problemi più divertenti :)
cmq gcc avvisa: " warning: suggest parentheses around assignment used as truth value" ;)

Il massimo secondo me sono i puntatori a puntatori (o puntatori a puntatori a puntatori...) :crazy:

So non ti piace il C passa a VB, oppure a Pascal :asd:

__________________
?

Last edited by yeah on 07-02-2005 at 19:54

07-02-2005 19:52
Click Here to See the Profile for yeah Click here to Send yeah a Private Message Find more posts by yeah Add yeah to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.52 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by yeah
piace il C passa a VB, oppure a Pascal :asd:

Nooo il pascal??? perché?? è tanto carino!

Al massimo se non ti piace il C e non vuoi passare a VB, passa a Java....:asd:

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

07-02-2005 19:59
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
UZI
free pain dispenser

User info:
Registered: Mar 2003
Posts: 2211 (0.26 al dì)
Location: monza - troppi fighetti
Corso: com. dig.
Anno: Dottor Morte
Time Online: 14 Days, 4:46:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by DeepBlue
Nooo il pascal??? perché?? è tanto carino!

Al massimo se non ti piace il C e non vuoi passare a VB, passa a Java....:asd:


ma và!!! voi tutti siete indietro come scimmie da laboratorio!!! il linguaggio di programmazione definitivo è SQUEAK (chi ha fatto etl sà di cosa parlo) :asd: !!!

__________________
those who test will find a bullet in they chest
put ta rest
by a brotha who was hopeless
grow up broke on tha rope of insanity
how many pistols smoking coming from a broken family

07-02-2005 21:18
Click Here to See the Profile for UZI Click Here to See the Blog of UZI Click here to Send UZI a Private Message Find more posts by UZI Add UZI to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Napolux
-29 Kg da Settembre 2005

User info:
Registered: Jun 2002
Posts: 3666 (0.42 al dì)
Location: Giussano (MI)
Corso: F28
Anno: ???
Time Online: 21 Days, 19:29:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by cato

ma vaff...
che linguaggio di merda


Toglietemi tutto ma non il mio C...

UE' IO ADORO IL C.

A volte faccio sogni erotici con il manuale K&R :D

__________________
Napolux.com

08-02-2005 06:54
Click Here to See the Profile for Napolux Click Here to See the Blog of Napolux Click here to Send Napolux a Private Message Visit Napolux's homepage! Find more posts by Napolux Add Napolux to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
cato
Wild boys always shine

User info:
Registered: Nov 2001
Posts: 5608 (0.63 al dì)
Location: lecco
Corso: F28
Anno: dottore
Time Online: 38 Days, 5:42:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

per la serie io *odio* il C

perche' deve inizializzare le variabili a caso??

code:
void from_raw (unsigned_8 *Buffer, unsigned_32 *Message) { int index; /* converto da 8 -> 32 bit */ memset(Message,0,127); for(index=0;index<128;index++) { M essage[index]=Message[index]|Buffer[4*index+3]; Message[index]<<=8; Message[index]=Message[index]|Buffer[4*index+2]; Message[index]<<=8; Message[index]=Message[index]|Buffer[4*index+1]; Message[index]<<=8; Message[index]=Message[index]|Buffer[4*index]; printf(" %x\n",Message[index]); } }


e mi chiedevo ma perchediamine funziona perfettamente fino alla 31 word e poi va tutto a remengo?

risposta dopo un ora...
memset funziona a byte e non a word :grr: :grr:

__________________

code:
  , ,  | | Me@Flickr  [ov0] | | my photo Blog  {| |} |@| Pallavolo La Nuova Rossa Milano --"-"--| | -------| | "If You Can't Open It, You Don't Own It"

08-02-2005 15:37
Click Here to See the Profile for cato Click Here to See the Blog of cato Click here to Send cato a Private Message Visit cato's homepage! Find more posts by cato Add cato to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
jdhoring
Ma saggio de che?

User info:
Registered: May 2003
Posts: 2867 (0.35 al dì)
Location: Milano
Corso: Informatica triennale
Anno: Giurassico
Time Online: 27 Days, 17:36:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Perchè è meglio inizializzare a caso che a cazzo (Icome fa il COBOL ad esempio)... almeno il fatto che te le devi inizializzare tu e sempre è chiaro e limpido...

__________________
Furbo è colui che è molto bravo a togliersi da quei guai in cui il saggio non si sarebbe mai cacciato

Il bravo motociclista è come un buon amante: ha equilibrio, giudizio e tempismo.

Nessuna forma d'amore ha tanto rispetto per la libertà dell'altro come l'amicizia.

08-02-2005 15:42
Click Here to See the Profile for jdhoring Click Here to See the Blog of jdhoring Click here to Send jdhoring a Private Message Find more posts by jdhoring Add jdhoring to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yeah
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 1644 (0.20 al dì)
Location: Cologno Monzese
Corso: Informatica Magistrale
Anno: II
Time Online: 12 Days, 21:36:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged


perche' deve inizializzare le variabili a caso??


Non afferro. Devi inizializzare solo le variabili il cui primo utilizzo non è un assegnamento.

code:
memset(Message,0,127);

Penso tu stia saltando un byte, visto che nel for() ne usi 128

__________________
?

08-02-2005 19:52
Click Here to See the Profile for yeah Click here to Send yeah a Private Message Find more posts by yeah Add yeah to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
UZI
free pain dispenser

User info:
Registered: Mar 2003
Posts: 2211 (0.26 al dì)
Location: monza - troppi fighetti
Corso: com. dig.
Anno: Dottor Morte
Time Online: 14 Days, 4:46:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il C sta ad un programmatore come il bushido sta ad un samurai

__________________
those who test will find a bullet in they chest
put ta rest
by a brotha who was hopeless
grow up broke on tha rope of insanity
how many pistols smoking coming from a broken family

09-02-2005 10:00
Click Here to See the Profile for UZI Click Here to See the Blog of UZI Click here to Send UZI a Private Message Find more posts by UZI Add UZI to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 20:32.    Post New Thread    Post A Reply
Pages (2): « 1 [2]   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.092 seconds (75.44% PHP - 24.56% MySQL) con 23 query.