Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
marquee text in C
//clang 3.8.0 #include <stdio.h> #include <string.h> #define SAMPLE "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. " int main(void) { int i; int l = strlen(SAMPLE); for(i =0; i<400; i++) { printf("%.*s", l-i%l, SAMPLE+i%l); printf("%.*s\n", i%l, SAMPLE); } return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
CV09-2
Bucles: Triangulo asteriscos izquierdo
Does fgets() read past a leading newline?
lab7_OOP 0.3
Tree and binarySearch
Lee hora y suma un segundo
Bucles: Euclides
cv2
resize.c
Herout (67) - 7
stackse - search stackoverflow differently
Please log in to post a comment.