omioni  id:omioni  



5,249    

-    

-    









#  (1)  

*2012  (13)  

*2013  (2)  

*2014  (1)  

*2015  (10)  

*2020  (1)  

*lifehack  (4)  

*  (9)  

*  (146)  

*  (1)  

*  (1)  

*  (2)  

*  (7)  

*  (1)  

*  (63)  

*  (6)  

*  (2)  

*  (6)  

*  (6)  

*  (9)  

*  (5)  

*使  (5)  

*  (126)  

*  (6)  

*  (3)  

*  (5)  

*  (1)  

*  (2)  

*  (22)  

*  (4646)  

*  (1)  

*  (1)  

.NET Framework  (10)  

BIBLO  (1)  

C#  (47)  

C++  (1)  

CD(4)  

CPU  (1)  

CSS  (7)  

DELL  (5)  

DVD  (4)  

EXE  (1)  

FMV  (1)  

FTP  (1)  

Fedora  (5)  

Fortran  (2)  

GPS  (1)  

GUI  (1)  

GalaxyTab  (2)  

Gmail  (1)  

Google App Script  (1)  

GoogleMap  (1)  

HDTV  (1)  

HTML  (2)  

KNOPPIX  (3)  

LAN  (1)  

MODx  (2)  

MPEG2  (3)  

MySQL  (1)  

NTSC  (1)  

Opera  (1)  

PHP  (13)  

PS3  (3)  

PSP go  (1)  

USB  (1)  

VNC  (1)  

Vine Linux  (2)  

VirtualPC  (9)  

Visual Studio  (1)  

W-ZERO3  (2)  

WEB  (13)  

WILLCOM  (1)  

WMP  (1)  

Windows Home Server  (3)  

Windows Server  (1)  

Windows Vista  (11)  

Windows XP  (12)  

XHTML  (1)  

android  (50)  

eclipse  (2)  

ffmpeg  (3)  

firmware  (1)  

iTunes  (1)  

java  (2)  

javascript  (3)  

linux  (24)  

pc(12)  

ubuntu  (5)  

vmware  (5)  

web  (10)  

windows  (27)  

windows mobile  (9)  

windows phone  (1)  

xml  (2)  

 (8)  

 (12)  

 (6)  

 (2)  

 (2)  

 (1)  

 (1)  

 (1)  

 (1)  

 (2)  

 (1)  

 (1)  

 (4)  

 (5)  

 (1)  

 (1)  

 (2)  

 (1)  

 (1)  

 (3)  

 (1)  

 (2)  

 (1)  

 (1)  

 (1)  

 (1)  

 (1)  

 (95)  

 (8)  

 (1)  

 (1)  

 (3)  

 (2)  

 (1)  

 (1)  

 (1)  

 (3)  

 (1)  

 (2)  

 (2)  

 (1)  

 (1)  

 (1)  

 (7)  

 (2)  

 (2)  

 (2)  

 (1)  

 (1)  

 (1)  

 (1)  

 (1)  

 (1)  

 (2)  

 (2)  

 (3)  

 (2)  

 (1)  

 (2)  

 (2)  

 (1)  

LAN  (6)  

 (1)  

 (1)  

 (1)  

 (2)  

 (1)  

 (1)  

 (1)  

 (1)  

 (1)  

 (1)  

 (3)  

 (1)  

 (1)  

*  (4646)  

*  (146)  

*  (126)  

 (95)  

*  (63)  

android  (50)  

C#  (47)  

windows  (27)  

linux  (24)  

*  (22)  


 


 (1)



 


 




C++omioni (1)  






C++ - Qiita  



2 users  

qiita.com/NatsukiLab  


 


 POD使   template<typename TYPE, std::size_t N> std::size_t numof(const TYPE (&)[N]){ return N; } int test[16]; double test2[8]; float test3[4]; int test4; myClass test5[256]; std::cout << numof(test) << std::endl; //16 std::cout << numof(test2) << std::endl; //8 std::cout << numof(test3) << std::endl; //4 std::cout << numof
 C++で静的配列の要素数を取得する - Qiita


omioni
omioni  2017/05/15  


C++


 



 














1











202464

   



202463

   



202462

   


 

Twitter



@HatenaBookmark


@hatebu

 









   




 



j

k

l

e

o
 

















 









 

















 









 









 







Pro



 




 






App Storeからダウンロード
Google Playで手に入れよう


Copyright © 2005-2024 Hatena. All Rights Reserved.
 



x