C++ Babulu   Independent houses near kukatpally | Apartments in Pragathi Nagar | AndhraVaani.com | Log Out | Topics | Search
Register | Edit Profile

Bewarse TalkStudents, Jobs, Visa Issues & Info � C++ Babulu Previous Next

Author Message
Top of pagePrevious messageNext messageBottom of pageLink to this message

Proofdada
Bewarse Legend
Username: Proofdada

Post Number: 30984
Registered: 03-2004
Posted From: 80.121.144.9

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, October 19, 2005 - 2:07 am:Insert Quote Edit PostDelete PostView Post/Check IP

kikiki...chana quick vunnaree nanu cheppaniyaledhu.....rk first post looni first point saalu....
Top of pagePrevious messageNext messageBottom of pageLink to this message

Sultan
Kurra Bewarse
Username: Sultan

Post Number: 711
Registered: 06-2005
Posted From: 68.226.157.141

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, October 18, 2005 - 9:36 pm:Insert Quote Edit PostDelete PostView Post/Check IP

Era Inko Round sutti vachavara GLobe suttu
Top of pagePrevious messageNext messageBottom of pageLink to this message

Globe
Pilla Bewarse
Username: Globe

Post Number: 78
Registered: 05-2005
Posted From: 38.119.107.89

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, October 18, 2005 - 9:16 pm:Insert Quote Edit PostDelete PostView Post/Check IP



Top of pagePrevious messageNext messageBottom of pageLink to this message

Venu
Celebrity Bewarse
Username: Venu

Post Number: 6400
Registered: 03-2004
Posted From: 68.80.89.30

Rating:
Votes: 2(Vote!)

Posted on Tuesday, October 18, 2005 - 9:04 pm:Insert Quote Edit PostDelete PostView Post/Check IP

Khushi_Ram mama

Thanks. I could solve the problem using "get()" function itself. The whole fucking problem was I was misguided by the editor I used to view the Binary file. The editor was an Hex editor and it was showing Hex values for the data!! So, I kept on thinking about Hex data!! But, the whole data is binary data kadaa ani sustha unte ye get function what ever thukku you give to it, it gives a integer ani danni vaadithe problem solved!

Thanks though, inka konni chetta panulu seyyali, so nuvvu ichhina link lo sustha!
Top of pagePrevious messageNext messageBottom of pageLink to this message

Kushi_ram
Bewarse Legend
Username: Kushi_ram

Post Number: 12045
Registered: 04-2004
Posted From: 68.81.38.212

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, October 18, 2005 - 7:22 pm:Insert Quote Edit PostDelete PostView Post/Check IP

Venu mama,

Exactly ne question e manodu kuda adigadu choodu about COUT.

http://groups.google.com/group/alt.comp.lang.learn .c-c++/browse_thread/thread/d1ad81b315d7bf3e/ec26b c52315fbfc5?lnk=st&q=Converting+HEXADECIMAL+to+ASC II+in+C%2B%2B&rnum=3&hl=en#ec26bc52315fbfc5
Top of pagePrevious messageNext messageBottom of pageLink to this message

Kushi_ram
Bewarse Legend
Username: Kushi_ram

Post Number: 12044
Registered: 04-2004
Posted From: 68.81.38.212

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, October 18, 2005 - 7:15 pm:Insert Quote Edit PostDelete PostView Post/Check IP

http://mail.nessus.org/pipermail/plugins-writers/2 004-March/msg00023.html

E Site lo check cheyyi information undi koncham about how to convert from HEX to ASCII.
Top of pagePrevious messageNext messageBottom of pageLink to this message

Kushi_ram
Bewarse Legend
Username: Kushi_ram

Post Number: 12043
Registered: 04-2004
Posted From: 68.81.38.212

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, October 18, 2005 - 7:12 pm:Insert Quote Edit PostDelete PostView Post/Check IP

Venu mama,

1) Write a function which takes in an hexadecimal array as parameter and returns you an hexadecimal array without the delimeter if it exists in the input parameter.

2) as you read the file parse each line of data to the above function. pass the line of data to the above function. Create a new file and write the contents as you get from the above function.


Chala simple ga chepanu kada. The whole challenge here is to convert the hexadecimal binary string into a char array. Konni examples kosam try chestha.
Top of pagePrevious messageNext messageBottom of pageLink to this message

Venu
Celebrity Bewarse
Username: Venu

Post Number: 6399
Registered: 03-2004
Posted From: 67.84.172.208

Rating:
Votes: 3(Vote!)

Posted on Tuesday, October 18, 2005 - 5:22 pm:Insert Quote Edit PostDelete PostView Post/Check IP

Sorry to have opened it here!! MODS plz keep this for a day and dump it in tech section.

C++ Gurus ki oka very very quick question.

I have a Binary File. I want to read it and want to eliminate some delimiting charecters from that file before processing further.

Naa problem yentante, aa delimiting charecters yekkada padithe akkada unnay and not at fixed byte locations!!

So, only way is to read the Bnary file into a char array, parse thru each byte looking for delimiters and eliminate them!!

Aa file lo delimiters "F5", "FC" ani untay!! I think they are hexa decimal notation.

Nenu aa file read cheyagaluguthunna but some how vaati contents "cout" chesthunte avi aa Binary notation lo print kavatle!! Mari idi "cout" problem aa, avi hex values avvatam karanam telvatle!!

Naa godava aa file read chesi, aa "F5", "FC" ni conditional lo confirm chesukoni lepali!!

Any suggestions??