Results 1 to 12 of 12

Thread: C++

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User rumen_33's Avatar
    Join Date: May:2007
    Location: Canada
    Posts: 137

    C++

    ,

    (C++) :

    Code:
    int main()
    {
        int tens = 20;
        
        for(int i; i <= tens; i++)
        {
            cout<<"|";
        }
    
        system("PAUSE");
        return EXIT_SUCCESS;
    }
    , :

    Code:
    int main()
    {
        int tens = 20;
        
        for(int i = tens; i >= 0; i--)
        {
            cout<<"|";
        }
    
        system("PAUSE");
        return EXIT_SUCCESS;
    }
    , , . .

    Last edited by rumen_33; 8th April 2009 at 08:11.
    |Asus P5K Premium WiFi|Intel C2D E6750|Kingston 2x1GB@667MHz|Seagate 250GB+500GB|Coolmax CP 500W|Asus EN 8800 GTS 320MB|

  2. #2
    Registered User
    Join Date: Dec:2005
    Location:
    Posts: 219
    , i, .

    Code:
    for (int i = 0; i <= tens; i++)

  3. #3
    Registered User
    Join Date: Oct:2003
    Location:
    Posts: 4,317
    ? , i , .

  4. #4
    Registered User
    Join Date: Apr:2009
    Location: bourgas
    Posts: 1

    c++

    ? : f(x)=x*x*x-3x*x+6x -1, x [0,1]
    , .

  5. #5
    Registered User
    Join Date: Jun:2008
    Location: BG
    Posts: 851
    Quote Originally Posted by pipilota View Post
    ? : f(x)=x*x*x-3x*x+6x -1, x [0,1]
    , .
    . 0.5 , .. 0.75 0.25 .., .

  6. #6
    Registered User
    Join Date: Dec:2005
    Location:
    Posts: 219
    ? .

  7. #7
    Registered User rumen_33's Avatar
    Join Date: May:2007
    Location: Canada
    Posts: 137
    oope 1-
    |Asus P5K Premium WiFi|Intel C2D E6750|Kingston 2x1GB@667MHz|Seagate 250GB+500GB|Coolmax CP 500W|Asus EN 8800 GTS 320MB|

  8. #8
    Registered User
    Join Date: Mar:2009
    Location: varna
    Posts: 11
    "int" "" . , .. "int i = 0;"

  9. #9
    breaknenter's Avatar
    Join Date: May:2007
    Location:
    Posts: 5,942
    Quote Originally Posted by lambo13 View Post
    "int" "" .
    , .

  10. #10
    Pesho's Avatar
    Join Date: Nov:2001
    Location: Sofia
    Posts: 5,169
    Quote Originally Posted by lambo13 View Post
    "int" "" .

    . Zero- . ( ) - .


    Quote Originally Posted by BreaK'N'EnteR View Post
    , .

    . , , -.
    , !

  11. #11
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    lambo13 POD .
    , , :
    Code:
    int x = int();
    printf("%d\n", x);
    0.
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

  12. #12
    Registered User
    Join Date: Oct:2006
    Location: Plovdiv
    Posts: 305
    DEBUG "" . 5 5
    prepBut nI vrbLike adjHungarian! qWhat's artThe adjBig nProblem?

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 |