-
Fototrend

Új hozzászólás Aktív témák
-
sghc_toma
senior tag
válasz
Draut_HeV
#3722
üzenetére
biztonsagosabb, mert ved a buffer overflow-k ellen azzal, hogy meg kell adni mereteket a fuggvenyeknek..
idezet az MSDN Library idevago oldalarol:
"The main difference between the secure functions (with the _s suffix) and the older functions is that the secure functions require the size of each c, C, s, S and [ type field to be passed as an argument immediately following the variable."
ennek megfeleloen az utolso sor igy nez ki helyesen fscanf_s-sel:fscanf_s(file, "%[^\t] \t %[^\t] \t %[^\t] \t %d \n", adat0, 64, adat1, 128, adat2, 256, &i);
Új hozzászólás Aktív témák
● olvasd el a téma összefoglalót!
- BESZÁMÍTÁS! Sony PlayStation 5 825GB SSD lemezes konzol fejhallgatóval garanciával hibátlan működés
- Sosemhasznált! HP OmniBook 5 Flip i5-1334U 16GB 512GB 14" áthajtós-érintős FHD+ Gar.: 1 év
- Apple iPhone 15 Pro 128GB, Kártyafüggetlen, 1 Év Garanciával
- Dell Latitude 7210 2-in-1 12" FHD touch, i7 10610U, 16GB RAM, 512GB SSD, jó akku, számla, 6 hó gar
- BESZÁMÍTÁS! LENOVO ThinkPad P15 Gen 2 munkaállomás - i7 11800H 32GB DDR4 512GB SSD Quadro T1200 W11
Állásajánlatok
Cég: Central PC számítógép és laptop szerviz - Pécs
Város: Pécs
Cég: Laptopműhely Bt.
Város: Budapest


