1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

why is this not working??

Discussion in 'C' started by micsom, Oct 15, 2008.

  1. micsom

    micsom New Member

    #include<stdio.h>
    #define TEST_MACRO SUM
    #define TEST_VARIABLES (2,4)

    void TEST_MACRO TEST_VARIABLES {
    printf("hi");
    }
    void main() {
    TEST_MACRO TEST_VARIABLES;

    }



    it is showing an error ") Expected"
     
  2. oogabooga

    oogabooga New Member

    What you have amounts to this:
    Code:
    void SUM (2,4) {
      printf("hi");
    }
    
    void main() {
      SUM (2,4);
    }
    Do you see the problem?
     
  3. micsom

    micsom New Member

    i am such an I****t....

    thanx for the reply...
     

Share This Page