MilkBeforeCereal
Alright thank you all...let me get down with it
chris
Where is the error in the pseudocode?😭
chris
Is anybody studys C or Java here?
chris
I can't find the error
chris
Which one
What means Which one ?
Anonymous
Actually HTML5+CSS3 combination is Turing complete...
Hubert
Where is the error in the pseudocode?😭
line 12 : what is orderFile, is it orderInput?
chris
I wonder if there any logic error or grammer error.
klimi
logic
Hubert
It is just a flie.
i meant line 12 it should be orderInput or hightOutput, and the file HightValue.dat has not be opened yet, how can we write to ouput if we don't open it
Noor
Is there already someone rewrite STL c++ with cleaner implementation?
Pavel
almost every project I worked on used their own implementation of things from STL (their own strings, all kind of containers, and so on), but the aim was not to make it "cleaner". But to make it faster
Noor
cleaner? what do you mean
I understand nothing whats going on in gnu STL.
Pavel
I understand nothing whats going on in gnu STL.
do you try to read the code? I think it's not meant to be read
Tobias🐾🚲
Anonymous
Is there already someone rewrite STL c++ with cleaner implementation?
You can try EASTL But it's not fully compatible with the standard
Dima
you could just buy ad from us that’s what
Wisenky
guys why I cant get true values in this codes #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct { int size; int id; int tip; float x1; float x2; float y1; float y2; }blocks; int main() { blocks *block1 , *block2 , *block3; char line[60]; int blcNum=1; int sizer=0; int temp; block1 = malloc( sizeof(blocks) ); block2 = malloc( sizeof(blocks) ); block3 = malloc( sizeof(blocks) ); FILE *fp; fp = fopen("IEEE_test_system_12.txt","r"); // block's size calculator and memory allocater ; while(fgets(line,60,fp)) { if ( strstr(line,"\0") != NULL && strstr(line,"ID") == NULL && strstr(line,"END") == NULL ) { sizer++; } else if ( strstr(line,"END") != NULL ){ if ( blcNum == 1){ block1->size = sizer; blcNum++; sizer = 0; } else if ( blcNum == 2){ block2->size = sizer; blcNum++; sizer = 0; } else if ( blcNum == 3){ block3->size = sizer; blcNum++; sizer = 0; } } }; block1 = realloc(block1 , block1->size * sizeof(blocks)); block2 = realloc(block2 , block2->size * sizeof(blocks)); block3 = realloc(block3 , block3->size * sizeof(blocks)); fclose(fp); line == NULL; blcNum=1; puts("\n\n"); fp = fopen("IEEE_test_system_12.txt","r"); char *szTempString; int index=1; int counter=1; while(fgets(line,60,fp)) { szTempString = line; if( strstr(line,"ID") == NULL && strstr(line,"END") == NULL ) { printf("%s",line); if(index <= block1->size) { printf("%s",line); sscanf(szTempString,"%d %f %f",&(block1 + (index*sizeof(blocks)))->id,&(block1 + (index*sizeof(blocks)))->x1,&(block1 + (index*sizeof(blocks)))->y1); index++; } } } fclose(fp); printf("\nUploader's information : \n"); for (temp =1; temp <= block1->size ; ++temp) { printf(" id : %d , X1 : %f , Y1 : %f \n",(block1+(temp*sizeof(block1)))->id,(block1+(temp*sizeof(block1)))->x1,(block1+(temp*sizeof(block1)))->y1); } /* printf("\nCustomer's information : \n"); for (temp =1; temp <= block2->size ; ++temp) { printf(" id : %d , tip : %d , X1 : %f , Y1 : %f , X2 : %f , Y2 : %f \n",(block2+(temp*sizeof(block2)))->id,(block2+(temp*sizeof(block2)))->tip,(block2+(temp*sizeof(block2)))->x1, (block2+(temp*sizeof(block2)))->y1,(block2+(temp*sizeof(block2)))->x2,(block2+(temp*sizeof(block2)))->y2); } */ /* printf("\nLine's information : \n"); for (temp =1; temp <= block3->size ; ++temp) { printf(" id : %d , X1 : %f , Y1 : %f , X2 : %f , Y2 : %f \n",(block2+(temp*sizeof(block3)))->id,(block2+(temp*sizeof(block3)))->x1, (block2+(temp*sizeof(block3)))->y1,(block2+(temp*sizeof(block3)))->x2, (block2+(temp*sizeof(block3)))->y2); } */ printf("\n1 . block's size : %d ",block1->size); printf("\n2 . block's size : %d ",block2->size); printf("\n3 . block's size : %d ",block3->size); free(block1); free(block2); free(block3); return 0; } but I can access values truely in this , also I cant able to understand the difference without scanning vlariables from text
Wisenky
guys why I cant get true values in this codes #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct { int size; int id; int tip; float x1; float x2; float y1; float y2; }blocks; int main() { blocks *block1 , *block2 , *block3; char line[60]; int blcNum=1; int sizer=0; int temp; block1 = malloc( sizeof(blocks) ); block2 = malloc( sizeof(blocks) ); block3 = malloc( sizeof(blocks) ); FILE *fp; fp = fopen("IEEE_test_system_12.txt","r"); // block's size calculator and memory allocater ; while(fgets(line,60,fp)) { if ( strstr(line,"\0") != NULL && strstr(line,"ID") == NULL && strstr(line,"END") == NULL ) { sizer++; } else if ( strstr(line,"END") != NULL ){ if ( blcNum == 1){ block1->size = sizer; blcNum++; sizer = 0; } else if ( blcNum == 2){ block2->size = sizer; blcNum++; sizer = 0; } else if ( blcNum == 3){ block3->size = sizer; blcNum++; sizer = 0; } } }; block1 = realloc(block1 , block1->size * sizeof(blocks)); block2 = realloc(block2 , block2->size * sizeof(blocks)); block3 = realloc(block3 , block3->size * sizeof(blocks)); fclose(fp); line == NULL; blcNum=1; puts("\n\n"); fp = fopen("IEEE_test_system_12.txt","r"); char *szTempString; int index=1; int counter=1; while(fgets(line,60,fp)) { szTempString = line; if( strstr(line,"ID") == NULL && strstr(line,"END") == NULL ) { printf("%s",line); if(index <= block1->size) { printf("%s",line); sscanf(szTempString,"%d %f %f",&(block1 + (index*sizeof(blocks)))->id,&(block1 + (index*sizeof(blocks)))->x1,&(block1 + (index*sizeof(blocks)))->y1); index++; } } } fclose(fp); printf("\nUploader's information : \n"); for (temp =1; temp <= block1->size ; ++temp) { printf(" id : %d , X1 : %f , Y1 : %f \n",(block1+(temp*sizeof(block1)))->id,(block1+(temp*sizeof(block1)))->x1,(block1+(temp*sizeof(block1)))->y1); } /* printf("\nCustomer's information : \n"); for (temp =1; temp <= block2->size ; ++temp) { printf(" id : %d , tip : %d , X1 : %f , Y1 : %f , X2 : %f , Y2 : %f \n",(block2+(temp*sizeof(block2)))->id,(block2+(temp*sizeof(block2)))->tip,(block2+(temp*sizeof(block2)))->x1, (block2+(temp*sizeof(block2)))->y1,(block2+(temp*sizeof(block2)))->x2,(block2+(temp*sizeof(block2)))->y2); } */ /* printf("\nLine's information : \n"); for (temp =1; temp <= block3->size ; ++temp) { printf(" id : %d , X1 : %f , Y1 : %f , X2 : %f , Y2 : %f \n",(block2+(temp*sizeof(block3)))->id,(block2+(temp*sizeof(block3)))->x1, (block2+(temp*sizeof(block3)))->y1,(block2+(temp*sizeof(block3)))->x2, (block2+(temp*sizeof(block3)))->y2); } */ printf("\n1 . block's size : %d ",block1->size); printf("\n2 . block's size : %d ",block2->size); printf("\n3 . block's size : %d ",block3->size); free(block1); free(block2); free(block3); return 0; } but I can access values truely in this , also I cant able to understand the difference without scanning vlariables from text
#include "stdio.h" #include "stdlib.h" typedef struct { int size; int id; int tip; float x1; float x2; float y1; float y2; }str; int main() { str *block1,*block2; block1 = malloc( sizeof(str) ); block2 = malloc( sizeof(str) ); block1->size = 10; block2->size = 10; block1 = realloc(block1 , block1->size * sizeof(str)); block2 = realloc(block1 , block2->size * sizeof(str)); int i; (block1+(1*sizeof(block1)))->x1 = 10.0; (block1+(2*sizeof(block1)))->x1 = 15.2; (block1+(3*sizeof(block1)))->x1 = 4.5; (block2+(1*sizeof(block2)))->x1 = 9.0; (block2+(2*sizeof(block2)))->x1 = 20.2; (block2+(3*sizeof(block2)))->x1 = 8.5; int index; printf("\n enter a number which element's x1 value of customer you want to see : "); scanf("%d",&index); printf("%d . element's x1 value : %.2f",index,(block1+(index*sizeof(block1)))->x1); free(block1); return 0; }
Wisenky
first one doesnt work right :(
Wisenky
guys why I cant get true values in this codes #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct { int size; int id; int tip; float x1; float x2; float y1; float y2; }blocks; int main() { blocks *block1 , *block2 , *block3; char line[60]; int blcNum=1; int sizer=0; int temp; block1 = malloc( sizeof(blocks) ); block2 = malloc( sizeof(blocks) ); block3 = malloc( sizeof(blocks) ); FILE *fp; fp = fopen("IEEE_test_system_12.txt","r"); // block's size calculator and memory allocater ; while(fgets(line,60,fp)) { if ( strstr(line,"\0") != NULL && strstr(line,"ID") == NULL && strstr(line,"END") == NULL ) { sizer++; } else if ( strstr(line,"END") != NULL ){ if ( blcNum == 1){ block1->size = sizer; blcNum++; sizer = 0; } else if ( blcNum == 2){ block2->size = sizer; blcNum++; sizer = 0; } else if ( blcNum == 3){ block3->size = sizer; blcNum++; sizer = 0; } } }; block1 = realloc(block1 , block1->size * sizeof(blocks)); block2 = realloc(block2 , block2->size * sizeof(blocks)); block3 = realloc(block3 , block3->size * sizeof(blocks)); fclose(fp); line == NULL; blcNum=1; puts("\n\n"); fp = fopen("IEEE_test_system_12.txt","r"); char *szTempString; int index=1; int counter=1; while(fgets(line,60,fp)) { szTempString = line; if( strstr(line,"ID") == NULL && strstr(line,"END") == NULL ) { printf("%s",line); if(index <= block1->size) { printf("%s",line); sscanf(szTempString,"%d %f %f",&(block1 + (index*sizeof(blocks)))->id,&(block1 + (index*sizeof(blocks)))->x1,&(block1 + (index*sizeof(blocks)))->y1); index++; } } } fclose(fp); printf("\nUploader's information : \n"); for (temp =1; temp <= block1->size ; ++temp) { printf(" id : %d , X1 : %f , Y1 : %f \n",(block1+(temp*sizeof(block1)))->id,(block1+(temp*sizeof(block1)))->x1,(block1+(temp*sizeof(block1)))->y1); } /* printf("\nCustomer's information : \n"); for (temp =1; temp <= block2->size ; ++temp) { printf(" id : %d , tip : %d , X1 : %f , Y1 : %f , X2 : %f , Y2 : %f \n",(block2+(temp*sizeof(block2)))->id,(block2+(temp*sizeof(block2)))->tip,(block2+(temp*sizeof(block2)))->x1, (block2+(temp*sizeof(block2)))->y1,(block2+(temp*sizeof(block2)))->x2,(block2+(temp*sizeof(block2)))->y2); } */ /* printf("\nLine's information : \n"); for (temp =1; temp <= block3->size ; ++temp) { printf(" id : %d , X1 : %f , Y1 : %f , X2 : %f , Y2 : %f \n",(block2+(temp*sizeof(block3)))->id,(block2+(temp*sizeof(block3)))->x1, (block2+(temp*sizeof(block3)))->y1,(block2+(temp*sizeof(block3)))->x2, (block2+(temp*sizeof(block3)))->y2); } */ printf("\n1 . block's size : %d ",block1->size); printf("\n2 . block's size : %d ",block2->size); printf("\n3 . block's size : %d ",block3->size); free(block1); free(block2); free(block3); return 0; } but I can access values truely in this , also I cant able to understand the difference without scanning vlariables from text
@imHubert solved the problem thank you guys
Hubert
you're welcome
klimi
who permited your post? 5 minute and i am warning
Oluwaseun
hi every one
Oluwaseun
i learn cpp at school
Oluwaseun
but we are just taught to calculate simple quadratic equation and stuffs like that
Oluwaseun
i need people that can allow me to join their project
klimi
do you know OpenGL?
Dima
/ban stap
Dima
I wonder if they are just spamming with that stuff or this group was choosen by someone to attack with userbots
Ak
Lauri
If I have these skills could I land a job as database admin : database like sql , Linux os administration , scripting like python bash , using database software like MySQL postgresql very well
Lauri
??
Dima
Yes
Lauri
It wouldn't be a problem if u answer my question
Dima
It wouldn't be a problem if u answer my question
it wouldn’t be a problem if you read the rules:)
Dima
yes you can
Lauri
Nvm
professor
what is the version of std::fgets(contents, 4096, f); in order to make to write more bytes than it is intend to?
klimi
klimi
k
Anonymous
k
What about u, what do u do?
klimi
What about u, what do u do?
im admin here.... if that is what you are asking
Anonymous
im admin here.... if that is what you are asking
Being an Admin on Telegram won’t bring u the money a man really needed.. I mean ur line of job bro..
Anonymous
better than being a skid
klimi
i am a student, i don't have time to do more work... like cracking spam, i don't even have the time to do hobbies
Dima
We have a real job instead lol
Anonymous
oh, I was just relating to not having any time. I'm a full-time student as well
Anonymous
We have a real job instead lol
How about that, I’m an office man as well.. Got my own business, always plan ahead, u don’t wait till the time comes..
Anonymous
Have a great day fellas.
Anonymous
klimi
Have a great day fellas.
btw i have a question, what does cracking spam means?
Anonymous
btw i have a question, what does cracking spam means?
I'd interpret it as him selling bots for spamming, and cracking tools
klimi
Do I know? 🤷🏽‍♂️
it's what you do bruh
Anonymous
Bye kids
Anonymous
kek
klimi
ic now
Anonymous
lel, he left
Dima
lol
klimi
Dima
Idiots