mmmm i see.. now i got it
thank you so much bro hk_mp5kpdw
Type: Posts; User: sam-j89
mmmm i see.. now i got it
thank you so much bro hk_mp5kpdw
thank you very much guys for your useful advices ... my program now is working successfully
hi hk_mp5kpdw , thanks for your attention..
i tried what you told me exactly(capacity() multiplied by the sizeof the stored objects) but unfortunately that didn't work
cuz when i wanna get the...
hi guys
i am wondering whether i can write a struct to a binary file or not?!
well , in this segment of my program :
enum Status {full, busy, empty};
struct block
{
char* WrdsArray[100];
Hi guyz..
I just wanna ask about the size allocated for the objects instantiated from a class container in the STL, for example when I write :
cout<<sizeof(list<int>);
I get the result 24,...
Hello … thank you guyz a lot for helping me through the past two weeks
Finally .. my program worked successfully without any problems even with great values for Nmax , and here is an explanation to...
hi iMalc , well i did my best trying to know what the hell is wrong with my program, but i couldn't figure out the bug that , most likely, gets my program into an infinite loop.
i tried Nmax up to...
hii bro iMalc.. here is a description of what happens to my program:
when it finishes randomizing words (i print the randomized words so i can see 'em before storing in the file) it should sort all...
hey iMal , i reconstructed my code into a "neat" one .. but still not working !!!!!!!!!!!!!!!!!!!
#include<iostream>
#include<fstream>
#include<ctime>
#include<string>
using namespace std;
...
still not working!!!!!!!!!!!!!!1
hey .. here is my last modification
#include<iostream>
using namespace std;
#include<fstream>
#include<ctime>
#include<string>
i also chech my file that they are opened successfully ..
void Natural_mergeSort()
{
int nb_sequence;
fstream t1, t2;
do
{
myfile.open("file1.bin", ios::binary|ios::in);
Hi iMalc thanx for your notes about my program, and sorry cuz I said it is a bug-free
I did as you told me and corrected my bugs in the program but that didn't work, it still sort the elements...
hello for everyone here
well i am a fresh man here ... and i'm really pleased that i'm a member here
well .. i made a program in c++ which is all about natural merge sort on files , since i want to...