0

Hello guys, i'm new here. I would like to convert my .txt file which have the following content into an array of int which every elemnt in the array should only have 4 character inside.

example:

two[1]= 0x03;
two[2]= 0x00;
two[3]= 0x03;
two[4]= 0xf5;

This is the content of my file:

0xf50x000x000x000x100x230x210x2c0x410x290x220x980x410x2d0x2e0x9b0xa10x2e0xa60x820xa10x3d0x1f0x980x410x44

Edited by marvin.gorres.5

3
Contributors
4
Replies
19
Views
4 Years
Discussion Span
Last Post by abhi_d_one
0

Normally in every programming language we have a split function and different functions which can be used to fInd or search sUb string or charachters in a STRING but approach should also be part of concern that it is not supposed to hit the performance as it may also require a loop that could be consumption of space and time . Since you are a beginner I will sugest you to learn algorithms which can help you to have good programming approch

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.