Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- undefined reference to `readline'
- all: stest stestdebug
- stest: stest.o struct.o
- gcc -g stest.o struct.o -lreadline -lncurses -o stest
- stest.o: stest.c struct.h
- gcc -g -c stest.c
- stestdebug: stestdebug.o struct.o
- gcc -g stestdebug.o struct.o -o stestdebug
- stestdebug.o: stest.c struct.h
- gcc -g -c stest.c -o stestdebug.o
- struct.o: struct.c struct.h
- gcc -g -c -DDEBUG struct.c
- clean:
- rm -f *.o stest stestdebug
- docs:
- doxygen
- chmod a+r html/*
- cp -p html/* ~/public_html/cs2303assig4
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <readline/readline.h>
- #include <readline/history.h>
- #include "struct.h"
- void requestInput() {
- printf("Please fill out all prompts to create a new emplyoee.n");
- char *name = readline("Name:");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement