- Samsung Galaxy Watch - időtálló
- Mobil flották
- Szerkesztett és makrofotók mobillal
- Samsung Galaxy S22 és S22+ - a kis vagány meg a bátyja
- Apple iPhone 17 Pro Max – fennsík
- iPhone topik
- Android alkalmazások - szoftver kibeszélő topik
- Xiaomi Watch 2 Pro - oké, Google, itt vagyunk mi is
- Hitelesítették az S26 Ultra csalódást keltő telepét
- Merész dizájn és új teleobjektív az iPhone 17 Pro mobilokban
-
Mobilarena
Új hozzászólás Aktív témák
-
amargo
addikt
Az ostream-et csak friend két kezelhetet és csak const ként adhatod át, mint itt is írtad, viszont tudod template-ni
Így talán jobban megérted, nameg ha kipróbálod
struct WordCount
{
WordCount() : count(0) {};
std::string word;
int count;
friend std::ifstream& operator >> (std::ifstream& f, WordCount&
df);
friend std::ofstream& operator << (std::ofstream& f, const
WordCount& df);
};
std::ofstream& operator << (std::ofstream& f, const WordCount& df)
{
f << df.word <<
": " << df.count << std::endl;
return f;
}
std::ifstream& operator >> (std::ifstream& f, WordCount& df)
{
f >> df.word;
return f;
}
Új hozzászólás Aktív témák
● olvasd el a téma összefoglalót!
- Thrustmaster Ferrari F1 Wheel Add-On
- Új Apple Watch Ultra 2 Natural Titanium 49mm
- iKing.Hu - Apple iPhone 13 mini Kompakt erőgép, megbízható teljesítmény 256 GB
- Honor Magic V5 Ultravékony hajlítható, 120 Hz LTPO kijelzők 16/512 GB Garancia 2028. 08. 25-ig
- Bomba ár! Acer Aspire ES1 - AMD A8 I 8GB I 180GB SSD I 15,6" HD I HDMI I Cam I W10 I Garancia!
- Bontott, vadiúj, SKY BLUE MacBook Air 13.6" M4 10C/8G 16GB 256GB 13 Gar.: 1 év APPLE világgarancia
- AKCIÓ! HP EliteBook 830 G7 i5-10210U 16GB 512GB 1 év garancia
- GYÖNYÖRŰ iPhone 13 mini 128GB Midnight -1 ÉV GARANCIA - Kártyafüggetlen, MS3341, 94% Akkumulátor
- Clevo 1060 6GB Mxm 3.1 laptop videó kártya ingyen házhoz szálitással
- BESZÁMÍTÁS! Asrock B550M R7 5700X 32GB DDR4 512GB SSD RTX 3080 10GB ZALMAN S2 TG Cooler Master 750W
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest