hi. i am trying to compile a program using fortran. it compiles with no errors but it does not run the program
963901
wat does your program doese also can you state the name of the compiler you are using
838865
What language is this?  It looks like the result of a night of unbridled passion between C, C++, and Java!\n\nSo, you know that "x->y" is equivalent to "(*x).y", right? So, even though you never used . directly, it's apparently what the compiler is seeing. Of course, . can only be used with a struct, and it is complaining that you are using it with something that is not a struct. However, the error is confusing, since the problem is really caused by a problem with pointers.\n\n Consider b[10]  (and b[9]).  b is a pointer to blocks. The [ ] operator dereferences this pointer, so that b[10] has type block, not block *.  Since -> can only be used with pointers (block *), the compiler generates an error. \n\nThink carefully about what you want to do, draw a picture on paper, and make sure your types all make sense.  Good luck.
75512
hey champ(Anirudh) !! what happened... so many errors in ur code?\ni hv'nt done much.. just removed the errors.. \nwell ur code was just like an error removing question... that v used to solve in the boards!  i loved solving those easy pickings!!\n\nanyways.. heres the exact code.. \n\n\n#include<iostream.h>\n#include<conio.h>  //for clrscr() & getch()\n\nvoid main()\n{\nclrscr();         //optional\nint array[10],i,least,greatest;\n\n//Input Numbers\ncout<<" Input 10 numbers separated by spaces  : &#92;n";\nfor(i=0;i<10;++i)\n   {\ncin>>array[i];\n   }\n\ngreatest=least=array[0];\n\nfor(i=1;i<10;++i)\n   {\nif(array[i]>greatest)\n     greatest=array[i];\nif(array[i]<least)\n   least=array[i];\n   }\ncout<<"&#92;nLeast in the list is "<<least;\ncout<<"&#92;nGreatest in the list is "<<greatest;\ngetch();//optional\n}
557543
#include<iostream>\nusing namespace std;\nint main ()\n\n\n    {\nint number;\nint answer;\n    cout<<"Please enter number: ";\n    cin>>number;\n    \n    cout<<number<<"! = ";\n    answer = number;\n    while (number>1)\n\n\n        {\n        answer=answer*(number-1);\n        number--; \n    } \n\n    cout<<answer; \n    return 0; \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}
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.
119728
What error message are you getting? Please specify and add to message. =) \nreply:\ntry looking first in C:&#92;Program Files&#92; for the Visual_Net (or simmular) dir, and from there search for the control file
400603
Those mentioned above (Visual studio) are fine but for beginning I'd recommend something smaller and simpler... try devC++... it's free and can be found at bloodshed.net...\n\nthen (just to keep the tradition) write something like this:\n#include<stdio.h>\nmain()\n{\nprintf("Hello World&#92;n");\ngetchar();\n}\nThen hit f9 to save the file, compile it and run...
41479
error occuring when the computer(compiler/interpreter) does not understand the language you are talking. \nThe computer's not at fault. Its just dumb. It only understands a few words. You have to speak those works only. Sorry.
151034
Fortran is short for formula translator.  It was a key scientific language in the sixties, seventies and eighties but is very rare today except in the nerdiest of scientific programming.  As the name suggests it was primarily used to pass data through very complex formulas.  It started out as a procedural language and like almost all other languages added object oriented elements over time.
750753
use gcc compiler. u can run cpp programs using gcc.\nwith this, u create a file with .out extension.\nThat to execeute, type, ./ filename.out\n\nat the terminal.
371708
Check out http://www.planet-source-code.com and do a search there.  Anything you find there would be in source code form, so you would have to compile it on your own machine.
670197
are you looking to compile this program? if so you need to have visual studio installed on your machine to build the project and have it compile the program for you. Else you should be able to google for a VB project and see what they have out there.
517949
You are going to have to search through the files that came with the gd library, and hope to find the functions/methods named _imp_gdimageCreate and _imp_gdimageDestroy\nUpon finding, include the file in the compile commands, as the linker cannot find the appropriate function. ie,\n<compiler/linker> <any_options> <your_files> <the_new_file_or_library>
1008551
Not sure the question but it is set up (generally) as a program that has includes (one for data declarations, one for the main program, one to hold the subroutines). The main can then reference the includes decreasing impact issues when changes are required.
253284
#include <stdio.h>\n\nint main(void) {\n\nint i, j, count; //C Sucks, wait till you take java\n\nfor(i=1; i<=1000; i++){&#92;&#92;goes through all numbers 1 to 1000\n    count=0;\n    for(j=2; j<i; j++)&#92;&#92;goes through all numbers 2 to i\n    {\n     if(i%j==0)&#92;&#92;checks to see if it i is evenly div. by i\n        count++;\n    }//nested for\n    if (count ==0)\n        printf("%d&#92;n", i);\n}//for\n\nreturn 0;\n}//main\n\n\n//Hope that helps!
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.