Search:

Type: Posts; User: fleafy

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    439

    Yes I found my own mistake sorry for not...

    Yes I found my own mistake sorry for not correcting the reply! I am very thankful for your time you spend on my problem sir. Have a nice day/night!
  2. Replies
    12
    Views
    439

    Sir, thank you for your time. The program you...

    Sir, thank you for your time. The program you wrote works fantastic. Now I just need to include priority stuff into the code as I mentioned above. Just a quick question can I find how many times a...
  3. Replies
    12
    Views
    439

    int canGoDown() { int...

    int canGoDown()
    {
    int time[24]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24};
    for(int i=0; i<28; i++)
    {
    for(int j=0; j<3;j++)
    {


    ...
  4. Replies
    12
    Views
    439

    How can I see what spot is occupied or not?...

    How can I see what spot is occupied or not? Without this if-else statements I can't think of any other way. I made a loop which increments values only 3 times, some of the landing times were correct...
  5. Replies
    12
    Views
    439

    Screenshot 2021-12-13 164115 | Berk Sunduri |...

    Screenshot 2021-12-13 164115 | Berk Sunduri | Flickr Here is the code I reworked on based on your writings. Screenshot 2021-12-13 164005 | Berk Sunduri | Flickr Here is the output of that code. ...
  6. Replies
    12
    Views
    439

    If the time is 24 and we add 1 more I want to...

    If the time is 24 and we add 1 more I want to redirect the plane to another airport.
  7. Replies
    12
    Views
    439

    The priority will come later. I need to set-up...

    The priority will come later. I need to set-up the landing times by priority of the planes. For example: 1.Emergency Plane, 2.War Plane, 3.Passanger Plane, 4.Cargo Plane. As seen on the photo which I...
  8. Replies
    12
    Views
    439

    C program to delay flights

    Hey I am trying to make a C program which delays or sets airplane landing times. I have a problem with delaying the times. Here is the function which I am trying to do it :


    int canGoDown()
    {
    ...
  9. Is there a way that I can write on top of a line in C graphics.h or OpenGL library?

    I have a question about graphics.h library of C. I am trying to visualize a suffix tree in C with using graphics.h library or OpenGL library it doesn't matter. How can I write the suffixes of the...
  10. Replies
    9
    Views
    861

    OK I found my own mistake. Sorry for bothering.

    OK I found my own mistake. Sorry for bothering.
  11. Replies
    9
    Views
    861

    Hey John sorry for disturbing you again. When I...

    Hey John sorry for disturbing you again. When I try to do


    Record *recs = malloc(rec_count * sizeof *recs);

    I get the error: C:\Users\Berk\Desktop\Codes\Dense Indexing\main.c|278|error:...
  12. Replies
    9
    Views
    861

    Thank you so much man. I can't believe all my...

    Thank you so much man. I can't believe all my prob was fseek. Thank you.
  13. Replies
    9
    Views
    861

    I fixed my code int o=0; ...

    I fixed my code


    int o=0;
    while(fscanf(veri,"%d %d %d %d",&aaNo[o],&bbKod[o],&ccPuan[o],&ddOffset[o]) == 4)
    {
    o++;
    }
  14. Replies
    9
    Views
    861

    It is a .dat file I can just show you some lines...

    It is a .dat file I can just show you some lines of it:
    9 2 34 4225420
    7 4 24 42205436
    0 3 62 4225452
    0 1 45 4225468
    9 1 61 4225484
    4 1 42 4225500
    8 1 91 4225516
    8 2 53 4225532
    6 2 21...
  15. Replies
    9
    Views
    861

    f scanf to dynamic arrays in C

    Hello, I have a problem whenever I try to read from a file to a dynamic array the values are just random.


    int* aaNo;
    int* bbKod;
    int* ccPuan;
    int* ddOffset;
    ...
Results 1 to 15 of 15