Search:

Type: Posts; User: Haytham

Search: Search took 0.01 seconds.

  1. i think u should get its hexdecimal value . ...

    i think u should get its hexdecimal value .

    less than 48 is an operator ,
    between 49 - 58 is an integer
  2. Replies
    3
    Views
    1,889

    need help ASAP ,

    well ,,
    here is a function i search for the Max GPA in a tree , where :

    struct treenode
    {
    int st_id;
    float gpa;
    ptrtotree left;
    ptrtotree right;
    };
  3. Replies
    8
    Views
    1,469

    well , through the ASCII code , 0=48 , 1=49 , 9=58

    well , through the ASCII code , 0=48 , 1=49 , 9=58
  4. Replies
    0
    Views
    1,418

    infix to postfix

    supposed i am doing a program to convert from infix to postfix
    here is my code , i donno whats wrong with the stack of operators and the periorties


    can anyone help me?


    void...
  5. Replies
    6
    Views
    1,180

    still not understanding ....

    still not understanding ....
  6. Replies
    6
    Views
    1,180

    grabbing an int from a string

    now i have a problem

    if there is an equation like 12+13 in a string , how can i grab the int 12 and int 13 , each one alone

    not int 1 , int 2

    thanks in advance
  7. Replies
    1
    Views
    1,744

    infix to postfix

    hello :)

    anyone has an algorithm for converting from INFIX to POSTFIX ?

    thanks in advance
  8. what i want now is to do the same problem with...

    what i want now is to do the same problem with arrays ,

    any ideas ?

    i am using Dev-C++ too ,
  9. what compiler are you using?

    what compiler are you using?
  10. here is my final code , it works thanks alot ...

    here is my final code , it works
    thanks alot



    #include <stdlib.h>
    #include <stdio.h>
    #include <conio.h>

    struct node;
  11. i am using Dev-C++ ... and it runs the code ...

    i am using Dev-C++ ...

    and it runs the code

    also it runs on borland C++ version 5.02 for windows
  12. nope , new works in C too , or my compiler accept...

    nope , new works in C too , or my compiler accept it , malloc() and free() is equivalent to new() and delete
  13. well , its C and the error is , when i put n = 5...

    well , its C
    and the error is , when i put n = 5 , m =1 like the example , the order of elimination isnt 2,4,1,5 and 3 wins
  14. Please , i need help with this Josephus Problem

    well , i have an assignment

    " the josephus problem is as follows : n people , numbered 1 -> n are sitting in a circle starting at person 1 , a hot potato is passed,after m passes , the person...
Results 1 to 14 of 14