Discussion in "General help Guidance and Discussion" started by    sachinmm    Apr 21, 2016.
Thu Apr 21 2016, 07:49 AM
I have a txt file, content of file is :


I need to store all this value into :

unsigned char tempArray[10]={0xaa,0xbb,0xcc,0xdd,0xee,0x00,0x00,0x00,0x00,0x00}.

is there any solution so that my array:

tempArray[]= {0xaa,0xbb,0xcc,0xdd,0xee,0x1a,0x2b,0xff,0x99,0x55}.

need to store values from .text file into specific location of array USING C language?

Thanking you in anticipation of favorable replies.

[ Edited Thu Apr 21 2016, 07:57 AM ]
Thu Apr 21 2016, 09:06 AM

Did you worked on the solution .. Modified it.. as i previous reply.?

Thu Apr 21 2016, 09:16 AM
yes but not copy this value in array properly...
Thu Apr 21 2016, 09:17 AM
Which Complier you are using ? Which MCU ?
Fri Apr 22 2016, 04:39 AM
gcc and this code for desktop only...
Fri Apr 22 2016, 06:16 AM
in my previous thread i was try your solution but not work for integer now i want to try on hex values only
Fri Apr 22 2016, 06:32 AM
is any solution on hex value data for read and store??
Thu Apr 28 2016, 01:12 AM
Did you read / understand my last post to your other thread ?

[ Edited Fri May 06 2016, 10:52 AM ]

Get Social


Powered by e107 Forum System


Thu May 06 2021, 01:11 PM
Hello, constantly i used to check blog posts here in the early hours in the morning, since i like to find out more and more. Local Dating https://datingsitesww.com
Thu May 06 2021, 12:33 PM
It's an remarkable article in support of all the web people; they will get benefit from it I am sure. senior dating sites http://onlinedatingdd.com/
Thu May 06 2021, 10:24 AM
What's Taking place i am new to this, I stumbled upon this I have discovered It absolutely useful and it has aided me out loads. I hope to contribute & help other users like its helped me. Good job. match dating https://onlinedatingtind.com/
Tue May 04 2021, 08:34 PM
Hi there! I could have sworn I've been to this site before but after browsing through some of the post I realized it's new to me. Anyways, I'm definitely glad I found it and I'll be book-marking and checking back frequently! check my score https://creditscorecheckn.com
Tue May 04 2021, 06:39 PM
What's up everyone, it's my first go to see at this web page, and post is really fruitful in support of me, keep up posting these types of articles. Best Credit Score https://creditscoresids.com



Thu Jun 25 2020, 03:46 PM
Mon Jun 22 2020, 03:03 PM
Tue Jun 16 2020, 05:10 PM
Sat Jun 13 2020, 09:43 PM
Thu May 21 2020, 12:44 PM
Thu May 21 2020, 01:28 AM
Wed May 20 2020, 07:05 PM
Wed May 20 2020, 11:52 AM


Guests: 121, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123