Search:

Type: Posts; User: m0ntana

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: BST Counting

    by m0ntana
    Replies
    6
    Views
    1,664

    ok then i misunderstood, by the way I've almost...

    ok then i misunderstood, by the way I've almost completed the program :)
  2. Thread: BST Counting

    by m0ntana
    Replies
    6
    Views
    1,664

    Yes I mean equal in size, if left side contains...

    Yes I mean equal in size, if left side contains 60 nodes, right sides contains 60 too, if I didnt misunderstood from your answer...
  3. Thread: BST Counting

    by m0ntana
    Replies
    6
    Views
    1,664

    First of all thanks for answer, Actuallay,...

    First of all thanks for answer,

    Actuallay, I'm very newbie on this BST data topic, but I've been learning...What I didn't understand from what you wrote is that, how come a random generated...
  4. Thread: BST Counting

    by m0ntana
    Replies
    6
    Views
    1,664

    BST Counting

    I'm trying to build up BST program in which a random number genarator is available too. So Random number generator will produces numbers according to user's choice and send them into the insertion...
  5. Thread: File Handling

    by m0ntana
    Replies
    3
    Views
    1,438

    Hi Salem, Usually I dont use & while reading...

    Hi Salem,

    Usually I dont use & while reading strings but when it doesn't work and get crashed, I tried to do by using it..anyway Even if I'm not overflowing the strings (maybe less not over) , it...
  6. Thread: File Handling

    by m0ntana
    Replies
    3
    Views
    1,438

    Anyway I've solved the problem by doing this ...

    Anyway I've solved the problem by doing this



    do{
    fscanf( r,"%d %s %s %d",&number[i],&temp,&temp2,&number2[i]);
    strcpy(name[i],temp);
    strcpy(name2[i],temp2);
    ...
  7. Thread: File Handling

    by m0ntana
    Replies
    3
    Views
    1,438

    File Handling

    While reading strings from a file, I'm having a lil problem, what's wrong here it doesnt give any error or warning but while running it gets crashed.



    int main(){
    FILE* r;
    int i=0;...
  8. Replies
    5
    Views
    1,660

    sorry for the answer in another language rather...

    sorry for the answer in another language rather than english..

    Her şehir için 1 take-off 1 landing head pointer tanımlıyorsun, totalde 6 tane oluyor...

    Her birini farklı bir linked list olarak...
  9. Replies
    5
    Views
    1,660

    problem's been solved...thanx alot... Cikti :)...

    problem's been solved...thanx alot...

    Cikti :)

    ugrastirdi ama biraz :)
  10. Replies
    5
    Views
    1,660

    enqueue and deuque funct.

    Hi all

    I'm having kind of queue problem in my program while handling queues,,

    basicly in my program I have 4 different quees , you can try to think like, there are 2 different cities
    and 2...
  11. Replies
    12
    Views
    3,263

    If you mean, how the data which you are handling,...

    If you mean, how the data which you are handling, is contained in the txt...
    As I know If your read-order is like so;
    name
    dob
    height
    father
    mother

    The pattern of txt should be accorded with...
  12. Replies
    4
    Views
    2,483

    A kind of bubble sort algorithm, it may be...

    A kind of bubble sort algorithm, it may be helpful



    for(j = size-1 ; j >= 0; j--){
    for(i = 1 ; i <= j ; i++){
    if(x[i-1] > x[i]){
    temp = x[i-1];
    x[i-1] = x[i+1];
    x[i] =...
  13. Replies
    7
    Views
    1,710

    :) For the second one, I wanted to check it twice...

    :) For the second one, I wanted to check it twice :P, not ofcourse, as I were pasting code here I cut some pieces of it and one of the i=0 declaration left from another part of code..

    Anyway For...
  14. Replies
    7
    Views
    1,710

    Thanks Salem, I tried as you said and it works...

    Thanks Salem, I tried as you said and it works fine definetly...
  15. Replies
    7
    Views
    1,710

    Simple Sorting Algorithm

    Hi People,

    In my project, I've been trying to do sorting information in ascending or decsending order..

    User Enters these strings:
    Angelina
    Barbara
    Terrel
    Jamel
  16. Thread: typedef

    by m0ntana
    Replies
    26
    Views
    3,201

    Why don't you think about the "answer"... ...

    Why don't you think about the "answer"...

    looks like damn tricky useless college question or assignment or whatever it's.
  17. Replies
    11
    Views
    2,364

    int i = 2; char *msg = {"I want this right...

    int i = 2;
    char *msg = {"I want this right justified!\n" };
    printf("\n%+50s %d", msg, i);}

    it works fine, obviusly I had tried it by puttin 14 but I didn't calculate the excat length of string...
  18. Replies
    11
    Views
    2,364

    Actually, I didnt know this, I mean...

    Actually, I didnt know this, I mean printf("\n%+2s %d", msg, i); this part looks like a bit weird to me,and I've just compiled it and doesnt make any sense, maybe I just made something wrong.

    And...
  19. Replies
    11
    Views
    2,364

    Thanks for the explanation and I've had a look...

    Thanks for the explanation and I've had a look the site you suggested first, and looks like another world to me : ) but it must be really helpful for advanced implementations.



    All I can say...
  20. Replies
    11
    Views
    2,364

    :cool: what do you mean by saying IDEs help...

    :cool:


    what do you mean by saying IDEs help files or man pages?
  21. Replies
    11
    Views
    2,364

    Thanks noir, I coded excatly what you've written...

    Thanks noir, I coded excatly what you've written above and it works fine ...

    Sometimes it can be tough to reach this kind of information, because in beginner and regular C books does not contain...
  22. Replies
    11
    Views
    2,364

    String Justifying

    Hello people,

    I'm trying make right-justify the strings entered,
    User enters different size of strings and I'm calculating their length and find the maximum of them...
    For instance

    First...
  23. Replies
    2
    Views
    2,887

    Actually I gotta use the head which is in main...

    Actually I gotta use the head which is in main one, but while I'm trying to fix the program up, I must have put the second head as globally... As I said I got so confused ...
    And last } got missed...
  24. Replies
    2
    Views
    2,887

    Creating Linked List Using Hashing and Stack

    Hi All,

    For a while I've been stuck on something and I couldn't get out of it,
    Simply, I'm trying to create and linked list while using "stack" method, and as I'm doing this, I must
    use Hashing...
  25. Replies
    5
    Views
    8,785

    What about this, I created such a algorithm...

    What about this,

    I created such a algorithm that works fine for my purposes, but one thing



    char* puzzle[LENGHT] = {"jerome",
    "emorej",
    "rxxxxx",
    "oxxxxx",
Results 1 to 25 of 28
Page 1 of 2 1 2