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!
Type: Posts; User: fleafy
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!
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...
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++)
{
...
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...
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. ...
If the time is 24 and we add 1 more I want to redirect the plane to another airport.
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...
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()
{
...
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...
OK I found my own mistake. Sorry for bothering.
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:...
Thank you so much man. I can't believe all my prob was fseek. Thank you.
I fixed my code
int o=0;
while(fscanf(veri,"%d %d %d %d",&aaNo[o],&bbKod[o],&ccPuan[o],&ddOffset[o]) == 4)
{
o++;
}
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...
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;
...