问题描述 现有迭代法求bf的vb程序,哪位大神帮翻译成c++!!!急用 For i = 0 To 9 Bf = (S + A1 * Sin(2 * B) - A2 * Sin(4 * B) + A3 * Sin(6 * B) - A4 * Sin(8 * B) + A5 * Sin(10 * B) - A6 * Sin(12 * B) + A7 * Sin(14 * B) - A8 * Sin(16 * B)) / A0 B = Bf Next i 解决方案 for(int i = 0; i <
问题描述 vb程序365转换叁陆伍 请求帮助 初学者多多关照感激不尽谢谢 解决方案 直接用replace替换就可以 dim s(1 to 10) as string s(1) = "壹" s(2) = "贰" ... dim s1 as string s1 = 365 & "" for i = 1 to 10 s1 = replace(s1, i & "", s(i)) next msgbox s1 解决方案二