I need to run this written C program.I have  compiler installed and wrote small progs but how do i run/execute
451813
To compile it , ALT + F9, then F5 will execute it.
642368
On your hard drive (drive c:) go to start then run then type in "c:" (without the brackets) and look for it. Id start in the folder called program files
423103
#include <stdio.h>\n#include <stdlib.h>\n\nint\nmain(int argc, char* argv[])\n{\n  int count = argc>1 ? atoi(argv[1]) : 10;\n  FILE *f = fopen("numfile", "w+");\n  if (!f)\n    perror("fopen"), exit(-1);\n  for (int i=0; i<count; i++)\n    fprintf(f, "%d&#92;n", rand());\n  fclose(f);\n  return 0;\n}
484581
I am not sure what program you tried, but here is one that should work on borlands compiler.\n\n#include <iostream>\n\nint main() {\n\n    std::cout<<"Hello, world!&#92;n";\n}\n\nI have included the 'std::' namespace in front of the cout.\n\n<Edit>\nAre you running the program from the command line, or just clicking on the exe?\nIf clicking on the exe, a command line will pop up, then disappear after displaying hello world.\nYou need to run it from the command line.
197427
Sub Main()\n        Console.WriteLine(2 ^ 5)\n        Console.ReadLine()\nEnd Sub
1074803
Start > Run > MSCONFIG\n\nClick the "Startup" tab.  Be very cautious when deselecting programs; you do not want to stop something from running that you need for the system to run.
98474
you can use c compiler (cc)\ncc srcfile.c -o destfile
628667
you got to have a self-executable autorun file loaded in CD.\n\nNero / Roxio can help you do that !
790591
There could be many problems here.  Your description is a bit sketchy and I'm not certain what compiler you're using or if that is the error message verbatim.  \n\nThings to try here:\n1).  If it is telling you that no exe was created, then nothing is wrong with the compiler, just the code being compiled.\n\n2). If it appears the compiler isn't running, try looking in the output directory for a file with the same name as your code and the extension .obj.  If it isn't there, the compiler itself didn't run.\n\n3). The linker may not be creating the exe if it can't find the .lib or .a files in the library subdirectory.  Open that directory manually and check to see that the files exist and have greater than zero size.  \n\n4). Some compiler IDEs(Integrated Development Environment) allow the user to set a filename and path to execute indepently of the other directory settings.  Check to see if yours is one that will, and if so, then follow the documentation to manually check that the selected compiler file is indeed the compiler executable.\n\nThese are all the errors that I can think of from what little I understand of your question.  In the future, I'd reccommend giving more (all if unsure!) details in the question.  No one ever got a worse answer for including too much information.\n\nAs a very last resort, I'd simply back up all my work and reinstall the compiler.  I hope this helps.
706549
Try to read the common inside the code.(inside the "/*.... */")\n\nThis function do couple of things:\n1. It is to check the input command.\n2. Set the parent thread to wait. \n3. Create a child thread.\n4. Use the child thread to run the command.
464684
You'll need to learn how to program. But yourself a C compiler and a ton of books on C programming.
1008869
#include <stdio.h>\n#include <dos.h>\n#include <conio.h>\n\n/********************************************/\n/*This program set the parallel port outputs*/\n/********************************************/\n\nvoid main (void)\n{\nclrscr();             /* clear screen */\noutportb(0x378,0xff); /* output the data to parallel port */\ngetch();              /* wait for keypress before exiting */\n}\n\njust check here you can get all info http://www.epanorama.net/circuits/parallel_output.html
646625
hi\nyou can do this by downloading a software where you can get all sorts of software so you can get the software downloaded and run it !!
355194
Go to the following site, download and install, and then it will run as required...\nhttp://www.java.com/en/download/index.jsp
1161264
The above answerer is slightly wrong.  C++ holds a subset of C, it is not the complete C language.\n\nApart from that, You should be able to get a program that executes in C, not in C++.\n\n/* hello.c -- The most famous program of them all ..\n */\n\n#include <stdio.h>\n\nint main(void) {\n  printf("Hello World!&#92;n");\n}\n\nGot from http://www.cis.temple.edu/~ingargio/cis71/code/hello.c
464755
Do a search for 'C language tutorials' works for me. However if you have a choice go on to C++ even better
53863
to run any program from cd\njust make a file named autorun.ini\nin root directory of cd\nie the very first directory \nnow right \nopen=/windows/start.exe\n above sentence means run the program stored at drive:/windows as start.exe\nno need of software\nbut there are software available\ncheck out these sites