generally how to write a c++ program easily?
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
1094860
By the sound of it, either you need a tutorial or you're asking about code formatting.   Try the tutorial at the first URL below.  For formatting stuff, you can search for "C  +code formatting" and get a few hits;-)  I hope this will get you started.   I've also included a link to lots of free resources such as compilers, editors, articles and other helpful sites.  Good luck!
665854
yes in c++\nno side effects
1178612
Well.... That's too Hard to find... i'm poor at C++...... So can't help.. have good day! Search in Google
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
126096
hallo their.ur prob can be easily solved,i guess.if u know C then its pretty easy.Do u have enough time?if u have i would recommend class 11th n 12th text books(Computer Science With C++) by Sumita Arora n Gautam Sarkar.else u can always go for C++ by Balaguruswamy.this is the authors name.go to any book stall n ask this name.he has written both C n C++ books.i actually dont remember the name of the book.
451495
Best and easy to use is Visual C++ Express 2005 (it's free)http://msdn.microsoft.com/vstudio/express/visualC/default.aspx\nand you can get complete information on Microsoft's Vc++ from http://msdn.microsoft.com/visualc/ infact there are video lessions and how Do I.. Guides at http://msdn2.microsoft.com/en-us/library/ms177549\n This will be the best compiler to use  as you are doing development in windows xp . As it will provide you with good API's (IT's a COMPILER + IDE)\nThere is another free compiler http://www.bloodshed.net/devcpp.html . It's a good compiler , if you want to be vendor neutral.\nThere is another free compiler called GCC (this is a GNU compiler (i.e Open Source and free too) you can get complete information on this from http://gcc.gnu.org\nand you can download the compiler from http://gcc.gnu.org/install/binaries.html\nWith this compiler you can do development on many operating systems with the same toolset.
445101
A Well written program should be explaned clearly with comments, must be indented appropriately, must be efficient in code reuse (Use functions/procedures wherever possible) and be free of any errors ofcourse\n\nGood luck with your assignment
253406
All you need to program in C++ is a compiler and notepage.\n\none of the more popular is located here: \n  http://www.delorie.com/djgpp/\n\nAs for examples there's TONS on the Net, a simple Google Search for 'C++ examples'  returned over 32,000 hits.
810227
Compilers. Of course, there is the simple matter of learning the programming language.\n\nHeres a free C++ compiler:\nhttp://www.bloodshed.net/dev/devcpp.html
837959
for understanding c++ from the basics try this site\n\nwww.geocities.com/sstutor\n\ntrust me its the best c++  tutorial site on the net\n\nfor source codes check out these links..\n\nhttp://www.planet-source-code.com/vb/default.asp?lngWId=3#categories\nhttp://www.vyomworld.com/source/LanguageHome.asp?LangId=2\n\nhappy learning
120558
Another answer suggested you could write your own\ncomplex functions, and while strictly possible, puts\na lot more burden on you than you might want.  There's\nvery little reason to reinvent the wheel.\n\nThe good news is that complex numbers are supported\nby both the current C ("C99) and C++ ANSI/ISO standards.\nSo if you have a recent compiler, you will just be\nable to use the complex type.\n\nIn the C++ standard, see chapter 26 (specifically 26.2).\nThe header is <complex>, and all of the expected operators\nare provided.\n\nIn the C standard, see section 7.3.  The header is\n<complex.h>, and it uses the new built-in type "complex"\nto provide all of the functions that used to only\nbe provided for float and double.
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.
550757
I have heard this question so many times that I decided to look it up on the net and I found a very good site that explains it very well, step by step.\nSo I will simply link that one here. This is the C equivalent, you can modify it for c++!\n\nhttp://www.iwebthereforeiam.com/programming/selfWrite.asp\n\nEnjoy!
635623
I don't know C++. But You can do it by sending  the text in to prn folder. Same thig you can do it in DOS type a.txt >prn
861192
If you already know C++, have a look at the Allegro (2d graphics library) or Ogre3d (3d graphics library) or Irrlitcht (3d graphics library) webs. You should find a lot of information there.
481812
it is a nice tool. But, I think VC++ is more widely used.