error: missing terminating " character

This is a discussion on error: missing terminating " character within the C Programming forums, part of the General Programming Boards category; hello, Can any one tell me what i did mistake. So getting this problem ..... 1. error: missing terminating " ...

  1. #1
    Registered User
    Join Date
    Jan 2008

    Thumbs down error: missing terminating " character

    Can any one tell me what i did mistake. So getting this problem .....
    1. error: missing terminating " character
    2. error: ‘Options’ undeclared (first use in this function)

    fprintf(stderr, " Usage:  ./ss c <class c>         --> Scan a class C Or:  ./ss b <class b>         --> Scan a class B Or:  ./ss a <class a>         --> Scan a class A Or:  ./ss x                   --> Scan everything Or:  ./ss f <file>            --> Scan all IPs in a file
       Options: (put these before the above)
          o --> Display only IP
          d --> Minimum number of DUPs
          t --> Timeout);

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    As it says, you did not end your string literal with a double quote.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Join Date
    Oct 2007
    char myvar[] = "My string 1"
        "My string 2"
        "My string 3";
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 01:29 PM
  2. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  3. <string> to LPCSTR? Also, character encoding: UNICODE vs ?
    By Kurisu33 in forum C++ Programming
    Replies: 7
    Last Post: 10-09-2006, 12:48 AM
  4. Remove character from string
    By nooksooncau in forum C Programming
    Replies: 11
    Last Post: 06-05-2006, 09:37 AM
  5. Character handling help
    By vandalay in forum C Programming
    Replies: 18
    Last Post: 03-29-2004, 04:32 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21