How am I supposed to take input/catch CTRL+C or CTRL+V commands ?
Are we talking about manipulating clipboard data or catching command line signals (though I'm not familiar with ctrl+v as a signal)?
Yes, catching command line signal. What I was coding is, user can enter a string untill he/she presses ctrl+c. It will be in command prompt.
You'll need to catch and handle the SIGINT signal:
volatile sig_atomic_t caught = 0;
void handler(int signum)
caught = 1;
Or use getch() :twisted:
Is there any simple way or online website that can convert The numerical string like"123-322-14365" to regular expression?
I am trying to process the data in a single file . i have to read the file and create a hash structure,get the value of fruitname append it to ...
This is a program that ask input from the user about the characteristics of a gemstone then prints to the screen. Things like color, price and name. I have written ...