Howto Compile Source Code on Ubuntu
./configure make sudo make install
The above 3 comands work for most of the softwares. If doesn't, go for read me file.
Tech tips and explorations
./configure make sudo make install
#include <stdio.h> #include <string.h> int main() { int n; char buff[100]; memset(buff,0,sizeof(buff)); printf("Enter a number:"); scanf("%d",&n); printf("You entered %d \n",n); printf("\n Enter a name:"); fgets(buff,sizeof(buff),stdin); printf("\n The name entered is %s\n",buff); return 0; }
~/home $ ./aa Enter a number:123 You entered 123 Enter a name: The name entered is ~/home $ ./aa Enter a number:123abc456 You entered 123 Enter a name: The name entered is abc456
#include <stdio.h> #include <string.h> int main() { int n; char buff[100]; memset(buff,0,sizeof(buff)); printf("Enter a number:"); scanf("%d",&n); printf("You entered %d \n",n); getchar(); printf("\n Enter a name:"); fgets(buff,sizeof(buff),stdin); printf("\n The name entered is %s\n",buff); return 0; }
~/home $ ./aa Enter a number:123 You entered 123 Enter a name: globalsoftbay The name entered is globalsoftbay