how to recover the tclass.lib error can solv..... please tell me

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rushibhagat5
    New Member
    • Sep 2015
    • 1

    #1

    how to recover the tclass.lib error can solv..... please tell me

    #include<stdio. h>
    #include<conio. h>
    #include<ctype. h>
    #include<string .h>
    void main()
    {
    int i=0;
    char str[20];
    printf("\n input the string::");
    gets(str);
    printf("corresp onding token are::");
    while(str[i]!='\0')
    {
    if((str[i]=='(')||(str[i]=='{'))
    {
    printf("4");
    }
    if((str[i]==')')||(str[i]=='}'))
    {
    printf("5");
    }
    if(isdigit(str[i]))
    {
    while(isdigit(s tr[i]))
    {
    i++;
    }
    i--;
    printf("1");
    }
    if(str[i]=='+')
    {
    printf("2");
    }
    if(str[i]=='*')
    {
    printf("3");
    }
    i++;
    }
    getch();
    }
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    What error are you talking about?

    The code you posted compiles and links just fine using Visual Studio 2013.

    Comment

    Working...