Thread: Trigraph Error

  1. #1
    Registered User jawwadalam's Avatar
    Join Date
    May 2002
    Posts
    131

    Trigraph Error

    I read about trigraphs on MSDN site..and tried the following code..

    Code:
    ??=include <stdio.h> //  ??=  is equal to punctuation character # 
    int main(void)
    ??<   //  ??<  is equal to punctuation character {
    
      printf("Hello World\n");
    
    ??> //  ??>  is equal to punctuation character }
    Giving me error on the first.. line where I am trying to replace the punctuation character with the trigraph.. why is it.. so.. I cant understand.. There is no problem using. trigraph. after the main() header..
    One day you will ask what more important to you..
    I will say my life..
    and You will leave me with even knowing
    that
    You are my Life (L)

  2. #2
    Open to suggestions Brighteyes's Avatar
    Join Date
    Mar 2003
    Posts
    204
    Trigraphs work fine for me on VC++ 6, what compiler are you using?
    p.s. What the alphabet would look like without q and r.

  3. #3
    Registered User jawwadalam's Avatar
    Join Date
    May 2002
    Posts
    131
    First of all sorry for the delay.. but I have tried the code on Turbo C. 3.0 .. But If it works well in the vc++6 then why did't it work in Turbo. C as What do I think about it is that it is not the Microsoft Compilor Specific.. what ..do you say?
    One day you will ask what more important to you..
    I will say my life..
    and You will leave me with even knowing
    that
    You are my Life (L)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM
  5. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 01:10 AM