View Single Post
Staro 25.03.2008., 01:09   #16
munst0r
Premium
Moj komp
 
munst0r's Avatar
 
Datum registracije: Mar 2004
Lokacija: Bjelovar/Zagreb
Postovi: 357
Citiraj:
Autor mfolnovic Pregled postova
ajoj ljudi ...
string se ucitava s %s, ali gore si stavio referencu, znaci &r1, sto ne radi, da si stavio samo scanf("%s", r1), radilo bi, scanf sam overload-a r1 u *char, pa kad se ucita, spremi se normalno u string r1 ...
Ma ajde ne pricaj bedastoce... Samo ces jos zbuniti nekoga...

1) Kao sto rekoh, string tip se ne ucitava sa scanf...
2) Ovo tvoje (bez &) je jos veca glupost od originala...
munst0r je offline   Reply With Quote