2007-07-01ãã1ã¶æéã®è¨äºä¸è¦§
fptostr.c ããC++ ã§æ¸ãç´ãã¦ã¿ãã ããã§ããCHAR_BIT ã 4 ã®åæ°ã®å ´åã«ãã対å¿ãã¦ããªããã¨ããå¶éã¯ç¡ããªã£ãã fptostr.cpp #include <bitset> #include <cstring> #include <limits> #include <string> #include <iostream> typedef int (*funcptr_t)(); std::string fptostr(funcptr_t</iostream></string></limits></cstring></bitset>â¦
question:1185077855 åçã 1 件ããä»ããªãã¦æ®å¿µãããããã³ã¡ã³ãæ¬ã¸ã®æ¸ãè¾¼ã¿ãå«ãã¦ãprintf ç³»é¢æ°ã§å¤ææå®å"%p"ã使ãæ¹æ³ããåºãªãã£ãã®ã§ããã¯ãé¢æ°ã¸ã®ãã¤ã³ã¿ã¼ã void ã¸ã®ãã¤ã³ã¿ã¼ã¸å¸¸ã«å¤æã§ããã¨æã£ã¦ãã人ã¯å¤ãã®ã§ã¯â¦
question:1185077855 ãããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã®ã½ã¼ã¹ã³ã¼ããèªãã§ãã¦ãé¢æ°ã¸ã®ãã¤ã³ã¿ã¼ãåºåããã³ã¼ãã®ãã°ãè¦ã¤ãããç´ããã¨æã£ããã ãã©ãããããã°æ¨æºè¦æ ¼ï¼ISO Cï¼ã¨ãã¦é¢æ°ã¸ã®ãã¤ã³ã¿ã¼ãåºåããæ¹æ³ããªããã¨ã«æ¹ãã¦æ°â¦