User Profile

Collapse

Profile Sidebar

Collapse
timbomo
timbomo
Last Activity: Mar 30 '10, 08:14 PM
Joined: Mar 30 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • timbomo
    started a topic calling pass by value functions
    in C

    calling pass by value functions

    can someone show me an example of how i will do call a function and its value . i guess maybe the synetex
    See more | Go to post

  • timbomo
    started a topic function that takes care of turn
    in C

    function that takes care of turn

    i dont know of a better way to write this i am stuck. i want to tell the user whose turn it is : i get this error

    error: expected `:' before ';' token

    for this code below

    Code:
    int turn_it_is(int play1, int play2)
    {
        cout << (((play1%2)==1)((play1:play2));
        cout <<  " it's your turn ";
        cin >> turn_it_is;
    }
    See more | Go to post
No activity results to display
Show More
Working...