Search
 
SCRIPT & CODE EXAMPLE
 

C

script in c

#!/usr/bin/perl
use Inline C;
exit main0();
__END__
__C__
#include <stdio.h>

int main0()
{
   printf("Hello world !
");
   return 0;
}
Comment

script in c

$ chmod +x test1.c
$ ./test1.c
> Hello world !
Comment

script in c

#!/usr/bin/perl
use Inline C;
$arg = $ARGV[0];
$arg = tr/[a-z]/[A-Z]/; # modification du paramètre
exit main0($arg);
__END__
__C__
#include <stdio.h>

int main0(char *arg1)
{
   printf("Hello %s 
",arg1);
   return 0;
}
Comment

PREVIOUS NEXT
Code Example
C :: round c 
C :: how to debug a segmentation fault in c 
C :: c check if character is lower case 
C :: how to print logs when doing unit-testing in rust 
C :: c function definition 
C :: what is the last character of a string in c 
C :: increment pointer value in c 
C :: iterating through a linked list 
C :: what is clrsce in C 
C :: printing words lemgthwise in c 
C :: gandhi ashram saharanpur 
C :: obstacle avoiding robot in c++ program 
C :: ouverture du fichier c 
C :: print char* address C 
C :: esp local control 
C :: Combine two sentences into one langage c 
C :: konami code hdl 
C :: error: ‘_Atomic’ does not name a type 
C :: java Node<E 
C :: link a lib iusing pragma 
C :: reverse binary tree c 
C :: timespec c 
C :: under 
C :: Laravel installation on Linux 
C :: How to get the number of characters in a string without using strlen function 
C :: finding average of elements in array using struct in C? 
C :: Write a c program to add two numbers without using addition operator. 
C :: i2c scanner 
Dart :: remove number count in textfield flutter 
Dart :: flutter sharedpreferences clear 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =