Results 1 to 2 of 2

Thread: knowledge of programming Implement

  1. #1
    FosterWood is offline Senior Member
    Join Date
    Dec 2009
    Posts
    215
    Rep Power
    3

    Default knowledge of programming Implement

    I am last year computer science student. I have little bit knowledge of C programming. I want to know about the isgraph() function. I want to know how can I Implement the isgraph() function in C. any idea would be highly appericated!!!

  2. #2
    MoralesMyers is offline Senior Member
    Join Date
    Dec 2009
    Posts
    202
    Rep Power
    3

    Default

    The following example of the isgraph() function can explains you the functioning of the isgraph() function :

    Code:
    #include <stdio.h>
    #include <ctype.h>
    char ch[] = {'C', 0x09, ' ', 0x7d};
    #define SIZE sizeof( ch ) / sizeof( char )
    void main()
      {
        int k;
        for( k = 0; k < SIZE; k++ ) {
          printf( "Char %c is %sa printable charactern",
            ch[k],
            ( isgraph( ch[k] ) ) ? "" : "not " );
        }
      }
    Output:

    Code:
    Char C is a printable character
    Char     is not a printable character
    Char   is not a printable character
    Char b is a printable character

Similar Threads

  1. Basic knowledge of Data Recovery
    By shanesparks in forum CPU & Components
    Replies: 0
    Last Post: 06-18-2010, 09:53 AM
  2. Implement dos command in java
    By Harvey Lavan in forum Programming
    Replies: 2
    Last Post: 03-22-2010, 11:54 AM
  3. Implement a Software Firewall on a Linux
    By SmithJohnson in forum Networking Jargons
    Replies: 0
    Last Post: 12-29-2009, 04:44 PM
  4. How to Implement Encryption & Security in Information Systems
    By ScottWright in forum Networking Jargons
    Replies: 0
    Last Post: 12-23-2009, 06:15 PM
  5. Knowledge of the PLL
    By Chris Gayle in forum Everything Else
    Replies: 4
    Last Post: 05-15-2009, 11:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48