what should i do the program run on turbo c is not including  stdio &other file?
970804
1)  In your code you must #include the headers you need.\n#include <stdio.h>\n\n2)In your IDE and/or the cmd line environment, you must have the directory path to the system header files in the INCLUDE path.  Do a SET command and it should have that directory in there in the INCLUDE environment variable.\n\n3) you must pass all of the correct libraries in to the linker.\n4) you must include the path to the system libraries in your LIB path.  Do a SET command and it should have that directory in the LIB environment variable.
288377
PASCAL!!!its out dated, i think it is possible to get it on C/C++
207768
%SystemRoot%&#92;\nsystem32&#92;\ndfrg.msc\n\nDecompile for C/C++\n\n:-)
447915
Header files that were written by you and are placed in the same directory as the cpp files must be included like this:\n\n# include "algorithm.h"\n\nThe new standard applies to header files located in the library. If his header is not in the library then he would have to do the above preprocessor directive.
844803
Run it through a compiler. That is what they do. Convert symbollic text (software code) into binary. The compiler you use all depends on the language you are programming in.\n\nFor example, for c/++, in linux you could use gcc/gpp to compile an application. It could then be ran standalone on other linux computers. Windows/Mac/all computers in the world work this way. Just FYI the most basic compiler is called an assembler, it takes symbollic assembly language (the most basic human readable computer code) and converts it directly to the hex equivelant, i.e. binary. Many high level languages like C convert to assembly before the final compilation into hex (binary).
931940
Turbo C is an old compiler, but it should work fine for the purposes of our class.\n\nThese are instructions for downloading and installing v2.01 of the Borland Turbo C compiler on Windows 95/98/NT. I have tested this procedure on Windows 95 and 98; it should also work on Windows NT and Windows 2000.\n\nThese instructions seem involved but the are fairly simple, if you follow them exactly.\n\n   1. Click here to download the zipped Free Turbo C Compiler.\n   2. Go to where you downloaded the file, and double click on the self-extracting file (turboC.exe) in Windows to extract it. This will bring up a WinZip Self-Extractor window (you do NOT need WinZip installed on your machine).\n      By default, this will extract the files to C:&#92;tctemp directory. You may designate a different location.\n      Hit return to extract the files.\n   3. Exit the WinZip Self-Extractor window (by hitting return twice).\n   4. Once the files have been extracted, go to the directory c:&#92;tctemp (or wherever you put the unzipped files), and double click on the file called install (it may be called install.exe).\n   5. This will step you through the installation.\n          * Hit enter to start the installation\n          * Select the drive where the unzipped file are. The default is "A", so you should enter "C".\n            Then hit return.\n          * Hit return, again. This installs from the directory, &#92;tctemp.\n          * Hit return, again. This says to Install Turbo C on a Hard Drive.\n          * Use the Up/Down arrow keys (hit the up arrow once) to select Start Installation, and then hit return, again.\n          * At this point, the v2.01 Turbo C compiler is installed in C:&#92;TC. That is where the tcc.exe executable is. \n   6. That's everything, but you must add C:&#92;TC to your executable search path. The easiest way to do this:\n          * Bring up an MS-DOS window.\n          * Position the cursor on the title bar of the MS-DOS window and right-click.\n          * This pops up a menu. Click on Properties.\n          * At the top of the window, click on the Program folder.\n          * In the middle field, labeled Batch file:, enter the following:\n\n                    C:&#92;tctemp&#92;init.bat\n\n            (This assumes that you unzipped the files into C:&#92;tctemp.)\n          * Click OK at the bottom of the window.\n          * Close the MS-DOS window \n\n   7. Now you're done! Try it out by creating a small C program and compiling it.\n\n          * Bring up the MS-DOS window in the same way as you did above. (NOTE: You must close the first MS-DOS window.)\n          * Type tcc and hit return. You should see a usage message. describing all the many compiler options.\n          * Now create, compile, and run the Hello World! program.
697721
First up you are going to need a compiler, you can get a free one here.\nhttp://www.borland.com/downloads/download_turbo.html\n\nInformation about it can be found here.\nhttp://www.turboexplorer.com/\n\nSome tutorials for c++ can be found here.\nhttp://www.cs.wustl.edu/~schmidt/C++/\n\nhttp://www.cplusplus.com/doc/tutorial/\n\nYou do not have to worry about memory allocation in C++, you can deal with it if you want, but you can avaoid it by using the keywords, 'new', 'delete', and 'delete[]'.\n\nRegarding the generation of random word segments, it would be done the same way as the random numbers are generated.\n\nIe, make an enum of these word segments,\nstring[] word_segments[5] = {"a", "an", "her", "ot", "etc"}\n\nWhen you get the random number, have it select a value from this array.\n\nword_segments[random_number];
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}
943372
u have to ponit it or use\n\nthese are the 2 way's:\n\n#include <iostream>\nusing namespcae std;\nint main()\n{\nint num[8];\nint index;\n\nnum[0] = 42;\nnum[1] = 2001;\nnum[2] = 7;\nnum[3] = 180;\nnum[4] = 99;\nnum[5] = 1993;\n\nfor(index = 0; index <= 5; index++)\n{\nstd::cout<< index[num] << endl;\n}\n system("pause");\nreturn 0;\n}\n\nor\n\n#include <iostream>\n#define MAX 20\nusing namespcae std;\n\nint main()\n{\n\nint a[MAX] = {23,43,4,5,34,343,12,14};\nint b;\n\ncout.setf(ios::right);\n\nfor(b = 0; b < MAX; b++){\n\ncout << endl << endl;\n\ncout << "The Elemnt in ";\n\ncout.width(2);\n\ncout << (b +1) << " is ";\n\ncout.width(2);\n\nstd::cout << b[a];\n}\nreturn 0;\n}
160699
#include <iostream.h>\n#include <fstream.h>\n\nvoid main()\n{\n  ofstream output;\n  output.open("outpu.dat");\n\n  output << "Ouput test data";\n\n  output.close();\n}
742648
#include<stdio.h>\n#include<conio.h>\nvoid main()\n{\nint n=5,i,j;\nclrscr();\nfor(i=1;i<=2*n-2;i++)\n{\nprintf(" ");\n}\nprintf("1&#92;n");\nfor(i=2;i<=n-1;i++)\n{\nfor(j = 1;j<=(n-i)*2;j++)\nprintf(" ");\nfor(j = i;j<=2*i-1;j++)\n{\nprintf("%d ",j);\n}\nfor(j = 2*i-2;j>=i;j--)\n{\nprintf("%d ",j);\n}\nprintf("&#92;n");\n}\nfor(i = n;i<=2*n-1;i++)\nprintf("%d ",i);\nfor(i = 2*n-2;i>=n;i--)\nprintf("%d ",i);\ngetch();\n}
1018747
You can store as many characters in an C array as you want.\n\nAlso I suggest you change to djgpp if you something similar to turbo c++. TUrbo C++ 3 is more or less dead and was ment for DOS only. Other alternates are VC 6, GCC on Linux, GCC using cygwin on windows.\n\nThere are some errors in the code you posted along with your question.\n\nIt should be \n\nchar input[1000];\ngets(input);\n\nand not gets(&input)\nSame is the case with scanf\n\nSince the name of an arrey itself is a pointer you need not send address of pointer.
814965
what c++ program are you referring to ...anyway the syntax is\n\n#include<iostream.h>\n#include<conio.h>\n...include all the header files here ..\n\nint count()\n  {\n     function body\n     return value #integer value to be returned \n\n  }\n\nother functions\n\nvoid main() \n\n   {\n\n# this is the main function \n\nint a,b,c;\nfloat al,bl;\nstring str;\n\n#declare the variables\n\n#get the inputs from the user\ncout<<"enter the value of a ";\ncin>>a;\n...\n...\n\ncall the functions\n\nb=count()\n..\n#do what ever processing has to be done\n } # program closing curly braces\n\n\nhope this helps\n\nthis is a excellent c++ tutorial \n\nhttp://www.geocities.com/sstutor\n\ncprogramming.com is also pretty good
946960
a header file can be included either as #include <stdio.h> or as #include "stdio.h". but "" is used for including a header which is user defined while angular brackets (<> )is used for including only built in \nheader files
739911
I think the problem is you might have used some dll or componenst bin ur program but have not included inyour installation file.\n\nAlso many errors comes when we install the software from installation file.In this case check your code and try tto do exception handling to locate unhandaled exception.
669248
Mostly core OSs are done in C
762903
they are now giving the compiler away for free :-)\n\nenjoy