LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

to clear the screen during run time

Posted 11-17-2008 at 10:42 AM by Aravinda Bhat G

Can anyone please tell me is there any built in function in C (i am using Fedora 8) to clear the screen during run time..?
LQ Newbie
Posted in Uncategorized
Views 648 Comments 0 Aravinda Bhat G is offline
Old

delay in c

Posted 11-17-2008 at 10:39 AM by Aravinda Bhat G
Updated 11-17-2008 at 10:43 AM by Aravinda Bhat G

can anyone please tell me how to include
time delay in a C program....?(I am using Fedora 8)
LQ Newbie
Posted in Uncategorized
Views 756 Comments 0 Aravinda Bhat G is offline
Old

sleep();

Posted 11-15-2008 at 01:32 AM by Aravinda Bhat G

Can anyone pls help me.....?

In my fedora 8,when i write this program:
#include<stdio.h>
main()
{
printf("Hi");
sleep(5);
printf("\n\n Its me");
}
i expect the program to print Hi and later,after waiting for 5 seconds,Its me
But the program,after waiting for 5seconds,prints both the statements together.
how to fix this problem....?
LQ Newbie
Posted in Uncategorized
Views 610 Comments 0 Aravinda Bhat G is offline
Old

sleep();

Posted 11-15-2008 at 01:31 AM by Aravinda Bhat G

Can anyone pls help me.....?

In my fedora 8,when i write this program:
#include<stdio.h>
main()
{
printf("Hi");
sleep(5);
printf("\n\n Its me");
}
i expect the program to print Hi and later,after waiting for 5 seconds,Its me
But the program,after waiting for 5seconds,prints both the statements together.
how to fix this problem....?
LQ Newbie
Posted in Uncategorized
Views 538 Comments 0 Aravinda Bhat G is offline
Old

clrscr();

Posted 11-15-2008 at 01:26 AM by Aravinda Bhat G

Can anyone pls tell me is there any equivalent statement just like clrscr();
in fedora 8?
LQ Newbie
Posted in Uncategorized
Views 777 Comments 0 Aravinda Bhat G is offline

  



All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration