Recent content by blue_tiger30
-
B
Help in upgrading my code that converts a lower-case string to upper c
no it was not :) the homw work was to use a delay function , this was something I wanted to know for future programs- blue_tiger30
- Post #5
- Forum: Programming and Computer Science
-
B
Does a hamming code always corrects one error and detect 2 errors ?
sorry I meant is the minimum distance always 3 ?- blue_tiger30
- Post #4
- Forum: Electrical Engineering
-
B
Does a hamming code always corrects one error and detect 2 errors ?
does a hamming code always corrects one error and detect 2 errors ? and is the distance always 3 ? I know that that is true for (7,4) hamming code but does that apply to a (11,7) or (15,11) ? if not please let me how to get the answers- blue_tiger30
- Thread
- Code Error Errors
- Replies: 4
- Forum: Electrical Engineering
-
B
How to make the clock refresh instead of it repeating every second
thanks for all your help , I glade to see a discussion in my thread and a lot of ideas . I still didn't understand what I should do :) I got really confused now rcgldr : here is how I use cygwin , I think it uses the dos console- blue_tiger30
- Post #27
- Forum: Programming and Computer Science
-
B
How to make the clock refresh instead of it repeating every second
tired the backspace and /r it just gave my an extra empty row it seems that this compiler doesn't like anything- blue_tiger30
- Post #20
- Forum: Programming and Computer Science
-
B
How to make the clock refresh instead of it repeating every second
this is what i get- blue_tiger30
- Post #18
- Forum: Programming and Computer Science
-
B
How to make the clock refresh instead of it repeating every second
didn't work please enter the the time in the following format hh:mm:ss :23:10:30 blank the code #include<stdio.h> #include <time.h> void delay ( int seconds ); int main (void) { int sec,min,h; printf("please enter the the time in the following format hh:mm:ss :")...- blue_tiger30
- Post #15
- Forum: Programming and Computer Science
-
B
How to make the clock refresh instead of it repeating every second
printf("The time is %02d:%02d:%02d\b",h,min,sec); printf("\bThe time is %02d:%02d:%02d",h,min,sec); printf("The time is %02d:%02d:%02d\b\b\b\b\b\b\b\b\b",h,min,sec) this doesn't work- blue_tiger30
- Post #13
- Forum: Programming and Computer Science
-
B
How to make the clock refresh instead of it repeating every second
in the exam I have to be using the same compiler :(- blue_tiger30
- Post #11
- Forum: Programming and Computer Science
-
B
How to make the clock refresh instead of it repeating every second
cygwin (gcc) , win 8- blue_tiger30
- Post #9
- Forum: Programming and Computer Science
-
B
How to make the clock refresh instead of it repeating every second
printf("\rThe time is %02d:%02d:%02d",h,min,sec); just tried that now didnt work :(- blue_tiger30
- Post #7
- Forum: Programming and Computer Science
-
B
How to make the clock refresh instead of it repeating every second
printf("The time is %02d:%02d:%02d\b",h,min,sec) printf("The time is %02d:%02d:%02d\b\b\b\b\b\b\b\b\b",h,min,sec) printf("The time is %02d:%02d:%02d\r",h,min,sec) printf("The time is %02d:%02d:%02d\r\n",h,min,sec)- blue_tiger30
- Post #6
- Forum: Programming and Computer Science
-
B
How to make the clock refresh instead of it repeating every second
I tried both , I got no display at all :P yah the simpler the better since that I'm a beginner- blue_tiger30
- Post #3
- Forum: Programming and Computer Science
-
B
How to make the clock refresh instead of it repeating every second
I did the following program #include<stdio.h> #include <stdlib.h> #include <time.h> int main (void) { int sec,min,h; printf("please enter the the time in the following format hh:mm:ss :"); scanf("%d:%d:%d",&h,&min,&sec); for ( ; ; ) { sleep(1);// a delay function which delays by a second...- blue_tiger30
- Thread
- Clock Refresh
- Replies: 26
- Forum: Programming and Computer Science
-
B
Help in upgrading my code that converts a lower-case string to upper c
hello I'm a beginner in c programming. I wrote a code that converts the lower case that the user entered to upper case characters. I want to improve my program , but since I'm a beginner i might not be aware of some technics . my program can only allow you to enter as many characters as...- blue_tiger30
- Thread
- Code String
- Replies: 6
- Forum: Programming and Computer Science