Advertisement
Guest User

ledit test harness

a guest
Sep 18th, 2014
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.54 KB | None | 0 0
  1. #include <bbslib/common/ledit.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #include <stdio.h>
  5.  
  6. void main()
  7. {
  8.   printf("\n\n ledit test harness.\n\n");
  9.   ledit_init();
  10.   ledit_insert_at_end("Line 1 test.");
  11.   ledit_insert_at_end("Line 2 is here.");
  12.   ledit_insert_at_end("Line 3 is right here.");
  13.   ledit_insert_at_end("Line 4 is HERE!");
  14.   ledit_insert_at_beginning("This should be on top.");
  15.   ledit_insert_at_beginning("TOP OF TOP!");
  16.   ledit_insert_after_line(2,"Dropping this second from top.");
  17.   ledit_debug();
  18.   ledit_done();
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement