Search:

Type: Posts; User: send

Search: Search took 0.01 seconds.

  1. 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. 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. 11

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

    using namespace std;

    struct node // the tree node
    {
    int key;
  4. 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. 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. 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. 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. Codepad show three errors: Line 18(for (i=0;...

    Codepad show three errors:
    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. 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. 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. 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. incorrect input

    incorrect input
  13. 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