Hi friends, I have a strange problem, i have an mdb file which has a table (which contains records of type MEMO), i am using CRecordSet Class to...
Hi friends, :) I have a problem, i am using CRecordSet class member function GetFieldValue() to read a field from database ( MS-Access ) but when...
Sorry i dint observe that, Yes the search will be frequent say atleast 50 times when it enters my function, and the table is not sorted and read...
wow thanks for all the replies...:) i will make it more clear... The elements are not sorted, the elements are not integers or floats, its all...
Hi friends, I have a doubt, i have a file which contains around 3000 elements, now i want to search for an element in that file.... what will be...
Hi all, Can anyone tell me how can i convert a unicode string to UTF8 and UTF16 ? say, i have like this ? WCHAR unicodebuf[] = L"Hello how are...
Hi all, I am using Visual Studio 2005, i am new to MFC and i am trying to write a simple program to read a string (of french or chineese or any...
ok thanks DaWei, strtol is the exact one that i was looking for....:) and my word does'nt mean to hurt u....and i am not a boy..:). i am a...
Thanks for u reply..:) i just wanted to know.... can we convert an arry of 4 charecters to int in any way... and U think knowing things...
Thanks DaWei..:) nothing special i am trying to do.. just thought char is 1 byte and int is 4 bytes then why cant i take an array of charecters...
Hi friends this is my simple code... i have stored 4 charecters in a buffer and compiling this code in GCC... where int is 4 bytes and if i read...
thanks DaWei, i have done that part what u told..i.e. copying that to a sting and replacing there and then fwrite() to the original file... but...
hello friends, i want to search a string in a file and replace that with the other string... how to do this... can anyone gimme a code for...
hello friends, i want to search a string in a file and replace that with the other string ?? can anyone gimme a code for this.... thanks...
oh... fine codes... thanks shabbir... i will come back if i have some moere doubts... thanks again.... :) :)
thanks shabbir... but if the value is 3A i have to read that as 16*3+10=58..... how can i do this....
sorry i didnt get u ??? say i have 3 and A(hex value) in the second and third locations of the file... by using atoi it only recognizes it as 3...
thanks shabbir, i tried that... but by using atoi only integers will be displayed...what if the values stored are in HEX say...A,B....F... atoi...
thanks for the reply shabbir, i will tell my problem more specifically.... i have a hex file and i wanted to read 2nd and 3rd bytes of that file...
Separate names with a comma.