本文介绍了打印阵列价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有char数组[2048],我需要打印每24个时间间隔的值。
例如
1st我需要打印第24个值和第48个值和72个像这样,如何打印像这样的数组值
谢谢
shan
I have char array s[2048], i need to print the values of every 24 intervals.
for example
1st i need to print 24th value and 48th value and 72 like this, how to print the array values like this
Thanks
shan
推荐答案
for (Start value; continue or end condition; increase value)
statement;
现在,鉴于你会怎么建议你编写循环代码?
我们绝对没有为你做任何事情的价值 - 你必须采取牛角,尝试一下,并准备从中吸取教训
'g'
now, given that, how would YOU suggest you code the loop ?
There's absolutely no value in us doing everything for you - you have to take the bull by the horns, try something, and be prepared to learn from that
'g'
这篇关于打印阵列价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!