Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
char *str = "10.20.30.40" ; を変換しようとしています。unsigned int に入力します。そこにあるメソッドまたはサンプルコードを教えてください。pls は私を共有します。
実際にやりたいことを推測して、関数inet_addrと を見てくださいinet_aton。
inet_addr
inet_aton