Results 1 to 8 of 8
Thread: ++
Hybrid View
-
27th December 2015 17:55 #1Registered User
Join Date: Dec:2015
Location: Plovdiv
Posts: 3
++
, , ?
N Xi Yi.
N
X1 Y1
.
XN YN
.
, Aij
i j. .
.
, -
.
-
27th December 2015 18:09 #2Banned
Join Date: Mar:2008
Location: ( ͡ ͜ʖ ͡)
Posts: 10,614
-
27th December 2015 18:19 #3Registered User
Join Date: Dec:2015
Location: Plovdiv
Posts: 3
, . , .
- - - - - -
, .
-
27th December 2015 18:34 #4
...
( 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
-
27th December 2015 18:53 #5Registered 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.
-
27th December 2015 19:47 #6
Oo, , . C++ 5 . problem solving . :
, . , , 5#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;Lenovo R61i/8GB DDR2 800/T7700 2.4Ghz /Adata SSD 240GB
-
27th December 2015 20:34 #7
-
28th December 2015 00:57 #8
* $$$
., . , .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




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in