473,385 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to use commands for *bin C flow

11
can any one help me to solve this problem!
i need the commands for the bin file so that i can use it thru C language
Sep 11 '07 #1
4 1565
gpraghuram
1,275 Expert 1GB
can any one help me to solve this problem!
i need the commands for the bin file so that i can use it thru C language
Can you provide more info on what you need.
I am not able to understand rightly what u need.
Raghuram
Sep 11 '07 #2
kelly86
11
Can you provide more info on what you need.
I am not able to understand rightly what u need.
Raghuram

well my lecturer asked me to go thru the commands that were used in C language using binary file!
She had a given me a task to use C language to create a hex reader/compiler/editor, for use in our college for modifying *.bin files.
thats y i don't undertand wat type of commands that she needs!
Sep 12 '07 #3
gpraghuram
1,275 Expert 1GB
well my lecturer asked me to go thru the commands that were used in C language using binary file!
She had a given me a task to use C language to create a hex reader/compiler/editor, for use in our college for modifying *.bin files.
thats y i don't undertand wat type of commands that she needs!

In C language the command used o read the binary file is fread and you shuld use memcpy for copying the read buffer to another buffer.

Raghuram
Sep 12 '07 #4
kelly86
11
In C language the command used o read the binary file is fread and you shuld use memcpy for copying the read buffer to another buffer.

Raghuram


thank you for your guide and help
Sep 12 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Kory Wheatley | last post by:
Hi all, I've just started to learn Python and I have a question. What is the syntax to embed Unix commands, or call other programs within a Python script? for example I would like to use a...
2
by: francescomoi | last post by:
Hi. On PHP4, I want to execute these two system commands: # cd /home/foo1/foo2 # /usr/local/php/bin/php /home/foo1/foo2/script.php If I do it via shell, it works ok. But If I do: -------
1
by: jonathan184 | last post by:
Hi I am trying to login a JMS admin tool and execute JMS commands and using perl windows to do this. This is the e.g of connection string they said to use when trying to connec to jms ****connect ...
15
by: tmp123 | last post by:
Hello, Thanks for your time. We have very big files with python commands (more or less, 500000 commands each file). It is possible to execute them command by command, like if the commands...
0
by: DanceOrDie | last post by:
I want to make a c# projects thats uses a tool whit ms-dos shell but i dont know how to passes the commands i need so that the tool im using makes the job i want to... Process process = new...
1
by: Riccardo Maria Bianchi | last post by:
Hello! :) I'm trying to run shell commands both with os.system() and subprocess.Popen() class. But I can't run aliases or function defined in my .bashrc file, like in the login interactive...
1
by: raocheng | last post by:
Please see the following code. Suppose I have many shell commands to be executed. And I don't want to fork a sub shell for each command(eg: status,output = commands.getstatusoutput(cmd)) because...
2
by: rcook349 | last post by:
I'm trying to automate our builds and publishes of our Windows application (deployed to a website via ClickOnce). I'm getting close, I think, on the commands I need to execute. However, how do...
0
by: xahlee | last post by:
Here's a little tutorial that lets you write emacs commands for processing the current text selection in emacs in your favorite lang. Elisp Wrapper For Perl Scripts...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.