answersLogoWhite

0

Why do you need files in c program?

Updated: 12/17/2022
User Avatar

Wiki User

8y ago

Best Answer

Files are needed to store a program's source code. The compiler uses these files to create object files which can then be linked by the linker to produce an executable code file. However, not all systems support the concept of a file, thus files are not actually considered part of the C standard and therefore files are not needed. They are simply a convenience when programming upon systems that do support the concept of a file.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why do you need files in c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How many files are created for c program when execute the program?

That's entirely up to the programmer. A program could create 0 files or 50 million files (or any number in between).


What is another name for an include file in c program?

Include files are also known as header files.


How do you open tiff files?

TIFF files are image files. They need to be opened in some type of image viewing program or image editing program like Photoshop.


All commands like percent userprofile percent?

Variable Default value:Windows XP Default value:Windows 7/2008 %ALLUSERSPROFILE% C:\Documents and Settings\All Users C:\ProgramData %APPDATA% C:\Documents and Settings\{username}\Application Data C:\Users\{username}\AppData\Roaming %CommonProgramFiles% C:\Program Files\Common Files C:\Program Files\Common Files %COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files C:\Program Files (x86)\Common Files %COMPUTERNAME% {computername} {computername} %COMSPEC% C:\Windows\System32\cmd.exe C:\Windows\System32\cmd.exe %HOMEDRIVE% C: C: %HOMEPATH% \Documents and Settings\{username}\Users\{username} %LOCALAPPDATA%N/A(but can be manually added LOCALAPPDATA=%USERPROFILE%\Local Settings\Application Data)C:\Users\{username}\AppData\Local %LOGONSERVER% \\{domain_logon_server} \\{domain_logon_server} %PATH% C:\Windows\System32\;C:\Windows\;C:\Windows\System32\Wbem;{plus program paths} C:\Windows\System32\;C:\Windows\;C:\Windows\System32\Wbem;{plus program paths} %PATHEXT% .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH; .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH; .MSC %ProgramData% N/A C:\ProgramData %ProgramFiles% C:\Program Files C:\Program Files %ProgramFiles(x86)% 1 C:\Program Files (x86) C:\Program Files (x86) %PROMPT% Code for current command prompt format,usually $P$G C:> Code for current command prompt format,usually $P$GC:> %PSModulePath% N/A %SystemRoot%\system32\WindowsPowerShell\v1.0\Modules\ %Public% N/A C:\Users\Public %SYSTEMDRIVE% C: C: %SYSTEMROOT% C:\Windows C:\Windows %TEMP% and %TMP% C:\Documents and Settings\{username}\Local Settings\Temp C:\Users\{Username}\AppData\Local\Temp %USERDOMAIN% {userdomain} {userdomain} %USERNAME% {username}{username} %USERPROFILE% %SystemDrive%\Documents and Settings\{username}%SystemDrive%\Users\{username} %WINDIR% C:\Windows C:\Windows


How do you execute a program in cmd with space?

Surround the name of the program in quotation marks, such as: "C:\Program Files (x86)\Programmer's Notepad\pn.exe".

Related questions

What is the shortcut to program files is c drive is blocked by your administrator?

If the 'c' drive is blocked, you can't access program files


Your batch is not copying the file to the mapped drives?

If you are trying to copy files from a location or to a location whose name has spaces, you will need to put the " " around the location for it to work. For example: copy C:\Users\Noah\Desktop\File.txt "C:\Program Files\Folder\File.txt" or copy "C:\Users\Noah\My Music\Music.mp3" C:\Program Files\Folder\Music.mp3 OR copy "C:\Users\Noah\My Pictures\Picture.jpg" "C:\Program Files\Folder\Picture.jpg


Where is the the program files folder located?

The Program Files folder is located in the Local Drive C. To access it, go to Start and My Computer or just Computer, depending upon which version of Windows you are using.


Your LimeWire says you have a previous version of LimeWire running on your PC when you try to install it even though this is your first LimeWire download?

LimeWire version 4.12.3 Pro Java version 1.6.0_05 from Sun Microsystems Inc. Windows Vista v. 6.0 on x86 Free/total memory: 3041656/4128768 com.limegroup.gnutella.gui.GUILoader$StartupFailedException: invalid update.ver at com.limegroup.gnutella.gui.GUILoader.sanityCheck(GUILoader.java:270) at com.limegroup.gnutella.gui.GUILoader.load(GUILoader.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.limegroup.gnutella.gui.Main.main(Main.java:44) STARTUP ERROR! FILES IN CURRENT DIRECTORY: C:\Program Files\LimeWire\clink.jar LAST MODIFIED: 1150901928906 SIZE: 307949 C:\Program Files\LimeWire\commons-httpclient.jar LAST MODIFIED: 1150901929859 SIZE: 459988 C:\Program Files\LimeWire\commons-logging.jar LAST MODIFIED: 1150901930375 SIZE: 59154 C:\Program Files\LimeWire\commons-net.jar LAST MODIFIED: 1150901932218 SIZE: 355370 C:\Program Files\LimeWire\daap.jar LAST MODIFIED: 1150901934906 SIZE: 388504 C:\Program Files\LimeWire\GenericWindowsUtils.dll LAST MODIFIED: 1150901913109 SIZE: 12279 C:\Program Files\LimeWire\hs_err_pid256.log LAST MODIFIED: 1227143936485 SIZE: 12691 C:\Program Files\LimeWire\hs_err_pid3836.log LAST MODIFIED: 1229478222329 SIZE: 14807 C:\Program Files\LimeWire\hs_err_pid4140.log LAST MODIFIED: 1227581940126 SIZE: 14616 C:\Program Files\LimeWire\hs_err_pid5496.log LAST MODIFIED: 1227129175835 SIZE: 12690 C:\Program Files\LimeWire\hs_err_pid6064.log LAST MODIFIED: 1229645903486 SIZE: 13547 C:\Program Files\LimeWire\i18n.jar LAST MODIFIED: 1150901935390 SIZE: 25678 C:\Program Files\LimeWire\icu4j.jar LAST MODIFIED: 1150901936671 SIZE: 741440 C:\Program Files\LimeWire\id3v2.jar LAST MODIFIED: 1150901937656 SIZE: 94430 C:\Program Files\LimeWire\jcraft.jar LAST MODIFIED: 1150901938500 SIZE: 136693 C:\Program Files\LimeWire\jl011.jar LAST MODIFIED: 1150901939406 SIZE: 255016 C:\Program Files\LimeWire\jmdns.jar LAST MODIFIED: 1150901941875 SIZE: 69306 C:\Program Files\LimeWire\LimeWire.exe LAST MODIFIED: 1150901913593 SIZE: 159744 C:\Program Files\LimeWire\LimeWire.jar LAST MODIFIED: 1150901926781 SIZE: 7109498 C:\Program Files\LimeWire\LimeWire20.dll LAST MODIFIED: 1150901913187 SIZE: 40960 C:\Program Files\LimeWire\log4j.jar LAST MODIFIED: 1150901943031 SIZE: 677952 C:\Program Files\LimeWire\looks.jar LAST MODIFIED: 1150901944078 SIZE: 630634 C:\Program Files\LimeWire\MessagesBundles.jar LAST MODIFIED: 1150901927484 SIZE: 2720591 C:\Program Files\LimeWire\mp3sp14.jar LAST MODIFIED: 1150901944546 SIZE: 40064 C:\Program Files\LimeWire\ProgressTabs.jar LAST MODIFIED: 1150901928031 SIZE: 5786 C:\Program Files\LimeWire\themes.jar LAST MODIFIED: 1150901944937 SIZE: 741477 C:\Program Files\LimeWire\tritonus.jar LAST MODIFIED: 1150901945625 SIZE: 152711 C:\Program Files\LimeWire\vorbis.jar LAST MODIFIED: 1150901946062 SIZE: 27215 C:\Program Files\LimeWire\WindowsFirewall.dll LAST MODIFIED: 1150901913218 SIZE: 61440 C:\Program Files\LimeWire\xerces.jar LAST MODIFIED: 1150901948328 SIZE: 2147687 C:\Program Files\LimeWire\xml-apis.jar LAST MODIFIED: 1150901949062 SIZE: 207655 LimeWire version 4.12.3 Pro Java version 1.6.0_05 from Sun Microsystems Inc. Windows Vista v. 6.0 on x86 Free/total memory: 3041656/4128768 com.limegroup.gnutella.gui.GUILoader$StartupFailedException: invalid update.ver at com.limegroup.gnutella.gui.GUILoader.sanityCheck(GUILoader.java:270) at com.limegroup.gnutella.gui.GUILoader.load(GUILoader.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.limegroup.gnutella.gui.Main.main(Main.java:44) STARTUP ERROR! FILES IN CURRENT DIRECTORY: C:\Program Files\LimeWire\clink.jar LAST MODIFIED: 1150901928906 SIZE: 307949 C:\Program Files\LimeWire\commons-httpclient.jar LAST MODIFIED: 1150901929859 SIZE: 459988 C:\Program Files\LimeWire\commons-logging.jar LAST MODIFIED: 1150901930375 SIZE: 59154 C:\Program Files\LimeWire\commons-net.jar LAST MODIFIED: 1150901932218 SIZE: 355370 C:\Program Files\LimeWire\daap.jar LAST MODIFIED: 1150901934906 SIZE: 388504 C:\Program Files\LimeWire\GenericWindowsUtils.dll LAST MODIFIED: 1150901913109 SIZE: 12279 C:\Program Files\LimeWire\hs_err_pid256.log LAST MODIFIED: 1227143936485 SIZE: 12691 C:\Program Files\LimeWire\hs_err_pid3836.log LAST MODIFIED: 1229478222329 SIZE: 14807 C:\Program Files\LimeWire\hs_err_pid4140.log LAST MODIFIED: 1227581940126 SIZE: 14616 C:\Program Files\LimeWire\hs_err_pid5496.log LAST MODIFIED: 1227129175835 SIZE: 12690 C:\Program Files\LimeWire\hs_err_pid6064.log LAST MODIFIED: 1229645903486 SIZE: 13547 C:\Program Files\LimeWire\i18n.jar LAST MODIFIED: 1150901935390 SIZE: 25678 C:\Program Files\LimeWire\icu4j.jar LAST MODIFIED: 1150901936671 SIZE: 741440 C:\Program Files\LimeWire\id3v2.jar LAST MODIFIED: 1150901937656 SIZE: 94430 C:\Program Files\LimeWire\jcraft.jar LAST MODIFIED: 1150901938500 SIZE: 136693 C:\Program Files\LimeWire\jl011.jar LAST MODIFIED: 1150901939406 SIZE: 255016 C:\Program Files\LimeWire\jmdns.jar LAST MODIFIED: 1150901941875 SIZE: 69306 C:\Program Files\LimeWire\LimeWire.exe LAST MODIFIED: 1150901913593 SIZE: 159744 C:\Program Files\LimeWire\LimeWire.jar LAST MODIFIED: 1150901926781 SIZE: 7109498 C:\Program Files\LimeWire\LimeWire20.dll LAST MODIFIED: 1150901913187 SIZE: 40960 C:\Program Files\LimeWire\log4j.jar LAST MODIFIED: 1150901943031 SIZE: 677952 C:\Program Files\LimeWire\looks.jar LAST MODIFIED: 1150901944078 SIZE: 630634 C:\Program Files\LimeWire\MessagesBundles.jar LAST MODIFIED: 1150901927484 SIZE: 2720591 C:\Program Files\LimeWire\mp3sp14.jar LAST MODIFIED: 1150901944546 SIZE: 40064 C:\Program Files\LimeWire\ProgressTabs.jar LAST MODIFIED: 1150901928031 SIZE: 5786 C:\Program Files\LimeWire\themes.jar LAST MODIFIED: 1150901944937 SIZE: 741477 C:\Program Files\LimeWire\tritonus.jar LAST MODIFIED: 1150901945625 SIZE: 152711 C:\Program Files\LimeWire\vorbis.jar LAST MODIFIED: 1150901946062 SIZE: 27215 C:\Program Files\LimeWire\WindowsFirewall.dll LAST MODIFIED: 1150901913218 SIZE: 61440 C:\Program Files\LimeWire\xerces.jar LAST MODIFIED: 1150901948328 SIZE: 2147687 C:\Program Files\LimeWire\xml-apis.jar LAST MODIFIED: 1150901949062 SIZE: 207655


How do you put iTunes on your c drive?

It should already be there.(c program files)


Where is the c program stored?

Text files, mainly. The name of the files usually ends with .C and .H (lowercase in unix).


In what folder are 32-bit programs stored by a 64-bit edition of windows vista?

C:\Program Files (x86)\ is the default folder for 32-bit applications on 64-bit Windows.


Where is the depths of peril folder?

If you installed it through Steam, it's probably in C:/Program Files/Steam/SteamApps/common. Otherwise it could just be in C:/Program Files


Where is the examples folder on game maker 7.0 lite?

C:\Program Files (x86)\Game_Maker7 if you have a windows 7 if you have an older computer it should be in C:\Program Files\Game_Maker7


How many files are created for c program when execute the program?

That's entirely up to the programmer. A program could create 0 files or 50 million files (or any number in between).


Is internet explorer 11 a 64 bit application?

Yes it is. If you look in c: drive then you can see "Program Files" and "Program Files (x86)". The 32 bit programs are present in "Program Files (x86)" and 64 bit programs just in "Program Files".


Where is hal.dll located?

C:\Windows\Program Files\System32