![]() |
Pages (28): « First ... « 9 10 11 12 [13] 14 15 16 17 » ... Last » Show 150 posts per page |
.dsy:it. (http://www.dsy.it/forum/)
- Algoritmi e strutture dati (http://www.dsy.it/forum/forumdisplay.php?forumid=207)
-- Progetto "FACCIALIBRO" (http://www.dsy.it/forum/showthread.php?threadid=37551)
Originally posted by Bloom
Ma voi riuscite a far stampare le virgole nella stampa dei profili in modo corretto?
Io non ci riesco!!!!
Nella stampa.....Ah nooo
Ma che cosa ho guardato?Ero convinta che ci fossero...mi sa che me le sono sognate.
Le operazioni con ? vi escono giuste?
Originally posted by Bloom
Nella stampa.....Ah nooo
Ma che cosa ho guardato?Ero convinta che ci fossero...mi sa che me le sono sognate.
Le operazioni con ? vi escono giuste?
Nella prima versione di faccialibro avevo visto le virgole ,ma magari mi sono sbagliata
Ma ragazzi.. voi compilate con gcc -ansi progetto.c??
Perchè a me in tal caso da almeno (non scherzo) 100 warning....

__________________
"Amor, ch’a nullo amato amar perdona, mi prese del costui piacer sì forte che, come vedi, ancor non m’abbandona."
*Dante*
su linux:
gcc -ansi nomeprogetto.c -o nomeprogetto
per windows:
gcc -ansi -o progetto progetto.c
Merda!
..e adesso come faccio????
..se li lascio sarà grave???
__________________
"Amor, ch’a nullo amato amar perdona, mi prese del costui piacer sì forte che, come vedi, ancor non m’abbandona."
*Dante*
State attenti alle indicazioni di iuz-lab, a volte esce fuori tema.
Originally posted by Joy88
Merda!
..e adesso come faccio????
..se li lascio sarà grave???
Se proprio vuoi vederli... ![]()
progetto.c:1538: error: `trovato' previously defined here
progetto.c:1562: warning: data definition has no type or storage class
progetto.c:1563: error: parse error before '}' token
progetto.c:1564: error: redefinition of `g'
progetto.c:1542: error: `g' previously defined here
progetto.c:1564: error: invalid type argument of `->'
progetto.c:1564: warning: data definition has no type or storage class
progetto.c:1565: error: parse error before '}' token
progetto.c:1566: error: redefinition of `g'
progetto.c:1564: error: `g' previously defined here
progetto.c:1566: error: initializer element is not constant
progetto.c:1566: warning: data definition has no type or storage class
progetto.c:1567: error: parse error before '}' token
progetto.c:1570: error: redefinition of `a3'
progetto.c:1513: error: `a3' previously defined here
progetto.c:1570: error: invalid type argument of `->'
progetto.c:1570: warning: data definition has no type or storage class
progetto.c:1571: error: parse error before '}' token
progetto.c:1572: error: redefinition of `a3'
progetto.c:1570: error: `a3' previously defined here
progetto.c:1572: error: initializer element is not constant
progetto.c:1572: warning: data definition has no type or storage class
progetto.c:1573: error: parse error before '}' token
progetto.c:1575: error: redefinition of `a2'
progetto.c:1260: error: `a2' previously defined here
progetto.c:1575: error: invalid type argument of `->'
progetto.c:1575: warning: data definition has no type or storage class
progetto.c:1576: error: parse error before '}' token
progetto.c:1577: error: redefinition of `a2'
progetto.c:1575: error: `a2' previously defined here
progetto.c:1577: error: initializer element is not constant
progetto.c:1577: warning: data definition has no type or storage class
progetto.c:1578: error: parse error before '}' token
progetto.c:1604: error: redefinition of `trovato'
progetto.c:1562: error: `trovato' previously defined here
progetto.c:1604: warning: data definition has no type or storage class
progetto.c:1605: error: parse error before '}' token
progetto.c:1606: error: redefinition of `g'
progetto.c:1566: error: `g' previously defined here
progetto.c:1606: error: invalid type argument of `->'
progetto.c:1606: warning: data definition has no type or storage class
progetto.c:1607: error: parse error before '}' token
progetto.c:1608: error: redefinition of `g'
progetto.c:1606: error: `g' previously defined here
progetto.c:1608: error: initializer element is not constant
progetto.c:1608: warning: data definition has no type or storage class
progetto.c:1609: error: parse error before '}' token
progetto.c:1628: error: redefinition of `trovato'
progetto.c:1604: error: `trovato' previously defined here
progetto.c:1628: warning: data definition has no type or storage class
progetto.c:1629: error: parse error before '}' token
progetto.c:1630: error: redefinition of `g'
progetto.c:1608: error: `g' previously defined here
progetto.c:1630: error: invalid type argument of `->'
progetto.c:1630: warning: data definition has no type or storage class
progetto.c:1631: error: parse error before '}' token
progetto.c:1632: error: redefinition of `g'
progetto.c:1630: error: `g' previously defined here
progetto.c:1632: error: initializer element is not constant
progetto.c:1632: warning: data definition has no type or storage class
progetto.c:1633: error: parse error before '}' token
progetto.c:1636: error: redefinition of `a3'
progetto.c:1572: error: `a3' previously defined here
progetto.c:1636: error: invalid type argument of `->'
progetto.c:1636: warning: data definition has no type or storage class
progetto.c:1637: error: parse error before '}' token
progetto.c:1638: error: redefinition of `a3'
progetto.c:1636: error: `a3' previously defined here
progetto.c:1638: error: initializer element is not constant
progetto.c:1638: warning: data definition has no type or storage class
progetto.c:1640: error: parse error before "if"
progetto.c:1669: error: redefinition of `trovato'
progetto.c:1628: error: `trovato' previously defined here
progetto.c:1669: warning: data definition has no type or storage class
progetto.c:1670: error: parse error before '}' token
progetto.c:1671: error: redefinition of `g'
progetto.c:1632: error: `g' previously defined here
progetto.c:1671: error: invalid type argument of `->'
progetto.c:1671: warning: data definition has no type or storage class
progetto.c:1672: error: parse error before '}' token
progetto.c:1673: error: redefinition of `g'
progetto.c:1671: error: `g' previously defined here
progetto.c:1673: error: initializer element is not constant
progetto.c:1673: warning: data definition has no type or storage class
progetto.c:1674: error: parse error before '}' token
progetto.c:1693: error: redefinition of `trovato'
progetto.c:1669: error: `trovato' previously defined here
progetto.c:1693: warning: data definition has no type or storage class
progetto.c:1694: error: parse error before '}' token
progetto.c:1695: error: redefinition of `g'
progetto.c:1673: error: `g' previously defined here
progetto.c:1695: error: invalid type argument of `->'
progetto.c:1695: warning: data definition has no type or storage class
progetto.c:1696: error: parse error before '}' token
progetto.c:1697: error: redefinition of `g'
progetto.c:1695: error: `g' previously defined here
progetto.c:1697: error: initializer element is not constant
progetto.c:1697: warning: data definition has no type or storage class
progetto.c:1698: error: parse error before '}' token
progetto.c:1701: error: redefinition of `a3'
progetto.c:1638: error: `a3' previously defined here
progetto.c:1701: error: invalid type argument of `->'
progetto.c:1701: warning: data definition has no type or storage class
progetto.c:1702: error: parse error before '}' token
progetto.c:1703: error: redefinition of `a3'
progetto.c:1701: error: `a3' previously defined here
progetto.c:1703: error: initializer element is not constant
progetto.c:1703: warning: data definition has no type or storage class
progetto.c:1704: error: parse error before '}' token
progetto.c:1728: error: redefinition of `trovato'
progetto.c:1693: error: `trovato' previously defined here
progetto.c:1728: warning: data definition has no type or storage class
progetto.c:1729: error: parse error before '}' token
progetto.c:1730: error: redefinition of `g'
progetto.c:1697: error: `g' previously defined here
progetto.c:1730: error: invalid type argument of `->'
progetto.c:1730: warning: data definition has no type or storage class
progetto.c:1731: error: parse error before '}' token
progetto.c:1732: error: redefinition of `g'
progetto.c:1730: error: `g' previously defined here
progetto.c:1732: error: initializer element is not constant
progetto.c:1732: warning: data definition has no type or storage class
progetto.c:1733: error: parse error before '}' token
progetto.c:1752: error: redefinition of `trovato'
progetto.c:1728: error: `trovato' previously defined here
progetto.c:1752: warning: data definition has no type or storage class
progetto.c:1753: error: parse error before '}' token
progetto.c:1754: error: redefinition of `g'
progetto.c:1732: error: `g' previously defined here
progetto.c:1754: error: invalid type argument of `->'
progetto.c:1754: warning: data definition has no type or storage class
progetto.c:1755: error: parse error before '}' token
progetto.c:1756: error: redefinition of `g'
progetto.c:1754: error: `g' previously defined here
progetto.c:1756: error: initializer element is not constant
progetto.c:1756: warning: data definition has no type or storage class
progetto.c:1757: error: parse error before '}' token
progetto.c:1760: error: redefinition of `a3'
progetto.c:1703: error: `a3' previously defined here
progetto.c:1760: error: invalid type argument of `->'
progetto.c:1760: warning: data definition has no type or storage class
progetto.c:1761: error: parse error before '}' token
progetto.c:1762: error: redefinition of `a3'
progetto.c:1760: error: `a3' previously defined here
progetto.c:1762: error: initializer element is not constant
progetto.c:1762: warning: data definition has no type or storage class
progetto.c:1763: error: parse error before '}' token
progetto.c:1765: error: redefinition of `a2'
progetto.c:1577: error: `a2' previously defined here
progetto.c:1765: error: invalid type argument of `->'
progetto.c:1765: warning: data definition has no type or storage class
progetto.c:1766: error: parse error before '}' token
progetto.c:1767: error: redefinition of `a2'
progetto.c:1765: error: `a2' previously defined here
progetto.c:1767: error: initializer element is not constant
progetto.c:1767: warning: data definition has no type or storage class
progetto.c:1768: error: parse error before '}' token
progetto.c:1771: error: redefinition of `a'
progetto.c:1370: error: `a' previously defined here
progetto.c:1771: error: invalid type argument of `->'
progetto.c:1771: warning: data definition has no type or storage class
progetto.c:1772: error: parse error before '}' token
progetto.c:1773: error: redefinition of `a'
progetto.c:1771: error: `a' previously defined here
progetto.c:1773: error: initializer element is not constant
progetto.c:1773: warning: data definition has no type or storage class
progetto.c:1774: error: parse error before '/' token
progetto.c:1774: error: stray '\350' in program
progetto.c:1796: error: parse error before '/' token
progetto.c:1798: error: conflicting types for `c'
progetto.c:968: error: previous declaration of `c'
progetto.c:1798: error: conflicting types for `p'
progetto.c:1312: error: previous declaration of `p'
progetto.c:1800: error: parse error before "for"
progetto.c:1803: error: `i' undeclared here (not in a function)
progetto.c:1803: error: conflicting types for `group'
progetto.c:1798: error: previous declaration of `group'
progetto.c:1803: warning: data definition has no type or storage class
progetto.c:1804: error: `i' undeclared here (not in a function)
progetto.c:1804: error: conflicting types for `p'
progetto.c:1798: error: previous declaration of `p'
progetto.c:1804: warning: data definition has no type or storage class
progetto.c:1805: error: parse error before '}' token
progetto.c:1827: warning: parameter names (without types) in function declaratio
n
progetto.c:1827: error: conflicting types for `grado_amico'
progetto.c:978: error: previous declaration of `grado_amico'
__________________
"Amor, ch’a nullo amato amar perdona, mi prese del costui piacer sì forte che, come vedi, ancor non m’abbandona."
*Dante*
..e attenzione.. non sono mica tutti.. 
__________________
"Amor, ch’a nullo amato amar perdona, mi prese del costui piacer sì forte che, come vedi, ancor non m’abbandona."
*Dante*
Originally posted by Joy88
..e attenzione.. non sono mica tutti..![]()
struct prova {
int campo;
}
typedef struct prova chiave;
chiave *k;
k->campo;
progetto.c:1563: error: parse error before '}' token
Ci sono tante ridefinizioni a quanto si vede....stai attento a non ridefinire tipi,funzioni già definiti in precedenza altrimenti va tutto in conflitto....C non è come Java che potevi avere più funzioni con lo stesso nome e argomenti diversi,non esiste overloading!
Ragazzi con il dev c mi funziona senza warning nè niente..
se non metto -ansi funziona con pochissimi warning (che pensavo di lasciare) anche da riga di comando..
quindi direi che non mancano nè parentesi, nè punti e virgola..
..hyperion alla 1570 c'è: a3 = a3->next_a;
dove a3 è struct lista_amicizie *a3=a; e next_a è struct lista_amicizie *next_a=a;
Non so...
se dichiaro delle variabili locali con lo stesso nome in diverse funzioni non dovrebbe dare overloading no?!
__________________
"Amor, ch’a nullo amato amar perdona, mi prese del costui piacer sì forte che, come vedi, ancor non m’abbandona."
*Dante*
| All times are GMT. The time now is 14:22. | Pages (28): « First ... « 9 10 11 12 [13] 14 15 16 17 » ... Last » Show all 417 posts from this thread on one page |
Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.