Can anyone help me write a C++ program?
813680
i'll give you the basic syntax..fill in the rest yourself\n\n#include<iostream.h>\n#include<conio.h>\n#include<stdio.h>\n\nvoid main()\n{\n  clrscr();\n   cout<<"&#92;t&#92;t Currency converter "<<endl;\n  cout<<"&#92;n 1) US dollars to peso "<<endl;\n  cout<<"&#92;n 2) US dollars to Euros "<<endl;\n  cout<<"&#92;n 3.........  "<<endl;\n  cout<<"&#92;n 4 ..... "<<endl;\n .....................................\n........................................\ncout<<"&#92;n enter your choice ";\ncin>>choice;\n\nswitch(choice)\n  {\n     case 1:\n       clrscr();\n        cout<<"&#92;n enter the amount in US dollars you want to convert to pesos ";\n      cin>>amount;\n      cout<<"&#92;n&#92;n "<<amount<<" dollars are equal to "<<amount*9.32 <<" pesos "<<endl;\n     break;\n     case 2 :\n        clrscr();\n        cout<<"&#92;n enter the amount in US dollars you want to convert to Euros ";\n....................................\n ...........................\n   case 3:\n ...................................\n...\n\ndefault :\n   cout<<"&#92;n invalid choice...";\n   exit(0);\n   }\n\ngetch();\n   \n\n}
44673
Your program ran into code it couldn't execute or data it couldn't address.\n\nIf you wrote the code, look for things like uninitialized pointers, overwritten data structures, and anything else that could corrupt your code or data.
67914
hey!! looking for ur c++ project.. source code online?? isnt a good idea!\n\nwell thetopic u've selected is idiotic.. \nu better submit an original work.. or else u'll loose marks!\n\nn if programming is ur problem.. n u're lookin for an easy way out.. try looking for tutorial sites for c++.. n search for samples .. but then be assured that ur teacher will come to know aboiut the authenticity just by the format.. \n\nwell if u're smart enough to edit the stuff n then submit it.. only then its of some use.\n\nn by the way.. i've heard of this project .. its common.. i mean even some of my batchmates did this project.. a very ordinary 1... so u may get some help from ur seniors as welll!!
204135
http://www.cprogramming.com/tutorial.html - is a good online resource\n\nhttp://www.developer.be/forums/index.cfm/fuseaction/dsp_threads/forumid/16.htm - a forum that has c/c++ developers ready and able to help out.\n\nAlso use the MSDN library to get a lot of information.\n\nI've always liked the "bible books" it covers a lot of great info from begginers to advance: \nISBN: 0764546546 \n\nAlso the complete refference books are garet as well:\nISBN: 0078824761
12275
Follow this link:\n\nhttp://www.thefreecountry.com/compilers/cpp.shtml\n\n:)
505044
Try Planet Source Code:\n\nhttp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=3270&lngWId=3\n\nThis one's in C++, but you should be able to convert it back to C...
1146701
These tutorials explain the C++ language from its basics up to the newest features of ANSI-C++, including basic concepts such as arrays or classes and advanced concepts such as polymorphism or templates. The tutorial is oriented in a practical way, with working example programs in all sections to start practicing each lesson right away.\n\nhttp://www.cplusplus.com/doc/tutorial/
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.
588997
I use "C++ How to Program" by Deitel & Deitel.\nIt's really good
27985
You can add a Perl parser into a C++ program.  Many games do something similar to this; writing the game engine in C++ and scripting the AI using Perl.
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}
231490
ya sure, what is you projet about, i know c/c++ and vb.net, can i help.
267921
You can turn these into proper C++ statements:\n\nread a, b\n\nlet max = a\n\nif max < b\n  let max = b\nendif\n\nprint max\n\nThis program assumes that a <> b.
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.
575599
#include<iostream.h>\n\n  int main()\n {\n   int n = 5;\n   for(int i=1;i<=n;i++)\n   {\n    for(int j=n;j<0;j--)\n      cout << * ;\n    }\n }
95890
Try this website-its very useful\nhttp://www.cprogramming.com/
66876
Here's a pretty good one I wrote:\n\nhttp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=58476&lngWId=1\n\nYou'll need Visual Basic to compile it or you can e-mail me and I'll send it to you...