Search:

Type: Posts; User: Tamim Ad Dari

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds; generated 6 minute(s) ago.

  1. Replies
    1
    Views
    4,221

    A good description of IDA* search

    What is IDA* search ? and How do I implement it? The A* search is an iterative search . But How do i iteratively deppen in A* ? cause its already deepening by 1 layer. like bfs.
  2. In GDB no segmentation fault but while running segmentation fault

    I am having segmentation fault while running this code Ideone.com - yU80Bd - Online C++0x Compiler & Debugging Tool .. The problem is when I run it in GDB, the code runs fine and excellent. Why is...
  3. Replies
    1
    Views
    993

    Unable to open filedescriptor

    Here is my code of trying to open a file-descriptor and write data to it.


    #include <stdio.h>
    #include <stdlib.h>
    #include <fcntl.h>
    #include <string.h>
    #include <sys/stat.h>
    #include...
  4. Replies
    1
    Views
    7,660

    What is EPS?

    What is EPS? Are there any function in C++ for EPS? How do I output a value with eps 1e-12?
  5. thanks... now I understand..

    thanks... now I understand..
  6. Problem in updating global pointer in tree.

    Hi, I am having trouble updating my global pointer in the following code,


    #include <iostream>

    using namespace std;

    struct RB{
    RB()=default;
    RB(int clr):color(clr) { }
  7. Replies
    2
    Views
    2,216

    Thanks a Lot.. I totally forgot that I have to...

    Thanks a Lot.. I totally forgot that I have to define every overriden function..
  8. Replies
    2
    Views
    2,216

    Inherited class constructor

    I have three classes 1 base and two inherited.. problem is when I try to initialize the it says undefined reference to vtable constructor.Any help? thanks in advance.


    #ifndef QUOTE_H_INCLUDED...
  9. Replies
    1
    Views
    1,001

    timed program on C++

    I am trying to write a routine of my studies of next month.For that I want to write a timed schedule. That is a timed program that will tell me everytime I turn on my laptop which topics should I ...
  10. Replies
    5
    Views
    3,622

    Al right.. I have come up with this new...

    Al right.. I have come up with this new code..still err.. I have tried in various ways.. but there is some error always But can you guys just give me a good code to find every index of a key value in...
  11. Replies
    5
    Views
    3,622

    sorry.. Is it okay now?? can you look at it? ...

    sorry.. Is it okay now?? can you look at it?


    #include <iostream>
    #include <vector>

    using namespace std;

    vector<pair<int,int> > up;
    vector<pair<int,int> > down;
  12. Replies
    5
    Views
    3,622

    Binary search on 2D array

    I am trying to binary search a 2D array which will give me the position of every key in the array, my code is


    #include <iostream>
    #include <vector>
    using namespace std;
    vector<pair<int,int> >...
  13. Replies
    2
    Views
    2,201

    recursive Strassens Algorithm Problem

    I am trying to multiply two matrix whose order is power of 2 using strassens algorithm,The problem I am facing is,when the base case is hit, I always have to keep the base case half of the order, or...
  14. Replies
    4
    Views
    2,032

    Sorry,thats a mistake in normal method,It should...

    Sorry,thats a mistake in normal method,It should be C[i][j]=A[i][j]+B[i][j],
    And I know what vector is, but whats the advantage of using vector in that recursion??
  15. Replies
    4
    Views
    2,032

    Multiplying matrixes

    Trying to multiply to matrixes using the following algorithm,


    ABrec(A,B)
    n=A.rows; //n must be multiple of 2
    C is a new n*n matrix.
    if(n==1)
    C[0][0]=A[0][0]*B[0][0];
    else
    we partion...
  16. Replies
    5
    Views
    1,220

    That means, during program designing there is no...

    That means, during program designing there is no need of algorithms?
  17. Replies
    5
    Views
    1,220

    Suggestion

    I am a new programmer, I have learned some basic things about C++ like class,class copycontrol,container types like vector,string.Things I havent learned is OOP,Overloaded operators,Template and...
  18. Replies
    3
    Views
    797

    #include using namespace std; ...

    #include <iostream>

    using namespace std;

    int main()
    {
    int t;
    cin>>t;
    cin.ignore();
    while(t--)
  19. Replies
    3
    Views
    797

    problem with getline()

    I have a program. In this program after using cin.ignore() the getline() isnt working. why?


    #include <iostream>

    using namespace std;

    int main()
    {
    int t;
  20. Replies
    11
    Views
    1,656

    What is the "rotate and delete a list" way? will...

    What is the "rotate and delete a list" way? will you please explain?
  21. Replies
    11
    Views
    1,656

    That error was solved but there is a new problem,...

    That error was solved but there is a new problem,


    #include <iostream>
    #include <string>
    using namespace std;
    struct TreeNode{
    TreeNode():value("A"),count(new...
  22. Replies
    11
    Views
    1,656

    looks like I wasnt able to made every one clear...

    looks like I wasnt able to made every one clear about my intention.. Thing is I have just learnt copying and assigning and destroying a class. and in the book from where I am studying gave me this...
  23. Replies
    11
    Views
    1,656

    Copy control of Binary Tree

    Hi, I have implemented a copy control version of binary tree.. As I am a Beginner. I think i have made my mistake. But I cant figure it out.


    #include <iostream>
    #include <string>
    class...
  24. Replies
    12
    Views
    1,306

    owh... thanks.. I got that..

    owh... thanks.. I got that..
  25. Replies
    12
    Views
    1,306

    I got how can I get a palindrome.. I reverse it...

    I got how can I get a palindrome.. I reverse it and add it.. reverse it and add it and so on.. but the problem is, how can I know the nth palindrome this way.. what should I do with numbers like 196?
Results 1 to 25 of 116
Page 1 of 5 1 2 3 4