I know ho to convert text to binary but how do i use binary to program. And dou you have to save it diferently for your cmputer to know it is binary.
204639
You don't use binary in this way, and compilator embedded into IDE (interface of development environment) does it for you. \n\nAny program is the combination of bytes, and each byte (in majority of systems) consists of 8 bits of information. Each bit is 0 or 1.\n\nActually, you can write in hex code (almost binary format) and it's hard and inconvenient, or in assembler, or more advanced programming languages.\n\nFor example, In assembler, command, say,  "JMP 280000"\nfor example, means go to address 280000, and translated into\ncombination of bytes.\n\nIt's very easy to transform the program written in C or assembler, into binary format, automatically.\nAlso, if you already have somebody's else binary, you could desassemble it into assembler or C code, with some limitations because there is no 1 to 1 mapping all the time.\n\nTherefore, binary is not a programming language.
412353
Every computer stores numbers,letters and other special characters in binary form.There are several occasions when computer professionals need to know the raw data contained in a computer's memory.A commanly used way of doing this is to print out the memory contents on a printer.This printout is called a "Memory Dump".This will be many pages of zeroes and ones.\n                              There is nothing to do with installing a program(make clear whether it is a progrm or software)and memory dump.You better take a backup of all your laptop contents format your laptop and then reinstall the program.Since it works fine in other computers there is no problem with the program but there may be some settings problem in your laptop.So try this solution.
516376
Can't answer the first question.\n\nThe native state of computer memory is null. That is not the same as blank or zero; it's nothing.
195531
I assume we're in C or Java, right???\n\na) Loss of precision\nb) can't assign a string to a char (Java - in C there are no strings)\nc) value out of range\nd) incompatible type\ne) WORKS!!!
330960
/*\nOriginal Question:\nI am writing a C program in Solaris environment...if i\nwant to execute some system command i can do it using\nsystem("string to be executed")....but it accepts string\nonly. what if i want to pass some variables to system at\nrun time....suppose i was to use this commands at runtime\n"cat file1 file2 >file3"....how i wud pass the file names?\nany suggestions !  thnx in advance Amardeep Sidhu\n*/\n\n#include <stdlib.h>\n#include <stdio.h>\n\nint\nmain(int argc, char* argv[])\n{\n\n  /* First, get some values into variables */\n\n  char *str1 = "ls";\n  char *str2 = "-l";\n  char *str3 = "/tmp";\n\n  /* One common trick to using "system()" is */\n  /* to "sprintf()" the arguments into a buffer */\n  {\n    char buffer[100];\n    sprintf(buffer, "%s %s %s", str1, str2, str3);\n    system(buffer);\n  }\n\n  return 0;\n}
220325
First, ASCII data is binary data, as is all other data on a computer.\nSecond, if you wrote a function to convert data from one format to another, I'm sure you can write a function to convert it back (assuming it's not irreversible).\n\nIf you know enough C# to do basic file IO, you know enough C# to write content filters (such format converters).
191002
go for printing the binary file. Among the different options of printers provided, there is an option for ASCII.This ASCII file is not printed but saved in a file.Thus the binary file is converted into ASCII file.
328571
Your program is only a good as the documentation. Your program may be a work of art, but if it is not documented properly, then it will not achieve it's full potential. It is the same with any system design.  If it is not documented properly, or is not worded in plain english, then\nthe entire system suffers.
194434
Infinite should be impossible.  If there's nothing in the list of assembly language commands that can help you, you're out of luck.  If you want to let the user use huge numbers, you'll have to write the program to do it yourself, or find one someone else has already written.
327007
Computers only understand binary. This is a really clunky way for humans to work. The origional computers were programmed by litterally toggling manual bits on the machine itself. Each generation of languages have sought to make programming easier and more powerfull. \n\nThe way it works is with the programmer. They decide on which language will do the best job for what they are doing. There are some major catagories of these languages.  Compiled vrs interpeted is a major catagory. Which you use depends on your needs. Compiled programs are actually compiled down into the binary codes that will run on your specific OS/Hardware. Interpited programs are compiled to byte code and then when they are run it is "interpeted" by a run time lib of some sort which converts the code to actual binary. Compiled programs obviously run faster as they skip the middle man. Interpited programs run on more than a single platform/OS. They also allow for changes on the fly and are more tolerant to upgrades in hardware/OS.  Java, most forms of Basic, Python are some examples of interpited languages. C, Fortran, Assembler are some examples of compiled languages. \n\nSo depending on your language choice you start to code. If you use a third level/functional language you will write out your basic code design and then compile it to byte or binary. If you are using an OOP language there is an extra step in this. Your classes need to be resolved and external dependancies also need to be resolved. Non OOP languages often have dependancies as well but the overhead for them is considerably less. OOP (Object oriented programming) has the advantage of reusing a great deal of code. It's disadvantage is more complex code and slower compile times. The OOP portions are generally either external references or broken down into literal code removing all OOP features from the compiled output. If it is an interpited language it's left as a stub to an external reference. Any other language it's included into the code, depending on the optimization methods generally it's writtin literally into the code on every call. \n\nLets talk about compiling now. Interpited languages compile down into byte code. That means that they create short cut notation for calls to inbuild functions with any your coding tucked in.  When run, this then expands into the dynamic functions with your code describing what to do with these functions. \n\nIn a compiled language the code is first compiled into objects. This is a totally different term from what is an object in code. Most modern compilors hide the obj files from users so you likely will not see or use one of these files today. In the past they were very usefull files at times. Objects are very similer to byte code in nature. They are shortcut notation for what you want to do with the code. \n\nThese objs are OS and version specific. An Obj from a Windows machine will not work on Linux and vice versa. They will contain references to functions that do not exist on the other platforms or have different calling parms and names for example. Other than differences like this there are other distinctions. For example the way memory is addresed and handled is differently in different OS's. The OBJ files have to know and use the specific mem model for that platform. \n\nThe next step is to reference the code. That is you address the functions, resolve dependancies between objects, wrap all your objects into the executable/lib you will be compiling and get it ready for conversion to assembler. \n\nThe assembler takes over from there. It will convert your instructions into Assembler macro instructions. Each computer contains a set of basic instructions that make a comptuer a computer. These calls are the foundations of any language. There are two main approaches to this. One is a richer set of assembler instuctions which is to say that many functions are already built into the bios. The other is to keep it simple and o
555660
It's called ASCII code... but can be written into art, instead of programmes.\n\nlike a rabbit...\n\n(&#92;__/)\n(+'.'+)\n(")_(")
146641
I guess i can put my input or what i think regarding this issue. The relevances are probably because C++ is a lower level language it can read numbers or transfer data at a binary level a lot better, which in turn helps out computer electronic boards because of the way logic gates work. Which are electrical switches that either transfer a 1 or a 0 to make a binary number that is 4 digits long to express a certain character therefore creating data. Some languages, such as high level languages like VB may have a lot harder time performing this task because in order to compile the programming language it takes it down to basic binary but it takes quite a while to turn high level languages into binary and get them to run perfectly. In fact it is sometimes hard for any program to run perfectly but with C++ its on such a basic level you dont really have any problems and if you do you can easily pick it up be it a logic error or an actual compiler error. So to sum it up i would say C++ is a lot more relevant cause it is on a more basic, binarly level with the logic gates than other languages that exhist.\n\n/kevin
380434
Sorry.... i guess ur question a lil tricky.... Well i am C++ prog and work on the VC++ platform...
24119
no because when the printer saves a file it saves it as an image so it cant be converted to text. but i think u can use it as an image.
15961
you can find a very good tutorial at the link.\n\nNo need to write whats already writtenm =)
165487
This is due to old DOS legacy\n\n"con" is short for console. \n\nIn the DOS days, you could do\nCMD>copy con a.txt, type into the console, on Ctrl-Z, the file contents that you typed got saved as a.txt.\n\nThere are other reserved names like lpt1 etc. You cannot have files or folders called any of these reserved names.
538922
Would it help to encode the characters before storing them, and decode the characters when reading them? That way you can easily mix character sets.\n\nRawlyn.