它甚至可能吗?我在"固定"位置为我的网站位置做了标题.我也有一个位于"相对"的图像.每当我滚动网站时......我注意到图像位于标题"上方".甚至我放置的推特配置文件小部件也在标题之上.它们都与标题重叠,我不想要那样.有关如何解决我的问题的任何想法?请帮忙!
顺便说一句......我听说"修复"是Android中的bug,我正在制作我的网站.
考虑以下代码:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main ()
{
int ctr;
for(ctr=0;ctr<=10;ctr++)
{
int iSecret;
srand ( time(NULL) );
printf("%d\n",iSecret = rand() % 1000 + 1);
}
}
Run Code Online (Sandbox Code Playgroud)
它输出:256 256 256 256 256 256 256 256 256 256
不幸的是,我希望输出在该循环中打印10个不同的随机数.