Search:

Type: Posts; User: blacksnake

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    942

    I got it.....this file works normally.....do you...

    I got it.....this file works normally.....do you have an idea on sorting in a linked list?
  2. Replies
    4
    Views
    942

    problems on linkedlist

    typedef struct Node{

    int data;
    struct Node* prev;
    struct Node* next;
    struct Node(int data)//Expected unqualified-id before "int"
    {
    ...
  3. Replies
    1
    Views
    4,402

    by the way, do you have push and pop function to...

    by the way, do you have push and pop function to get the right algorithm?
  4. Replies
    16
    Views
    1,938

    here is the algorithm and a code below in...

    here is the algorithm and a code below in converting infix notation

    1) if you encounter "(" push on it on stack


    if(x[i]=='('){stack.push(x[i]);}

    2) if you...
  5. Replies
    16
    Views
    1,938

    i was understood on appending the integers the...

    i was understood on appending the integers the problem was a precedence...can u show the code to me on the precedence of operators?
  6. Replies
    16
    Views
    1,938

    can you prove about the 2nd step in this kind of...

    can you prove about the 2nd step in this kind of algorithm
    ?
  7. Replies
    14
    Views
    43,209

    i have some questions about that function: when...

    i have some questions about that function:
    when i apply to this code:


    int main()
    {
    clrscr();
    Stack *stack=new Stack(100);
    char x[100];
    printf("Input Equation: ");
  8. Replies
    16
    Views
    1,938

    #include #include #include...

    #include <string>
    #include <cstdio>
    #include <cstdlib>
    #include <cctype>
    #include <stack>
    using namespace std;

    int main()
    {
  9. Replies
    16
    Views
    1,938

    #include #include #include...

    #include <string>
    #include <cstdio>
    #include <cstdlib>
    #include <cctype>
    #include <stack>
    using namespace std;

    int main()
    {
  10. Replies
    16
    Views
    1,938

    #include #include #include...

    #include <string>
    #include <cstdio>
    #include <cstdlib>
    #include <cctype>
    #include <stack>
    using namespace std;

    int main()
    {
  11. Replies
    16
    Views
    1,938

    #include #include...

    #include <iostream.h>
    #include "D:/turboc/bin/stack.h"
    #include <conio.h>
    #include <string.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <ctype.h>
    int main()
    {
    clrscr();
  12. Replies
    16
    Views
    1,938

    problems on postfix conversion

    i have a problem on converting infix to postfix evaluation and appending the characters in the string if the character is a digit



    #include <iostream.h>
    #include "D:/turboc/bin/stack.h"...
  13. Replies
    15
    Views
    3,945

    what are the header file do you used in this...

    what are the header file do you used in this program?
  14. Replies
    15
    Views
    3,945

    i have an idea: after reading the content of...

    i have an idea:

    after reading the content of the file, follow the conversion of infix to postfix code below


    main(int argc, char argv[])
    {
    char *a=argv[1];
    int i, N=strlen(a);
  15. Replies
    15
    Views
    3,945

    where are the website in relation to this...

    where are the website in relation to this notation?
  16. Replies
    15
    Views
    3,945

    algorithm: *open a file *read the file...

    algorithm:


    *open a file
    *read the file character by character
    *for( i=0;i<x;i++)//assuming that x is the number of times you operate inside the parenthesis, for example, ((2+3)5)+5, this...
  17. Replies
    15
    Views
    3,945

    but how and where do you evaluate an expression?

    but how and where do you evaluate an expression?
  18. Replies
    10
    Views
    1,772

    added to stack.h: #define dsize 10000 ...

    added to stack.h:


    #define dsize 10000

    class stack{
    public:
    stack(int size=dsize);
    /*virtual*/~stack(void);
    int isFull();
  19. Replies
    15
    Views
    3,945

    but how?

    but how?
  20. Replies
    10
    Views
    1,772

    #include #include #include...

    #include <stdio.h>
    #include <conio.h>
    #include <string.h>
    #include "stack.h"
    int main()
    {

    char str[1500];
    char file[10];
    char sfile[10];
  21. Replies
    15
    Views
    3,945

    problems on polish notation

    i have an algorithm on polish notation

    content of the file eq.txt


    ((3+2)*5)+5


    i will open the code using file io
  22. Replies
    10
    Views
    1,772

    files invlove character stacking

    if the stack is not used, i tried to use a stack to read the content of the file and displays the content in reversed



    #include <stdio.h>
    #include <conio.h>
    #include <string.h>
    #include...
  23. Replies
    10
    Views
    1,772

    problems on stack.h

    i have a code that causes errors in running the program...i use my header file stack.h on my program but it didn't work...what is the problem of that program?



    #define DEFAULT_SIZE 10

    class...
  24. Replies
    3
    Views
    2,691

    how to elaborate such description?

    how to elaborate such description?
  25. Replies
    3
    Views
    2,691

    string reverse(stack mode)

    i was trying to plan on string reverse by open a file and read the content of the file...but I have a code for reading and writing the file...in reversing the content of the file, i already have a...
Results 1 to 25 of 50
Page 1 of 2 1 2