How can i complie my c++ program inside vim ? is it possible?
473963
You cannot compile using VIM. Because VIM is just an editor like VI, or Quanta. If you want to compile, you have go to console and tipe g++ (for C++) or gcc (for C).\nYou can type man g++ to see more option.
1150710
Use a visual C++ compiler to compile the code . you will need to modify some of your code too..
254178
With GCC compiler (used by Dev-++) you can write:\n\nsystem("cls");
37555
You may use any editor (VI, notepad, Visual Studio Express, Programmer's Editor, ...) to create source files (c/C++ files containing instructions to be compiled). \nDepending on the language of choice (C and C++ are different languages) name your file accordingly (c for the C Language, cpp, C, c++ or cxx for C++).\nThen compile, link (generally compilers do both things with a single command, you may use GCC for any platform, or Visual C++ Express from Microsoft for Windows -which is much easier to use) and run (just type the name of the program at the command line).\n\nSample. Write:\n\n#include <stdio.h>\nint Main(int argc, char* argv[])\n{\n   puts("Hello World!");\n   return 0;\n}\n\nthen save as "hello.cpp", \n\nany platform: compile with "gcc hello.cpp -ohello" and type "hello"\nWindows: if using MS Visual C++ Express, then just press F5
1008778
In a short cut?\n\nSimply retype the "run" line... and resave or rename the shortcut.
114143
I think that you’ll find Visual C++ (6.0) files in there
225626
A compiler (you may know) is the program that translates your C++ code into the language of ones and zeros that the computer understands.  As such, it does not have to look spiffy.  Ugly is okay.\n\nThere are some differences among compilers as to exactly how you use them, but the general idea goes like this.  You write your C++ program in an editor and save it to disk.  You tell the compiler where to find the program and it reads it and tries to translate it into machine language.  It fails because no one can write a perfect program the first time.  It gives you a list of errors it found.  You patiently go through the list and correct the errors as best you can, then try to compile the program again.  You keep repeating editing (debugging) and compiling until the program compiles.  Then, you find out that it doesn't do what you meant for it to do.  That is because there are still errors in the program.  You find the errors, correct them, and compile again.  You keep doing this over and over, and eventually, the program works the way you want it.\n\nYour first programs should be very, very, very simple.  I hope your book guides you in this direction.  The first program should do something like print "hello."  Once you get to that point you can enhance it.  It might ask you to input something, then output that.  You keep making more and more complicated programs, and eventually, you'll be able to program interesting stuff.\n\nGood luck!!\n\n=====================\n\nI searched google for open source compilers and the two that came out on top are linked below.  Maybe you would like one of those better.
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
502152
To compile and run C++ code you can either use Microsoft Visual C++, Microsoft Visual Studios, or Borland's C++ Compiler 5.5.  There are other compilers out there, but these are the 3 that I have personally used before.  The Borland Compiler is a free download from http://community.borland.com/article/0,1410,20633,00.html while the Microsoft programs are not free.  I'm not familiar with this AC-Tool program you're using though, or what it's being used for in this case.\n\nWhen I used an earlier version of the Borland Compiler in my college days about 4 or 5 years ago, you had to write your C++ program in a text editor, I recommend using Notepad, and saving it as a .CPP file, just change the extension from .txt to .cpp when you go to save it.\n\nUsing Borland was a little cumbersome as it was a command line compiler, so you have to use the windows DOS prompt.  It may have been changed to a GUI style of application, but I don't know and can't find out at the moment as I can't downloand and test this thing at work.\n\nHowever, if you explore the Borland forums a bit, you should find a wealth of knowledge on how to use the compiler.  Hope this helps you out a bit.
876944
I'm not fully sure of what you're trying to do here, but if you're trying to make sub-menus you can simply put all of the cout and cin statements for each sub-menu in between the cout<<" You selected... etc."; and the break statements. If you want it in another function, you can do:\n\nint main() {\n\n   //Other lines of code...\n\n   switch (choice)\n   {\n      case 1:\n         cout<< " You selected item 1.&#92;n";\n         //Call the first menu\n         menu1();\n         break;\n      }\n   }\n\n   void menu1() {\n      //This is the first menu!\n      int choice;\n      cout<< "This is the first menu...&#92;n";\n      cout<< "Pick something!&#92;n";\n      cin>> choice;\n      //Do other stuff here\n   }\n\n\nSorry if this doesn't help; I don't know C++ very well, and if you could expand on what you want to do I could help more. If this is what you want, then it's all good!
167955
Well you can if you compile it, I forget exactly how.\n\nBut if you just have the dll I don't believe you can. It would sort of defeat the purpose if that sort of information was editable by users.
41764
you can find a very good tutorial at the link.\n\nNo need to write whats already writtenm =)
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).
1052729
grrr windows and HTML. Try vim for windows! you can get it at http://www.vim.org/download.php or you can try and use notepad and do a save as and set the encoding to  ANSI
1106844
Use a compiler like Dev-C++.
759983
I think u're more familiar with Windows XP operating system, load Turbo C++ IDE (Integrated Development Environment). It's the best-selling C-compiler in world. Or, if u're using Linux, then it contains built-in GCC-compiler.
997912
You can get help from vc++ help files or internet,  if you can't do it by yourself, then join any institute.\n\nHere you can find book about Visual C++ Programming by Example  Hope it would help you.\nhttp://www.amazon.com/gp/product/0879305444/ref=pd_sim_b_4/104-9024259-6746365?%5Fencoding=UTF8&v=glance&n=283155\n\nVisual C++ Walkthroughs  \n\nWalkthroughs give step-by-step instructions for common scenarios, which makes them a good place to start learning about the product or a particular feature area.\n\nThis is More detailed and free from Microsoft, hope it would help you.\n\nhttp://msdn2.microsoft.com/en-us/library/e6w9eycd.aspx