saif bhai salam,
yar do cheezen hn..ya to mj manually change krna bata den libraries file ko..
yar phir mj Ms Visual studio ya Dev-C++ ka link PM kr den mn Download kr loon..
i will be your thankfull yar..
please.. or abhi to mn multan ja raha hoon..
wapsi pe ye check krta hoon jo pane diya ha..
regards..
Here you go, both are free, just download one u like most;
Dev-C++: http://www.bloodshed.net/dev/devcpp.html
Microsoft Visual C++: http://www.microsoft.com/express/vc/Default.aspx
-Saif
nice sharing hia bhai
waow great thread bhi main asa program likhna chahta hon kay agar main kch words horizontal likhon to wo vertical nazar ain
ie. if i write 786 then output must be
7
8
6
Here, just add as much as you want, i added about 13 characters;
-SaifCode:#include <iostream> using namespace std; int main() { char saif[30] = {' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' '}; cout << "Please Enter Characters to sort em out horizontally:\n"; cin >> saif; cout << "\n\nHere is dat data sorted horizontaly:\n\n"; cout << saif[0] << endl << saif[1] << endl << saif[2] << endl << saif[3] << endl << saif[4] << endl << saif[5] << endl << saif[6] << endl << saif[7] << endl << saif[8] << endl << saif[9] << endl << saif[10] << endl << saif[11] << endl << saif[12] << endl << saif[13] << endl << endl; system ("PAUSE"); return 0; }
Aslamoalikum,
yar sufyan bhai i am simple yar..
deve bhi download ki and ms visual c bhi..
but unka layout he different hai : /
ms visual c to 180 mb ki hai
net se downloading manti hai...
yar knowledge hunter.. ka tareeka bata den agr ata hai to..
k kaysay ye drive mn ja kr theek kia ja skta hai???
Try this, if still get errors read following message;
bro i have never used dat compiler, i dont knowCode:#include <iostream> #include <conio.h> #include <iomanip> #include <windows.h> int main() { system("CLS"); double r, n1=132.364, n2=26.91; r = n1/n2; std::cout << r << std::endl; std::cout << std::setprecision(5) << r << std::endl; std::cout << std::setprecision(4) << r << std::endl; std::cout << std::setprecision(3) << r << std::endl; std::cout << std::setprecision(2) << r << std::endl; std::cout << std::setprecision(1) << r << std::endl; system("PAUSE"); return 0; }
how to set it up, just download dat Dev C++,
its simplest compiler i have ever seen,
Here is the link: http://www.mediafire.com/?zhgcyyjnfnm
or try to catch the errors yourself, its realy easy
you probably just need to fix lil bit of dat code.
btw which compiler you are using?
-Saif
ok i am trying that...
by the way i am using
Turbo C++ IDE
what is exe?
what is source file?
exe execution files
Bookmarks