# Search:

Type: Posts; User: send

1. ## Thread: How create the binary tree and sort the massive there

by send
Replies
9
Views
1,350

### 1

I also do not understand the "it is programming"-what it means. My question is about how to insert for example from console (command line) such elements of binary tree-1, 5,6, 15 etc. I understand...
2. ## Thread: How create the binary tree and sort the massive there

by send
Replies
9
Views
1,350

### 1

Sorry for massive. About c or c++. The first option has too many errors so i need use cin or gets. But how. I need also use function insert so maybe there are no need to use cin. So question is very...
3. ## Thread: How create the binary tree and sort the massive there

by send
Replies
9
Views
1,350

### 11

​#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>

using namespace std;

struct node // the tree node
{
int key;
4. ## Thread: How find the most frequent symbol with markow algorithm

by send
Replies
1
Views
585

### How find the most frequent symbol with markow algorithm

I have such task. There is such alpahbeth as {a, b} in markow algorithm concept. So I need to find out which letters (a or b) are more in word "p". If a then to retrieve the word with letter a,...
5. ## Thread: How create the binary tree and sort the massive there

by send
Replies
9
Views
1,350

### How create the binary tree and sort the massive there

I have such task: create binary tree. Than I need to add massive there. After it i need sort out the elements of massive and then turn iut them to massive-but sorted. How to do it. How to find...
6. ## Thread: How to find the biggest column of the matrix (higher of main diagonale)

by send
Replies
14
Views
1,082

### 1

The allocation is only a part of task. But i don not know low to do it correctly. If it would be not with 2d massive. I think it is too much to use function to do it. I need such memory allocation...
7. ## Thread: How to find the biggest column of the matrix (higher of main diagonale)

by send
Replies
14
Views
1,082

### Thank you for your notes. They are valuable. But...

Thank you for your notes. They are valuable. But how correctly initialize with malloc two-dimension massive. I have an example, but it is specially malformed in tiny way, and it uses pointers that is...
8. ## Thread: How to find the biggest column of the matrix (higher of main diagonale)

by send
Replies
14
Views
1,082

### Codepad show three errors: Line 18(for (i=0;...

Line 18(for (i=0; i<k; i++)
{
printf("%d",&mas[i][j]);--opposite "{"): error: iostream: No such file or directory
Line 17(look at previous ;ine --opposite "for"):...
9. ## Thread: How to find the biggest column of the matrix (higher of main diagonale)

by send
Replies
14
Views
1,082

### It should be look like that__

#include<iostream>
#include<conio.h>
#include<time.h>
int main()
{
int i,j,k, **mas[i][j];
printf("Enter matrix size\n");
scanf("%d", &k);
*mas[i][j]=new int [k*k]
if (p==NULL) {
10. ## Thread: How to find the biggest column of the matrix (higher of main diagonale)

by send
Replies
14
Views
1,082

### 1

If you about "Vvedit rozm.."-it is about the size of matrix in my local language. I forget it to change. The **pd should be also be changed simply by *p. Or maybe it should be without pointers. So i...
11. ## Thread: How to find the biggest column of the matrix (higher of main diagonale)

by send
Replies
14
Views
1,082

### code

#include<iostream>
#include<conio.h>#include<time.h>using namespace std;int main(){ int i,j,k, **pd; printf("Vvedit rozmirnist matryci:\n"); scanf("%d", &k); *p=new int [k,k] ³f (p==NULL) { ...
12. ## Thread: How to find the biggest column of the matrix (higher of main diagonale)

by send
Replies
14
Views
1,082

### incorrect input

incorrect input
13. ## Thread: How to find the biggest column of the matrix (higher of main diagonale)

by send
Replies
14
Views
1,082

### How to find the biggest column of the matrix (higher of main diagonale)

Here is the draft of code that i desighned/ Of cause it has a several mistake. But would you be pleased to corect it a few to make it workable. My task is here to create the matrix, allocate the...
Results 1 to 13 of 13