Search:

Type: Posts; User: aaa111

Search: Search took 0.01 seconds.

  1. well you can use two case in a row for same...

    well you can use two case in a row for same thing,like this:


    char choice;

    choice=getchar();

    switch(choice)
    {
    case 'C':
  2. char choice; choice=getchar(); ...

    char choice;

    choice=getchar();

    switch(choice)
    {
    case 'C':
    {//equation for Celcius
    break;
    }
  3. Replies
    1
    Views
    2,050

    A program can be spread across two or more...

    A program can be spread across two or more files.So, a global variable can be accessed by all the files whereas, a static global variable can be accessed only by the file in which it is...
  4. Replies
    6
    Views
    1,799

    The reason it is not working is because any else...

    The reason it is not working is because any else is related to its nearest if.So the else in you program is related to the last if statement and since it bacame false the else executed.You should...
  5. Replies
    1
    Views
    5,617

    Tic-tac-toe using mouse

    Hi,
    I am new to this forum.I was just trying to do a tic tac toe game using mouse,but i am facing some wierd problem.I was trying to do like this,on a left button click i should get "x",then on...
Results 1 to 5 of 5