Results 1 to 11 of 11

Thread: C

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Jun:2010
    Location:
    Posts: 171

    C

    , , , .


    int findLast(char input[],int size,char key)
    {
    if (size==-1)
    return -1;
    if(input[size]==key)
    return size;
    return findLast(input,size-1,key);
    }
    Last edited by Bombera; 3rd November 2010 at 20:40.

  2. #2
    Pesho's Avatar
    Join Date: Nov:2001
    Location: Sofia
    Posts: 5,169
    , . , , ( ).
    , !

  3. #3
    Banned haste's Avatar
    Join Date: Mar:2006
    Location:
    Posts: 759
    Quote Originally Posted by lludmill View Post
    ..., - , -, .
    Pesho . "-" .

  4. #4
    Registered User
    Join Date: Aug:2008
    Location: Varna
    Posts: 291
    , , . . "" . , . .

  5. #5
    Registered User
    Join Date: Dec:2007
    Location: Sofia
    Posts: 366
    , (size) / (input), .

  6. #6
    Registered User
    Join Date: Jun:2010
    Location:
    Posts: 171
    , ,

  7. #7
    Registered User
    Join Date: Jul:2005
    Location: Sofiq
    Posts: 2,798
    , ? : " 10 "

  8. #8
    Deleted User 4eRNoBiL's Avatar
    Join Date: Oct:2005
    Location:
    Posts: 739
    Quote Originally Posted by lludmill View Post
    , ,
    size input, input[size]. 0 size-1 .
    Fujistu Lifebook E756 | Core i7-6500U / 400MHz-3.1GHz | 8 GB DDR4-2133 | Samsung PM871 / 256 GB SSD | 15" 1920x1080 | Manjaro Linux + kernel 4.19

  9. #9
    Registered User
    Join Date: Jul:2005
    Location: Sofiq
    Posts: 2,798
    Quote Originally Posted by 4eRNoBiL View Post
    size input, input[size]. 0 size-1 .
    . , . .

  10. #10
    Deleted User 4eRNoBiL's Avatar
    Join Date: Oct:2005
    Location:
    Posts: 739
    _ShadoW_ , , , . , ( ), , . input[]. ... .
    Fujistu Lifebook E756 | Core i7-6500U / 400MHz-3.1GHz | 8 GB DDR4-2133 | Samsung PM871 / 256 GB SSD | 15" 1920x1080 | Manjaro Linux + kernel 4.19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |