text: 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.
  Type: Posts; User: Tamim Ad Dari
  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.
  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...
  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...
  What is EPS? Are there any function in C++ for EPS? How do I output a value with eps 1e-12?
  thanks... now I understand..
  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) { }
  Thanks a Lot.. I totally forgot that I have to define every overriden function..
  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...
  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 ...
  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...
  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;
  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> >...
  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...
  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??
  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...
  That means, during program designing there is no need of algorithms?
  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...
  #include <iostream>
  using namespace std;
  int main()
  {
  int t;
  cin>>t;
  cin.ignore();
  while(t--)
  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;
  What is the "rotate and delete a list" way? will you please explain?
  That error was solved but there is a new problem,
  #include <iostream>
  #include <string>
  using namespace std;
  struct TreeNode{
  TreeNode():value("A"),count(new...
  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...
  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...
  owh... thanks.. I got that..
  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?