Results 1 to 8 of 8

Thread: ++

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Dec:2015
    Location: Plovdiv
    Posts: 3

    ++

    , , ?


    N Xi Yi.

    N
    X1 Y1
    .
    XN YN
    .
    , Aij
    i j. .
    .
    , -
    .

  2. #2
    Banned
    Join Date: Mar:2008
    Location: ( ͡ ͜ʖ ͡)
    Posts: 10,614

  3. #3
    Registered User
    Join Date: Dec:2015
    Location: Plovdiv
    Posts: 3
    , . , .

    - - - - - -

    , .

  4. #4
    Registered User odido's Avatar
    Join Date: Feb:2015
    Location: Bulgaria
    Posts: 529
    ...
    ( C )
    Code:
    int [][] matrix ={
    {1,2,3,4},
    {5,6,7,8},
    };
    :
    for (int row = 0; row < matrix.length; row++) {
    for (int col = 0; col < matrix[0].length; col++) {
    System.out.printf("%d ", matrix[row][col]);
    }
    System.out.println();
    }
    .
    Last edited by odido; 27th December 2015 at 18:42.
    Lenovo R61i/8GB DDR2 800/T7700 2.4Ghz /Adata SSD 240GB

  5. #5
    Registered User
    Join Date: Dec:2015
    Location: Plovdiv
    Posts: 3
    #include <iostream>
    #include <iomanip>
    #include <fstream>

    using namespace std;

    void main()
    {
    ifstream IF;
    IF.open("C:\\Users\\User\\Desktop\\kurso va.txt",ios::in);
    if(IF.is_open())
    int MN[2][3]={1, 2, 3, 4, 5, 6};
    int i,j;

    Last edited by evanikudinska; 27th December 2015 at 18:53.

  6. #6
    Registered User odido's Avatar
    Join Date: Feb:2015
    Location: Bulgaria
    Posts: 529
    Oo, , . C++ 5 . problem solving . :
    #include <iostream>
    using namespace std;
    const int i = 3;
    const int j = 8;

    int main() {
    int A_array[i][j];
    cout<<"Enter all coordinates between i and j . \n";
    for (int k = 0; i < k; ++k) {
    for(int l = 0; l < j; ++l) {
    cout<<"point i "<<k+1<<", point j "<<l+1<<" : ";
    cin>>A_array[i][j];
    }
    }
    cout<<"\n\nDisplaying Values:\n";
    for (int k = 0; k < i; ++k) {
    for(int l = 0; j < j; ++l) {
    cout<<"point i "<<k+1<<", point j "<<l+1<<" = "<< A_array[i][j]<<endl;
    }
    }
    return 0;
    , . , , 5
    Lenovo R61i/8GB DDR2 800/T7700 2.4Ghz /Adata SSD 240GB

  7. #7
    XaMaB's Avatar
    Join Date: Nov:2001
    Location:
    Posts: 20,387
    Quote Originally Posted by evanikudinska View Post
    , . , .
    , . *

    * - ,
    : XaMaB; . 0.42

    In God we Trust (all others must submit a X.509 certificate). , ()

  8. #8
    Registered User ined's Avatar
    Join Date: Nov:2006
    Location: Varna
    Posts: 1,078
    * $$$

    , . , .
    .
    Last edited by ined; 28th December 2015 at 01:21.
    ASRock B85 Pro4, Pentium G3240, DD3 8GB/1333MHz, 120GB SSD + 1TB + 640GB HDD
    Gigabyte GV-R657OC-1GI, CM B500, ASUS 24B1S1, LCD SAMSUNG SM931BW, 173

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 |