Pages

Showing posts with label c. Show all posts
Showing posts with label c. Show all posts

Friday, June 23, 2017

DJ Renato C Feat Holijone Bolingo Nangai

DJ Renato C Feat Holijone Bolingo Nangai


Artista:DJ Renato C Feat. Holijone
Titulo: Bolingo Nangai 
Ano: 2017
Formato:Mp3
G�nero:Ghetto Zouk
Tamanho:5.5 Mb
Qualidade:320kbps
Rating:  ?????
LINKS EXCLUSIVOS

     

Read more »

Monday, May 22, 2017

DIAURA REBORN Type A C

DIAURA REBORN Type A C



DIAURA - REBORN (Type A+C) (2013.03.13) [ Mini-Album ]
Purchase | CDJapan: Limited Type A | Limited Type C
Ref/Description: Limited Type A | Limited Type C
Tracklist:
1. Taidou
2. REBORN
3. anti people
4. Kindan Ryouiki
5. Garden of Eden
6. Virgin Mary (Rerecording Version)
Download | 4Shared | MEGA

- More by DIAURA Here! -
Read more »

Monday, May 15, 2017

Display All The Text Files From A Directory Using C

Display All The Text Files From A Directory Using C


DESCRIPTION:
  • This program get the directory path from the user and display all the text files available in the directory.
  • We should add dirent.h header file to accomplish this program.
  •  
PROGRAM:

#include <string.h>
#include <dirent.h>
#include <string.h>
const char *only_txt (const char *);

int main (int argc, char *argv[])
{
    DIR *directory;
    struct dirent *file;    
    directory = opendir (argv[1]);
    int directory_length = strlen(argv[1]);
    if (directory != NULL){
        while (file = readdir (directory)){
            if( !strcmp((only_txt (file->d_name)), ".txt") )
                      puts (file->d_name);
        }
        (void) closedir (directory);
      }
      else
        perror ("Not able to open the directory ");
    return 0;
}

/**load only .txt file**/

const char *only_txt (const char *filespec)
{
    char *file = strrchr (filespec, .);
        if (file == NULL)
            file = "";
    return file;
}

COMPILE:

    gcc -o out scan.c

RUN:
  • Pass the directory name with the path as argument to the program
        ./out /home/sujin/directory

OUTPUT:

      test.txt
   README.txt
      file.txt
 
CONCLUSION:
 
   Changing ".txt" to any type file extension, you can customize this program for file type you like.

 

Read more »

Wednesday, April 19, 2017

DJ Renato C Feat Holijone Bolingo Nangai Lyric Vídeo

DJ Renato C Feat Holijone Bolingo Nangai Lyric Vídeo


Read more »

Different Format specifiers available in C except for usual one

Different Format specifiers available in C except for usual one


Guyz I assume that most of the format specifiers of C which are frequently used are known by everyone of us e.g %d for int , %f for float , %c for char , %s for string , %ld for longint ,%lf for double etc so guyz here I am to talk about some other format specifier which are not usually seen in books or not taught in normal classes. so here is the list try to use them in C program, and let me know 

                            
%i
To print integer same as %d
%u
To print unsigned integers
%x
To print integer value in hexadecimal format
%o
To print integer value in octal format
%p
Same as %x but used to print value of pointer( memory addresses)
%hd
For short integer
%lu
For long unsigned
%e and %g
To printf float.

#include<stdio.h>

int main()
{
        float f= 3.43;
        int i = 16;
        printf( " %e " , f);
        printf( " %g " , f);
        printf( " %x " , i);
        printf( " %o " , i);
}

on Gcc output is: 

 3.430000e+00 
 3.43 
 10 
 20 
let me know your opinions about this post.

Read more »

Tuesday, April 18, 2017

Display All The Files From A Directory Using C

Display All The Files From A Directory Using C


DESCRIPTION:
  • This program get the directory path from the user and display all the filed from the directory.
  • We should add dirent.h header file to accomplish this program.


PROGRAM:

#include <stdio.h>

#include <string.h>

#include <dirent.h>
int main (int argc, char *argv[])
{
    DIR *directory;
    struct dirent *file;    
    directory = opendir (argv[1]);
    int directory_length = strlen(argv[1]);
    if (directory != NULL){
        while (file = readdir (directory))
                  printf("FILE : %s ",file->d_name);

        (void) closedir (directory);
      }
      else
        perror ("Not able to open the directory ");
    return 0;
}



COMPILE

gcc -o out scan.c

RUN:
  • Pass the directory name with the path as argument to the program
./out /home/sujin/directory

OUTPUT:

FILE : favicon.ico
FILE : README.txt
FILE : monkey.jpg 
FILE : index.html



Read more »

Friday, April 14, 2017

Ditch Oracle Database for free with DB2 Express C

Ditch Oracle Database for free with DB2 Express C


For two major releases, DB2 has included an industrial strength feature for running applications originally written for Oracle Databases flavour of SQL and PL/SQL. The performance for it is excellent -- many people have reported significantly faster performance after switching their applications to DB2.

Oracle compatibility feature is now part of the free DB2 Express-C edition.

Serge Rielau wrote up a fantastic article on running your Oracle applications on DB2 10. All of it applies to DB2 Express-C.

Next steps
  • Download DB2 Express-C 10
  • Run your Oracle applications on DB2 10
  • Learn DB2 at Big Data University
Read more »