<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3604317170059449508</id><updated>2012-02-16T11:20:39.254-08:00</updated><title type='text'>borland c++</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default?start-index=101&amp;max-results=100'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>169</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3471851457964089607</id><published>2009-07-14T19:04:00.000-07:00</published><updated>2009-07-14T19:04:00.276-07:00</updated><title type='text'>C++ windows programming?</title><content type='html'>Hi this is in C++ using Borland....i have an error "Constant expression required" on this line : "TableType aTable[x];"...it seem that the number from "edit-%26gt;text" is not valid...Can somebody tell me why it wont take the value of "edit-%26gt;text"?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;x=edit-%26gt;Text.ToIntDef(0);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; TableType aTable[x];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; aTable[x].tableNo= MyRest.findTable(edtNo-%26gt;Text.ToIntDef(0)...&lt;br&gt;&lt;br /&gt;&lt;br /&gt; aTable[x].computerType = (edtname-%26gt;Text.ToIntDef(0));&lt;br&gt;&lt;br /&gt;&lt;br /&gt; aTable[x].name = GuestName-%26gt;Text;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; aTable[x].arrivalTime = Arrival-%26gt;Text;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; aTable[x].departTime = Departure-%26gt;Text;&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ windows programming?&lt;br&gt;the compiler needs to know the size of the aTable array so it can allocate the memory for it. If you give it fixed size it will work, something like:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;TableType aTable[50];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Another option is to malloc().&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3471851457964089607?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3471851457964089607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-windows-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3471851457964089607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3471851457964089607'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-windows-programming.html' title='C++ windows programming?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8942679015395429164</id><published>2009-07-14T19:03:00.002-07:00</published><updated>2009-07-14T19:03:44.535-07:00</updated><title type='text'>Need urgent help with Borland!!?</title><content type='html'>I'v downloaded Borland for learning C. I'v got tests in 3 days. But i dont know hot to use it to write a program.  Borland is on  the C drive in a folder known as BCC65.. Pls help me!! I don know how to use it.. How do u write a program or execute it.. Pls help me.. I have my test coming up&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Need urgent help with Borland!!?&lt;br&gt;go to the directory and type bcc.exe&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8942679015395429164?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8942679015395429164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/need-urgent-help-with-borland.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8942679015395429164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8942679015395429164'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/need-urgent-help-with-borland.html' title='Need urgent help with Borland!!?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-1419545592092841944</id><published>2009-07-14T19:03:00.001-07:00</published><updated>2009-07-14T19:03:28.565-07:00</updated><title type='text'>How to install Borland Compiler?</title><content type='html'>I recently downloaded the 5.5 command line tool. I hav installed the .exe file. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;But im unable to configure the compiler to run. I cant interpret the instructions in the readme file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Pl help. i have completed step 1.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Installing and running the Command Line Tools&lt;br&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;1. Run freecommandlinetools.exe; choose the &lt;br&gt;&lt;br /&gt;&lt;br /&gt;   drive and folder into which you want to&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   install the free C++Builder 5 command line &lt;br&gt;&lt;br /&gt;&lt;br /&gt;   tool development system.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   &lt;br&gt;&lt;br /&gt;&lt;br /&gt;2. From the bin directory of your installation:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   a. Add "c:\Borland\Bcc55" &lt;br&gt;&lt;br /&gt;&lt;br /&gt;      to the existing path&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   b. Create a bcc32.cfg file which will set &lt;br&gt;&lt;br /&gt;&lt;br /&gt;      the compiler options for the Include &lt;br&gt;&lt;br /&gt;&lt;br /&gt;      and Lib paths (-I and -L switches to &lt;br&gt;&lt;br /&gt;&lt;br /&gt;      compiler) by adding these lines:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      -I"c:\Borland\Bcc55\include"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      -L"c:\Borland\Bcc55\lib"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   c. Create an ilink32.cfg file which will set &lt;br&gt;&lt;br /&gt;&lt;br /&gt;      the linker option for the Lib path by &lt;br&gt;&lt;br /&gt;&lt;br /&gt;      adding this line:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      -L"c:\Borland\Bcc55\lib"&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to install Borland Compiler?&lt;br&gt;Ok, when step 1. completed it would have made a new folder.  I will assume you did not change the name of this folder.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For step 2, part a.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you are using Windows XP, go to 'Control Panel' (open it). Select 'System' (open it). Look for the 'Advanced' tab (select it).  At the bottom is a button that says 'Environment Variables' (click on this).  In the window that appears, you should see an entry for 'PATH'.  Select this entry.  Click on the 'Edit' button.  Do not overwrite the text in here.  What you want to do is to go to the end of the text in 'Variable value:'.  Add this string without the quotes ";C:\Borland\BCC55\Bin" to the end of the PATH variable.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Note: There may be a 'Path' variable not a 'PATH', or even both 'Path' and 'PATH'.  If you only have one, add it to the one.  If you have two, add it to the one in the 'System variable' box/area.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you are using windows 98, you can add to the path variable in the autoexec.bat file.  This is usually located in the c: drive, and not in any folder  You will need to right click (with your mouse) on the file and select 'edit' to be able to open it in a text editor. Add this string without the quotes ";C:\Borland\BCC55\Bin" to the end of the PATH variable.  Ie, it usually says path=something;something\else;etc&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For step 2, part b.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Create a new text file and rename it bcc32.cfg&lt;br&gt;&lt;br /&gt;&lt;br /&gt;To edit this file, right click (with your mouse) on the file (after selecting it).  Then select 'edit'.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;In this file you will need to add the lines mentioned.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For step 2 part c.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Create another text file and rename it 'ilink32.cfg'&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Open it to edit as in the part b.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Add the lines mentioned.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Then, you will need to open a MS-DOS or Command Prompt box, if you use win98 or winXP, respectively.  It is usually situated in Start -%26gt; All Programs -%26gt; Accessories&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;After opening the MS-DOS or Command Prompt, type in 'bcc32 -?" without the quotes into the command prompt.  If all the above steps are successful, you will see a help message displayed.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Good luck.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;[update] ps, you will need to add (create) those files in the 'C:\Borland\BCC55\Bin' folder / directory.&lt;br&gt;Reply:that happened to me. i just updated it&lt;br&gt;Reply:Try to check if your Command Compiler is in windows environment path&lt;br&gt;&lt;br /&gt;&lt;br /&gt;- Open Contol Panel - System&lt;br&gt;&lt;br /&gt;&lt;br /&gt;- On Advanced tab, click environment Variables&lt;br&gt;&lt;br /&gt;&lt;br /&gt;- In system variables, check if your c:\Borland\Bcc55 or c:\Borland\Bcc55\bin it's include in the path parameter, if not, edit and add the path.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Remember to check your command compiler wheter in c:\Borland\Bcc55 or c:\borland\Bcc55\Bin.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Hope this Help&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-1419545592092841944?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/1419545592092841944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-to-install-borland-compiler.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1419545592092841944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1419545592092841944'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-to-install-borland-compiler.html' title='How to install Borland Compiler?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7909458191651760949</id><published>2009-07-14T19:03:00.000-07:00</published><updated>2009-07-14T19:03:12.079-07:00</updated><title type='text'>What is the code to print the extended ascii character set in c++?</title><content type='html'>I'm using borland turbo c++ if that helps&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What is the code to print the extended ascii character set in c++?&lt;br&gt;I'd say just use a loop from 0 to 255, and print the integer converted to a character, like this:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int i;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;char character;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for (i=0; i %26lt; 255; i++)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    character = i;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    cout %26lt;%26lt; character %26lt;%26lt; endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;Reply:well i dont really know, but i wud think u wudnt have to do anything, either that or make the chars unsigned&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://wedding-reception-flowers.blogspot.com/&gt;wedding reception flowers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7909458191651760949?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7909458191651760949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-code-to-print-extended-ascii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7909458191651760949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7909458191651760949'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-code-to-print-extended-ascii.html' title='What is the code to print the extended ascii character set in c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-715078994573060541</id><published>2009-07-14T19:02:00.003-07:00</published><updated>2009-07-14T19:02:56.118-07:00</updated><title type='text'>Using communication ports on Windows XP with Borlad Builder C++... Please HELPPPP!!!!!?</title><content type='html'>I need to be able to control a device via the parallel and the serial port. The platform is Windows XP and the compiler I'm using is Borland Builder C++.  How can I do this if importb and outportb are no longer supported?  I know I have to use the CreateFile function.  How does this work?  Any help will be appreciated!!!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Using communication ports on Windows XP with Borlad Builder C++... Please HELPPPP!!!!!?&lt;br&gt;try searching for some code on http://www.codeproject.com I dont know borland c++, but I found some code for doing it in vc++.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-715078994573060541?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/715078994573060541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/using-communication-ports-on-windows-xp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/715078994573060541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/715078994573060541'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/using-communication-ports-on-windows-xp.html' title='Using communication ports on Windows XP with Borlad Builder C++... Please HELPPPP!!!!!?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3873592071396390760</id><published>2009-07-14T19:02:00.002-07:00</published><updated>2009-07-14T19:02:40.071-07:00</updated><title type='text'>I want to run an exe file from my c++ application that has to run simultaniously with the calling program,how.</title><content type='html'>i am using borland turbo c++ 5.01 version on windows xp , there r no arguments to be passed can anyone give me the command to do that.(let abc.exe be the file to be run give me the exact command).&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I want to run an exe file from my c++ application that has to run simultaniously with the calling program,how.&lt;br&gt;execxxx,system and spawn are the choices&lt;br&gt;Reply:I'm not sure how to fork a process in Windows.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;But the system() command should get you some of the way there.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3873592071396390760?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3873592071396390760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-want-to-run-exe-file-from-my-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3873592071396390760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3873592071396390760'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-want-to-run-exe-file-from-my-c.html' title='I want to run an exe file from my c++ application that has to run simultaniously with the calling program,how.'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7383104894501659524</id><published>2009-07-14T19:02:00.001-07:00</published><updated>2009-07-14T19:02:24.482-07:00</updated><title type='text'>Plz plz plz any one tell me the program to compare two strings in c++?</title><content type='html'>i want an program showing the comparison of c++&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and one more thing i want to know how to inpute the graphics in Borland turbo c++ v4.5.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i am looking for a friend who could help me in my c++ problem.i wamt to chat with him .if any one want to help me then im me ar add me as friend my id is abhishek_vermaya@yahoo.co.in&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Plz plz plz any one tell me the program to compare two strings in c++?&lt;br&gt;Strings can be compared by using library function strcmp, for this header file "string.h" must be included. Function receive two string argument and returns 0 when string1 is same as string2, returns +ve no when string1 is greater than string2 and returns -ve no when string1 is less than string2.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Syntex:-     int strcmp(char*,char*)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;e.g. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;iostream.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;string.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    char *st1="Ajay Kumar", *st2="Amit Kumar";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    cout%26lt;%26lt;strcmp(st1,st2);&lt;br&gt;&lt;br /&gt;&lt;br /&gt; }&lt;br&gt;&lt;br /&gt;&lt;br /&gt; &lt;br&gt;&lt;br /&gt;&lt;br /&gt; function will display -3 because second string is greater (according to alphabet) i.e. j - m =  -3&lt;br&gt;Reply:PLEASE REFER THE WEBSITE  www.cplusplus.com .&lt;br&gt;Reply:use the function strcmp()&lt;br&gt;Reply:i dont know da seriously....how can i solve ur problem??im helpless&lt;br&gt;Reply:UltraCompare: http://www.ultraedit.com/index.php?name=...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7383104894501659524?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7383104894501659524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/plz-plz-plz-any-one-tell-me-program-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7383104894501659524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7383104894501659524'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/plz-plz-plz-any-one-tell-me-program-to.html' title='Plz plz plz any one tell me the program to compare two strings in c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-4896821664358896658</id><published>2009-07-14T19:02:00.000-07:00</published><updated>2009-07-14T19:02:08.068-07:00</updated><title type='text'>I want to pause  execution a of  c++ program for 1 hour is there any direct function?what is my best option?</title><content type='html'>iam using borland turbo c++ on windows xp.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I want to pause  execution a of  c++ program for 1 hour is there any direct function?what is my best option?&lt;br&gt;this is the shortest simplest (least overhead) method I've seen for making a sleep function. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;time.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; &lt;br&gt;&lt;br /&gt;&lt;br /&gt;void sleep(unsigned int mseconds)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    clock_t goal = mseconds + clock();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    while (goal %26gt; clock());&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;Reply:Yeah, you can use sleep.  If you are doing a console application, I see no other option.  Otherwise, when you want to being processing you can keep track of time and spawn a thread.  This thread simply compares the logged time with the current time, and executes a task after an hour has passed.&lt;br&gt;Reply:use timer&lt;br&gt;Reply:use&lt;br&gt;&lt;br /&gt;&lt;br /&gt;delay(seconds);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;function&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://1flowers-gifts.blogspot.com/&gt;flowers gifts&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-4896821664358896658?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/4896821664358896658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-want-to-pause-execution-of-c-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4896821664358896658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4896821664358896658'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-want-to-pause-execution-of-c-program.html' title='I want to pause  execution a of  c++ program for 1 hour is there any direct function?what is my best option?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-9023099328795239441</id><published>2009-07-14T19:01:00.003-07:00</published><updated>2009-07-14T19:01:52.038-07:00</updated><title type='text'>I am developing a code in c++ and in my code i need to run an application(an exe file) how can i do that.?</title><content type='html'>iam using borland turbo c++ 5.01 version and running on windows xp.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I am developing a code in c++ and in my code i need to run an application(an exe file) how can i do that.?&lt;br&gt;system(abc.exe);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;runs the abc.exe from c++ code&lt;br&gt;&lt;br /&gt;&lt;br /&gt;spawn and execxxx may help too&lt;br&gt;Reply:In c/c++ there are set of functions like &lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26lt;b%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;exec&lt;br&gt;&lt;br /&gt;&lt;br /&gt; spawn&lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26lt;/b%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and many of its derivatives which lets u run any .exe file from ur code.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;They even provide more controlls like what the calling program will do till the called program runs.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;U can even pass parameters to the called program.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Like u want to run note pad with argument "abc.txt" u need to call&lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26lt;i%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;spawnl(null,"notepad.exe","abc.txt");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26lt;/i%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Obviously ur file abc.txt should be in the same directory or compleate path is required.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;all these functions are defined in  %26lt;b%26gt;process.h%26lt;/b%26gt;&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-9023099328795239441?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/9023099328795239441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-am-developing-code-in-c-and-in-my.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/9023099328795239441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/9023099328795239441'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-am-developing-code-in-c-and-in-my.html' title='I am developing a code in c++ and in my code i need to run an application(an exe file) how can i do that.?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8833515777336558430</id><published>2009-07-14T19:01:00.002-07:00</published><updated>2009-07-14T19:01:36.470-07:00</updated><title type='text'>Creating a parabola in C++?</title><content type='html'>I'm using Borland turbo C++, first off.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I need to create an illusion of a parabola, using a "for" loop.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I already have set up a coordinate plane with tick marks, and the program asks the user for the A,B, and C values of the quadratic equation.  I just need some help on creating the "parabola".  Should I use line function and make it so every so many few pixels are marked and eventually create curves, or what?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;D:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any help would be appreciated :]&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Creating a parabola in C++?&lt;br&gt;OK This was a fun thing to do and it is a little confusing until you understand where the screen coordinates actually are and what is needed to be done to flip and offset the values so that the drawn parabola appears correct.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I have 3 examples showing whats needed to be done to draw the parabola correctly, the comments hopefully explain my intentions.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I used putpixel() for the first 2 and the line() only on the last correct parabola as line() needs to remember the previously drawn points.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Good luck.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;graphics.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;stdlib.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;stdio.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;conio.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   // Set the graphics mode&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   int graphdriver = DETECT, graphmode;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   initgraph(%26amp;graphdriver, %26amp;graphmode, "c:\\tc\\bgi");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   double end_x = (double)getmaxx();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   double end_y = (double)getmaxy();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   double x = 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   double y = 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   int prev_x=0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   int prev_y=0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   // Draw the parabola&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   for (x=-1*(int)(end_x/2); x%26lt;(int)(end_x/2); x+=.1)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      // substitute this equation with your entered values&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      y = .03*(x*x);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      // .03 used to make the current parabola look nicer&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      /*&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** 1) Drawn in BLUE - straight drawing of the parabola&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** the coordinates of the screen have the (0,0) in the top right corner&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** and (end_x, end_y) in the bottom left corner&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** If you draw only using the values it appears upside down and to the left&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      putpixel((int)x, (int)y, BLUE);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      /*&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** 2) Drawn in RED - drawing of the parabola and flipping it the right way&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** using the end_(x,y) - (x,y) we draw the parabola the correct way&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** It is still offset to the wrong side of the screen though&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      putpixel((int)(end_x-x), (int)(end_y-y), RED);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      /*&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** 3) Drawn in WHITE - correct drawing of the parabola&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** using 2) and then subtracting (end_(x,y)/2) we are able to&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** place the parabola in the center of the screen ie that location&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      ** is now the coordinates (0,0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      //putpixel((int)(end_x-x) - (int)(end_x/2.0), (int)(end_y-y) - (int)(end_y/2.0), WHITE);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      line((int)(end_x-x) - (int)(end_x/2.0), (int)(end_y-y) - (int)(end_y/2.0), prev_x, prev_y);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      // when using line() we need to remember the prev x,y values&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      prev_x = (int)(end_x - x) - (int)(end_x/2.0);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      prev_y = (int)(end_y - y) - (int)(end_y/2.0);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   // Close the graphics mode.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   getch();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   closegraph();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2daylily.blogspot.com/&gt;daylily&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8833515777336558430?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8833515777336558430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/creating-parabola-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8833515777336558430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8833515777336558430'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/creating-parabola-in-c.html' title='Creating a parabola in C++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7233212343818954095</id><published>2009-07-14T19:01:00.001-07:00</published><updated>2009-07-14T19:01:20.174-07:00</updated><title type='text'>C++ Do-While Loop Question...?</title><content type='html'>Hello. :]&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I'm using Borland Turbo C++, and making a program in which the user may enter an integer.  Then, they are asked for another, and then shown the product of the two entered.  They may continue entering integers, and the product will be modified after they enter another integer.  The flag is 0, and th e program will terminate when the user enters it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;My only question is that during my do-while loop, what should I use as a variable, as far as what the user enters, so that when I do  product=variable*variable, I get the answer, and not just product=num*num , whereas it'll just multiply the entered value by itself?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ Do-While Loop Question...?&lt;br&gt;Try this out in your code..&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int product = 1;//starts at 1 so you can mutiply&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int entered = 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int loops = 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;do&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;     cout%26lt;%26lt;"Enter an integer, 0 to stop"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;     cin%26gt;%26gt;entered;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;     if(entered !=0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;     product = product * entered;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;     loops++;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}while(entered != 0);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if(loops == 1)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;product = 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"Product is "%26lt;%26lt;product%26lt;%26lt;endl;&lt;br&gt;Reply:If understand correctly  you are asking user to  enter the number and multily all the numbers until he enters a zero.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;In do while loop put this code&lt;br&gt;&lt;br /&gt;&lt;br /&gt;product=product * num&lt;br&gt;Reply:well, after the initial product, your equation will actually change to product = previous product * integer. am i correct? so you could have two different variables like:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//input two integers at first, then put new integer into variable 2&lt;br&gt;&lt;br /&gt;&lt;br /&gt;product = variable1*variable2&lt;br&gt;&lt;br /&gt;&lt;br /&gt;variable1 = product&lt;br&gt;&lt;br /&gt;&lt;br /&gt;loop&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i hope this helps, my c++ is a little rusty. good luck!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7233212343818954095?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7233212343818954095/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-do-while-loop-question.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7233212343818954095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7233212343818954095'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-do-while-loop-question.html' title='C++ Do-While Loop Question...?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5271511241880444423</id><published>2009-07-14T19:01:00.000-07:00</published><updated>2009-07-14T19:01:04.097-07:00</updated><title type='text'>How2 run turbo c in winxp?</title><content type='html'>i am learing c from a book.i loaded the program borland turbo c but it aint compiling any programe i write..y is it so???????????&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How2 run turbo c in winxp?&lt;br&gt;copy the turbo c in any directory.go in start --%26gt; run--%26gt;command--%26gt; cd\ ---%26gt;drive in which u copy the main files---%26gt;cd file-name of turbo c--%26gt;turboc3 or tc (what ever Ur exe files name---%26gt;;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;e.g i m saving the file in d: and file name is turboc3.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;on dos command window&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cd\&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cd turboc3&lt;br&gt;&lt;br /&gt;&lt;br /&gt;tc&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;after opening c++ screen go in directories check the path if path is write then compile ur prog it will so the result.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;plz select best answer if this will work&lt;br&gt;Reply:I'm not sure.  I remember I tried using turbo c once, and I seem to remember that it would only run from the root directory for some reason. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Might I suggest that you try Pelles C?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.smorgasbordet.com/pellesc/&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It's newer and much friendlier than turbo c, which is something of a fossil these days.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And Pelles C is also free!&lt;br&gt;Reply:Look for gcc (GNU C Compiler) - it's free and very good. I use it for Windows and Linux alike.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Rawlyn.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5271511241880444423?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5271511241880444423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how2-run-turbo-c-in-winxp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5271511241880444423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5271511241880444423'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how2-run-turbo-c-in-winxp.html' title='How2 run turbo c in winxp?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5184553781521738297</id><published>2009-07-14T19:00:00.003-07:00</published><updated>2009-07-14T19:00:48.072-07:00</updated><title type='text'>C++ Error?</title><content type='html'>"Possibly incorrect assignment in function Addition()"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I could post my code, but I rather just know what causes that error?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I can search for the error myself, if it means a specific thing is wrong, but I'm just wondering.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And, I'm using Borland Turbo C++, so you know.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ Error?&lt;br&gt;In the code from an earlier question you have this : &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if(D=!C)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;which sets D to the logical not of C, then the statement is true if D != 0. D and C are integers. I'm sure this isn't what you intended, and the statement should be this:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if (D != C)&lt;br&gt;Reply:Is this a run-time or compile error? Sounds like a compile error and the compiler is detecting a type mismatch or a potential bounds error. (e.g. you are assinging a float to an int, or a long to and int)&lt;br&gt;Reply:sorry i don't know.but i will ask my sis.&lt;br&gt;Reply:This is usually caused by making this simple mistake.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if (avalue=1) &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// instead of &lt;br&gt;&lt;br /&gt;&lt;br /&gt;if (avalue==1)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;In the first case you assign 1 to avalue and the statement is always true! DOH!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;In the second case you test for avalue being equal to 1.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Look closely at your comparisons!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5184553781521738297?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5184553781521738297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5184553781521738297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5184553781521738297'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-error.html' title='C++ Error?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-965718123744878046</id><published>2009-07-14T19:00:00.002-07:00</published><updated>2009-07-14T19:00:32.192-07:00</updated><title type='text'>Drawing A Line --- C++?</title><content type='html'>I need to draw a basic line in C++, and if anyone could help, it'd be great.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;If someone taught me how to create one line with tick marks, that'd be better, but I'd be happy with just being told how to draw one line.  [Take in mind, that I don't want to prompt the user to draw a line, I just want to "print out" one to the screen.]&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks for any help with this :]&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And by the way,  I'm using Borland Turbo C++.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Drawing A Line --- C++?&lt;br&gt;hello,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;it has been a long time since I used Borland so please bear with me. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Drawing a line on the screen may not prove to be very difficult. First all you have to do is to check for  "graphics.h" if you have one. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you have none, then I guess you have no choice but to use printf() function. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;However If you do have, please check out the link that I am sending you. It is not a line (actually a circle) but has great explanation on how to do it :)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Take care and hope I have helped you.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;PS : if i remember correctly, graphics.h also has a line() function with the following syntax :&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;line(xstart, ystart, xend, yend);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I am not so sure but you can try reading/scanning graphics.h for the command. Cheers =)&lt;br&gt;Reply:C++ has no native drawing abilities.  If you are working in a console then the only way to simulate drawing is to use a output of "---------------" characters, otherwise you will have to move onto Windows programming to do any type of graphics work.&lt;br&gt;Reply:As farp says,, you can't drow a line in C++ environment, except if you wrote a code like this I think it will be possible :&lt;br&gt;&lt;br /&gt;&lt;br /&gt;[ cout %26lt;%26lt; "___________" %26lt;%26lt; end1 ]&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;or like this code &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;[ cout %26lt;%26lt; "---------------------" %26lt;%26lt; end1 ]&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Good Luck :)&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://flamingo-plant.blogspot.com/&gt;flamingo plant&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-965718123744878046?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/965718123744878046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/drawing-line-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/965718123744878046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/965718123744878046'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/drawing-line-c.html' title='Drawing A Line --- C++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-345669368229737333</id><published>2009-07-14T19:00:00.001-07:00</published><updated>2009-07-14T19:00:16.454-07:00</updated><title type='text'>Parabola in C++?</title><content type='html'>Hi, I'm a 15 year old student, and I'm using Borland Turbo C++.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I have gotten one reply previously on this question, but I cannot exactly understand how to create a parabola based only on user entered values of the A, B, and C values.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any help would immensly help.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thank you~&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Parabola in C++?&lt;br&gt;um, i guess it depends what interface are you using for your output.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if you use the command prompt, i would measure how many characters you can put in from the x and y axis that would fit the screen. then divide the x axis by 2, (if you want your parabola to be center at 0,0 and is a x^2 type. second you would make a for loop from -10 to 10. and type two marks that are X amt of distance between each other and symmetric to the x axis, and increasing to the X^2&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-345669368229737333?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/345669368229737333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/parabola-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/345669368229737333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/345669368229737333'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/parabola-in-c.html' title='Parabola in C++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-1891148006612795740</id><published>2009-07-14T19:00:00.000-07:00</published><updated>2009-07-14T19:00:00.435-07:00</updated><title type='text'>Help with c++?</title><content type='html'>I've no experience in programming, It just happen happen that we had a computer class and we are using C++. by the way I'm using the borland turbo c++ v1.01&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This program below is a sample program I found in the Internet. When I enter this program it says "unable to open include file STDIO.H". Is there something wrong with this program? Help me please&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;stdio.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main () {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int i,n,sum;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;scanf("%d",%26amp;n);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sum=0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i=1;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;while (i%26lt;=n) {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sum = sum + i;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i++;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf("%d",sum);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Help with c++?&lt;br&gt;Looks like C code instead of C++, judging by the way the main function is declared without a return type. Not sure if it has anything to do with stdio.h though. Most c++ compilers come with it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The C++ version would probably look like:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;iostream%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt; int n, sum=0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; std::cin %26gt;%26gt; n;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; for(int i = 1; i%26lt;=n; i++)&lt;br&gt;&lt;br /&gt;&lt;br /&gt; {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  sum+=i;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; }&lt;br&gt;&lt;br /&gt;&lt;br /&gt; std::cout %26lt;%26lt; sum;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;Reply:Looks like c code. Try Dev-C++. The compiler that your computer is using probably doesn't recognize studio.h. I suggest dev-c++, the compiler is a lot better.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You can download it from the internet for free.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cheers!!!&lt;br&gt;Reply:Your compiler has not been installed correctly or you have changed where the compiler looks for its #include files.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Try reinstalling Turbo C++, that will fix where it searches for files #included.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Dazza&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-1891148006612795740?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/1891148006612795740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/help-with-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1891148006612795740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1891148006612795740'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/help-with-c.html' title='Help with c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-570832276914724176</id><published>2009-07-14T18:59:00.002-07:00</published><updated>2009-07-14T18:59:44.480-07:00</updated><title type='text'>Subroutines, C++?</title><content type='html'>Subroutines, C++?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Hello.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I'm using Borland Turbo C++, first off.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I'm using subroutines, and for the first choice, which takes you to the first subroutine, it'll go through and everything, and then it will return to the "menu screen" asking the user for a choice.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;1 for Addition, 2 for Subtraction, 3 for Multiplication, 4 for Division, and 5 for Quit.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;1 works perfect, and returns to the menu.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;2-4 work fine, but at the end, it doesn't return to the menu.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;5 works fine, and ends the program like it should.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Is there a reason that 2-4 do this? Are they supposed to automatically return to the "menu" at the end, or is there a way to make it return to the said menu?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks =]&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And, as asked, I'll post my code.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;However, I'm just going to host the CPP file on mediafire, as it'll be hard to post on here, on the extra details part.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;=]&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.mediafire.com/?ccrp4mh3rgd&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Subroutines, C++?&lt;br&gt;Before I give you a proper answer, I should mention that you're using both deprecated and non-standard libraries in this program which, unless your teacher said you could, will not give you a good grade.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The answer is quite simple... for whatever reason, before you do your looping test, you force all values of "choice" that are greater than 1 to be equal to 5. Think about this... you tell all values of choice greater than 1 to be 5 and then immediately you say "if choice equals 5, exit the loop". I didn't immediately notice any syntax errors that the person above me noticed, however, I did not compile the program. My first guess however is that he tried to compile it, didn't have conio.h, saw the errors and assumed you have syntax problems.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Charles, this is now the second time in two days that I've had to correct you. This guy is clearly doing this for a class, so why would you suggest changing the syntax when you don't even know what was taught in the class to this point? I mean, honestly... switch statements? Is that the only thing you can find worth changing in his syntax?&lt;br&gt;Reply:There're a lot of errors check your code&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;semicolons and the brackets check them&lt;br&gt;Reply:You might try the switch/case to do this, but don't change the value of choice - code looks nicer this way.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Also, you should get rid of clrscr().  It's platform specific, and doesnt work for most people.  Including conio - Just get rid of conio...  (Hope your class doesn't require clearing the screen, if so - ask them why?  You'll never use that in a future job, the old pkzip never cleared the screen. )&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main(void)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   int choice;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   do{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   //clrscr();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   cout%26lt;%26lt;"1. Addition\n";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   cout%26lt;%26lt;"2. Subtraction\n";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   cout%26lt;%26lt;"3. Multiplication\n";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   cout%26lt;%26lt;"4. Division\n";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   cout%26lt;%26lt;"5. Quit\n";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   cout%26lt;%26lt;"Choice: ";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   cin%26gt;%26gt;choice;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   switch (choice) {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   case 1 : Addition(); break;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   case 2 : Subtraction(); break;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   case 3 : Multiplication(); break;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   case 4 : Division(); break;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   case 5 : break;  //do nothing&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   default: cout %26lt;%26lt; "Invalid Choice\n"; break;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   }while (choice !=5);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   }&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-570832276914724176?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/570832276914724176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/subroutines-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/570832276914724176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/570832276914724176'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/subroutines-c.html' title='Subroutines, C++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6991704056133356733</id><published>2009-07-14T18:59:00.001-07:00</published><updated>2009-07-14T18:59:29.037-07:00</updated><title type='text'>Can i write c programs in windows xp? i have no problems using c on win98 &amp; earlier.?</title><content type='html'>i use turbo c or borland / turbo c++ compiler. there is no problem with 98 %26amp; earlier. is there any solution?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can i write c programs in windows xp? i have no problems using c on win98 %26amp; earlier.?&lt;br&gt;Go to borland website and post a question regarding this problem. But most probably you need to update your libraries files the .h extension. most likely it is the IDE(intergrated development environment) that contain the compiler that did not work try buying a new one or using an open source IDE like http://www.bloodshed.net/ If you want make a donation. :)&lt;br&gt;Reply:I've tried the compiler from blodshed.net and it works great with XP.&lt;br&gt;Reply:Borland TC++ works under XP as well as under 9x.&lt;br&gt;Reply:I really don't understand what your question is!&lt;br&gt;Reply:To program in a Windows C++ environment these days, you have to use Visual C++ or the .NET C# program. I'm sure there are other alternatives, but most people stick with the Microsoft products.&lt;br&gt;Reply:Ahhh Yes/ No maybe&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ELL if I No&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://umbrella-plant.blogspot.com/&gt;umbrella plant&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6991704056133356733?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6991704056133356733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-i-write-c-programs-in-windows-xp-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6991704056133356733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6991704056133356733'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-i-write-c-programs-in-windows-xp-i.html' title='Can i write c programs in windows xp? i have no problems using c on win98 &amp;amp; earlier.?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2981108572407767449</id><published>2009-07-14T18:59:00.000-07:00</published><updated>2009-07-14T18:59:12.119-07:00</updated><title type='text'>C++ Program Help?</title><content type='html'>I'm using Borland Turbo C++.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Okay, here's my code:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.mediafire.com/?0hnrz1nxm31&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Apparently, I have to use long ints or something&lt;br&gt;&lt;br /&gt;&lt;br /&gt;to limit my numbers for my fraction subroutine, as far as multiplication and division.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I need to figure out how to limit it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It seems okay with easy,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;but when it gets to medium and hard,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;it shows my numerator as - [number here]&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For medium I can go from 1-99.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For hard 99-999.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And for decimals, I have to&lt;br&gt;&lt;br /&gt;&lt;br /&gt;make the numbers larger for medium and hard.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any help correcting my code would be greatly appreciated.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks~&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And, if you completely correct my code and host it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;or tell me exactly where to put whatever snippets.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I'd greatly appreciate it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This is due in two days, and I have no clue&lt;br&gt;&lt;br /&gt;&lt;br /&gt;what to do past this %26gt;_%26lt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ Program Help?&lt;br&gt;If you're using cout, you should be using endl instead of embedding \n in your strings.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You only need one temporary variable to swap two numbers. With A and B, do C = A, A = B, B = C.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I don't know if Turbo C++ uses 16 or 32 bit ints. If they're 16-bit, then you could possibly overflow because you have ANum=(A*B1)*(A1*B) where A %26lt;= 26, B %26lt;= 50, A1 %26lt;= 25, B1 %26lt;= 50. Using the maximum values gets you (26*50)*(25*50) = 1,625,000 which is way more than the signed 16-bit limit of 32767. Use "long" instead of "int" and keep trying.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;A good code pasting site is http://pastebin.com/&lt;br&gt;Reply:Wow!!! The reason why ur r confused is the fact that ur using too many functions. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For eg&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Have three functions namely:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void lvl1(char op) // op can take '+', '-', '*' or '/'&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.............// Randomize&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.............// whatevr loop&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.............switch (op)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.............{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;........................case '+' : ans = a + b; // Whatevr variables used&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.........................................&lt;br&gt;&lt;br /&gt;&lt;br /&gt;........................// Similarly for others&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.............}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;............. // Get Answer and check using simple if &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Similarly for other levels&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void lvl2(char);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void lvl3(char);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and u cud also use only 3 random generating subroutines for l1, l2 %26amp; l3&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;After this try analyzing the problem, the solution comes to you automatically......&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2981108572407767449?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2981108572407767449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-program-help.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2981108572407767449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2981108572407767449'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-program-help.html' title='C++ Program Help?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6982132551022703778</id><published>2009-07-14T18:58:00.003-07:00</published><updated>2009-07-14T18:58:56.214-07:00</updated><title type='text'>C++ help???</title><content type='html'>i have a project created in visual c++ containing multiple cpp files header files etc. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;i have never use visual c++ and only use borland turbo c++ is there any idea how to compile these files.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ help???&lt;br&gt;if you use &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include "C:\filelocation"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if you want to see them in the list on the left, it's something like project%26gt;add to project%26gt;file or project %26gt; add file to project, BUT you still have to use #include statements.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6982132551022703778?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6982132551022703778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-help_14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6982132551022703778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6982132551022703778'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-help_14.html' title='C++ help???'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2033954763827044158</id><published>2009-07-14T18:58:00.002-07:00</published><updated>2009-07-14T18:58:40.159-07:00</updated><title type='text'>Help in C++?</title><content type='html'>I'm very new to C++. Can anyone tell me why this function doesn't work?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;bool UnlockDrive(char PW[70])&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt; if (PW!="") {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  char ExecString[350];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  ExecString = "";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  char sys1[90];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  sys1 = "start \"mount.exe /v locked.dsk /l z /h n /c n /p \"";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  char sys2[90];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  sys2 = "\" /m rm /q\"";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  strcat(ExecString, sys1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  strcat(ExecString, PW);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  strcat(ExecString, sys2);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  system(ExecString);&lt;br&gt;&lt;br /&gt;&lt;br /&gt; }&lt;br&gt;&lt;br /&gt;&lt;br /&gt; return true;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I'm using Borland Turbo C++ version 10.0. I get the following error when I try to build the application:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Lvalue required&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It is referring to the lines:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ExecString = "";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sys1 = "start \"mount.exe /v locked.dsk /l z /h n /c n /p \"";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sys2 = "\" /m rm /q\"";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any help would be greatly appreciated!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Help in C++?&lt;br&gt;ExecString, sys1 and sys2 have their size declared, I think you need to set them to a string literal containing the same number of characters.  What you can do is this instead:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;char *ExecString = NULL, *sys1 = NULL, *sys2 = NULL;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sys1 = "start \"mount.exe /v locked.dsk /l z /h n /c n /p \"";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sys2 = "\" /m rm /q\"";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;strcat(ExecString, sys1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;strcat(ExecString, PW);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;strcat(ExecString, sys2);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;system(ExecString);&lt;br&gt;Reply:Since u r using C++ use standard library's string class std::string instead of char *:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;std::string execstring;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;execstring = "" ....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;system(execstring.c_str());                          &lt;span&gt;Report It&lt;/span&gt;&lt;br /&gt;                      &lt;br&gt;Reply:The problem is ExecString="".  This is in conflict with the definition just one line above. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;There are many ways to fix this.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;(1) If you change that line to strcpy( ExecString, "" ) you should be fine.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;(2) Or you could eliminate that line change the strcat(ExecString, sys1); to strcpy(ExecString, sys1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Good luck!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2033954763827044158?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2033954763827044158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/help-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2033954763827044158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2033954763827044158'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/help-in-c.html' title='Help in C++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-9146141053062334391</id><published>2009-07-14T18:58:00.001-07:00</published><updated>2009-07-14T18:58:24.087-07:00</updated><title type='text'>What is the code in c++ if i want to type r and it will run or type esc it will escape. Im using Borland 3.0?</title><content type='html'>Im using stdio.h conio.h etc but im not using iostream. we have a project called the game of life! we have the formulas loops and etc. but we dont how to do the "press esc to exit press r to run press space to create cells and blah blah"&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What is the code in c++ if i want to type r and it will run or type esc it will escape. Im using Borland 3.0?&lt;br&gt;Use the ISO std function getch() to get the next input character and return its value.  Pressing the space bar will cause getch() to return 0x20 (32 decimal.)  The escape key: 0x1b (27 decimal.)  Lower-case r: 0x72 (114 decimal.)&lt;br&gt;Reply:This may be pseudocode... but hey, it's been a while for me :-P&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;something like:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if (Asc(getChar()) == "r") {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   //code&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;or maybe a "keyDown" callback function or something&lt;br&gt;Reply:If you do a getchar() from standard input and compare the result with 'r' and ' ', won't that work? I don't know what you'll get for the escape key though. Will it be the ASCII code for ESC '\033' I think but i can't remember.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The only thing is that input from a keyboard is typically line oriented, i.e. you have to hit the enter key before your input is given to the program. There are system specific ways of changing this behaviour so that your program gets each character as it's typed. You need to consult your system documentation for this.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2deliver-flowers.blogspot.com/&gt;deliver flowers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-9146141053062334391?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/9146141053062334391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-code-in-c-if-i-want-to-type-r.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/9146141053062334391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/9146141053062334391'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-code-in-c-if-i-want-to-type-r.html' title='What is the code in c++ if i want to type r and it will run or type esc it will escape. Im using Borland 3.0?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7723743878381474728</id><published>2009-07-14T18:58:00.000-07:00</published><updated>2009-07-14T18:58:08.115-07:00</updated><title type='text'>Where can I get a program that allows me to write c++?</title><content type='html'>I would like Borland c++ version. I think it has to do with Turbo, maybe? I'm looking for the program that allows you to write the souce code and then you press execute and it will compile it and run it. I don't know what to call this type of program though.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Where can I get a program that allows me to write c++?&lt;br&gt;IDE %26amp; Compiler. Here ya go:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.thefreecountry.com/compilers/...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;EDIT: Integrated Development Environment - where you type the program in - typically w/quick compile, link, %26amp; run. (And in some cases form building resources.)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Depending on what you're looking to do (either console [DOS/Unix-Linux Command Line] or Forms) you could just stick with the MS C++ 2008 Freebie compiler from that list.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Borland is still viable if it's on your mind to use it, especially the DOS [turbo] version. (I think there's a free version on that list as well.)&lt;br&gt;Reply:damn girl. u are so fine, y r u messin with all this geeky *** computer **** anyway. u need to hit up my email so we can do somethin a lil more interesting. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                                                                  -HOLLA&lt;br&gt;Reply:A compiler is what you're looking for.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Here is a link to download the borland freeware version:  http://www.sofotex.com/Borland-C++-Compi... If you own a mac it there will already be a C++ compiler that comes with your machine.&lt;br&gt;Reply:Its called an IDE&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Turbo c++&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://dn.codegear.com/article/21751&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Dev C++&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://sourceforge.net/project/downloadi...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;EDIT:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;An IDE (Integrated Development Environment) is compiler, text editor and everything all in one.&lt;br&gt;Reply:Well it's called a compiler. Look for Borland Turbo c++ (like you said up there). I'm sure you could whack that in Google and at least get a trial version.&lt;br&gt;Reply:You definatly need an IDE.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Doing all that, compile, link takes too much time, so why not do it all in on time?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Use Dev-C++, it's good;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.bloodshed.net/devcpp.html&lt;br&gt;Reply:http://www.microsoft.com/express/downloa...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Microsoft visual studioes C++ Express Edition is the free version, there is also a professional development version which does cost money, but if you are just learning I would recomend sticking to the free Express version.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7723743878381474728?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7723743878381474728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/where-can-i-get-program-that-allows-me.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7723743878381474728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7723743878381474728'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/where-can-i-get-program-that-allows-me.html' title='Where can I get a program that allows me to write c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5973875387591899650</id><published>2009-07-14T18:57:00.003-07:00</published><updated>2009-07-14T18:57:52.037-07:00</updated><title type='text'>Why does a compiler come out of program of c++ on its own without compiling and terminating the whole program?</title><content type='html'>i am using borland c++&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Why does a compiler come out of program of c++ on its own without compiling and terminating the whole program?&lt;br&gt;There were probably errors detected in your code.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5973875387591899650?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5973875387591899650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/why-does-compiler-come-out-of-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5973875387591899650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5973875387591899650'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/why-does-compiler-come-out-of-program.html' title='Why does a compiler come out of program of c++ on its own without compiling and terminating the whole program?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3328115939050852769</id><published>2009-07-14T18:57:00.002-07:00</published><updated>2009-07-14T18:57:36.093-07:00</updated><title type='text'>How I can find work in home for C++ programming?</title><content type='html'>I am an experienced programmer in Borland C++ 5.02. I want to fint the ways I can do some projects in home.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How I can find work in home for C++ programming?&lt;br&gt;Here are some sites.  Good luck on rates -- they tend to be "offshore-ish".&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Elance: http://www.elance.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Guru:  http://www.guru.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;GetAFreelancer:  http://www.getafreelancer.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;RentACoder.com:  http://www.rentacoder.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Scriptlance:  http://www.scriptlance.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;GetACoder.com:  http://www.getacoder.com&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3328115939050852769?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3328115939050852769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-i-can-find-work-in-home-for-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3328115939050852769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3328115939050852769'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-i-can-find-work-in-home-for-c.html' title='How I can find work in home for C++ programming?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-4626581868662015745</id><published>2009-07-14T18:57:00.001-07:00</published><updated>2009-07-14T18:57:20.013-07:00</updated><title type='text'>I would like to print colored chars on screen using Visual C++ IDE. What's the function to use? I know about..</title><content type='html'>I know about the cprintf(), textcolor() functions in Borland C. But I want such type of funcitons in VIsual C Not in C++.  Please let me know!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I would like to print colored chars on screen using Visual C++ IDE. What's the function to use? I know about..&lt;br&gt;This Link will surely help you&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/msdnmag/issues...&lt;br&gt;Reply:there is a function in conio.h&lt;br&gt;&lt;br /&gt;&lt;br /&gt;called textcolor&lt;br&gt;&lt;br /&gt;&lt;br /&gt;u can use it as&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;textcolor(RED+BLINK);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cprintf("hello");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;BLINK will make the text to blink&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://floral-bouquets.blogspot.com/&gt;floral bouquets&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-4626581868662015745?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/4626581868662015745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-would-like-to-print-colored-chars-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4626581868662015745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4626581868662015745'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-would-like-to-print-colored-chars-on.html' title='I would like to print colored chars on screen using Visual C++ IDE. What&apos;s the function to use? I know about..'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8772456709209903792</id><published>2009-07-14T18:57:00.000-07:00</published><updated>2009-07-14T18:57:04.198-07:00</updated><title type='text'>I am using the DEV-C++ software, still when I compile and then try to run the code it won't launch. What is th</title><content type='html'>I have used till now a compiler the Borland C++  that was created in 1990 (yes that old). Give me an example of a working code. Maybe I have written mine wrong. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;my code9 keep in mind that this code is used by me to test this compiler):&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;iostream.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{double a,b,S;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"Input the lenght of the rectangle"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cin%26lt;%26lt;a;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"Input the width of the rectangle"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cin%26lt;%26lt;b;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;S=a*b;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"The area of the rectangle is..."%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;" "%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;S;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I am using the DEV-C++ software, still when I compile and then try to run the code it won't launch. What is th&lt;br&gt;// #include%26lt;iostream.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// This is wrong, you should use the alias these days&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;iostream%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// You need to add this too (or prefix the functions below with&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// std::, so cin becomes std::cin etc).&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// This is a useful website:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// http://www.cppreference.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// main must have correct signature&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//void main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main(int argc, char **argv)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{double a,b,S;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"Input the lenght of the rectangle"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//cin%26lt;%26lt;a;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// this way round&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cin %26gt;%26gt; a;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"Input the width of the rectangle"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//cin%26lt;%26lt;b;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cin %26gt;%26gt; b;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;S=a*b;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"The area of the rectangle is..."%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;" "%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//cout%26lt;%26lt;S;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// need CRLF.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout %26lt;%26lt; S %26lt;%26lt; endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// return success&lt;br&gt;&lt;br /&gt;&lt;br /&gt;return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;Reply:I dont know if this is a type mistake but cin should be like this&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cin %26gt;%26gt; variable_name&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;After compile, make sure you get 0 errors and an executable file is created then run the exe file&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8772456709209903792?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8772456709209903792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-am-using-dev-c-software-still-when-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8772456709209903792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8772456709209903792'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-am-using-dev-c-software-still-when-i.html' title='I am using the DEV-C++ software, still when I compile and then try to run the code it won&apos;t launch. What is th'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3350465222275345993</id><published>2009-07-14T18:56:00.003-07:00</published><updated>2009-07-14T18:56:48.447-07:00</updated><title type='text'>Where can I find software for C++ programming ?</title><content type='html'>Borland c programmes?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Where can I find software for C++ programming ?&lt;br&gt;You can go to www.download.com. There many free software. Type your search in search box and select free.&lt;br&gt;Reply:Use limewire&lt;br&gt;Reply:Hi Madhuvan, i have the software for C++ programming.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you need it, just drop me a mail, i'll forward that software to you..&lt;br&gt;&lt;br /&gt;&lt;br /&gt;My email id is chetan_9118@yahoo.com&lt;br&gt;Reply:On the internet. Try searching a search engine.&lt;br&gt;Reply:for anything and everything .. go to download.com&lt;br&gt;Reply:Goto Google.com and in the search engine type &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;C++ Software Download&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and select particular site and start downloading it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;or you can contact me at&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;milind04mca08@gmail.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;www.download.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;www.codeguru.com&lt;br&gt;Reply:Goto Google.com and in the search engine type &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;C++ Software Download&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and select particular site and start downloading it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;or you can contact me at&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;eralmas7@yahoo.com&lt;br&gt;Reply:You can try gcc.gnu.org  or cygwin(google for the word cygwin, first hit should take you to the site). With cygwin installed you get a host of development tools to work with.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3350465222275345993?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3350465222275345993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/where-can-i-find-software-for-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3350465222275345993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3350465222275345993'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/where-can-i-find-software-for-c.html' title='Where can I find software for C++ programming ?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5213455652447891174</id><published>2009-07-14T18:56:00.002-07:00</published><updated>2009-07-14T18:56:32.110-07:00</updated><title type='text'>Can anyone write a code snippet in C for adjoint of a matrix?</title><content type='html'>I use borland C. I am technically sound but have been C only since a month now. I will able to understand higher levels.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can anyone write a code snippet in C for adjoint of a matrix?&lt;br&gt;Well, here's some working java code, which you should be able to translate into C ...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5213455652447891174?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5213455652447891174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-anyone-write-code-snippet-in-c-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5213455652447891174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5213455652447891174'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-anyone-write-code-snippet-in-c-for.html' title='Can anyone write a code snippet in C for adjoint of a matrix?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2852481720842503393</id><published>2009-07-14T18:56:00.001-07:00</published><updated>2009-07-14T18:56:16.095-07:00</updated><title type='text'>Making a game in C++?</title><content type='html'>I'm making a math game in Borland C++ v4.52.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The game is basically having multiple mathematical problems slowly go down the screen and the user can then enter the answer to a question. While the user is entering the question, all questions are still moving down the screen.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I don't know how to make it so that the user can simultaneously answer the question and have the mathematical questions move down the screen.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If anyone has a website or some code they can offer me, that'd be great.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks in advance.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Making a game in C++?&lt;br&gt;Use conio.h with kbhit(), then, when kbhit() is true, read from the input using getch[e]() (using cin or scanf creates a General Protection Error).&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://dried-flowers2.blogspot.com/&gt;dried flowers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2852481720842503393?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2852481720842503393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/making-game-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2852481720842503393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2852481720842503393'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/making-game-in-c.html' title='Making a game in C++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-4179902236363832177</id><published>2009-07-14T18:56:00.000-07:00</published><updated>2009-07-14T18:56:00.029-07:00</updated><title type='text'>Inportb and outportb in C++?</title><content type='html'>what version of borland C++ support the&lt;br&gt;&lt;br /&gt;&lt;br /&gt;inportb and outportb functions.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;how do i use this function in VC++???&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;tnx&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Inportb and outportb in C++?&lt;br&gt;Well I'm not sure that one version will support and others won't. I think it has to do more with including the dos.h header file. Not entirely sure on that though. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I just got it to work in Dev-C++ which is a great free IDE http://www.bloodshed.net/devcpp.html its fast and you dont need all the included crap that comes with VC++. But if you want to use VC++ try this code . . &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;dos.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main(void)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    int outportb (unsigned int port, int value);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    unsigned int outport (unsigned int port, unsigned int value);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    int outp (unsigned int port, int value);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    unsigned int outportw (unsigned int port, unsigned int value);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    outportb(0x9D4,0xc9);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-4179902236363832177?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/4179902236363832177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/inportb-and-outportb-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4179902236363832177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4179902236363832177'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/inportb-and-outportb-in-c.html' title='Inportb and outportb in C++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8900267086195760261</id><published>2009-07-14T18:55:00.002-07:00</published><updated>2009-07-14T18:55:44.101-07:00</updated><title type='text'>I want to write an application in C++, i need your help?</title><content type='html'>1- how many versions of C++ are available? (i'm not talking about Visaul or microsoft products)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;2- from where can i download it?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;3- if there is many kinds (like borland C++) which one is better and what is the difference?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;thanks alot!!!!!!!!!!!!!!!!!!!!!!!!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I want to write an application in C++, i need your help?&lt;br&gt;http://en.wikipedia.org/wiki/C++&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://bdn.borland.com/article/0,1410,21...&lt;br&gt;Reply:informative! thanks!                          &lt;span&gt;Report It&lt;/span&gt;&lt;br /&gt;                      &lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8900267086195760261?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8900267086195760261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-want-to-write-application-in-c-i-need.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8900267086195760261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8900267086195760261'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-want-to-write-application-in-c-i-need.html' title='I want to write an application in C++, i need your help?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-4023042424719820427</id><published>2009-07-14T18:55:00.001-07:00</published><updated>2009-07-14T18:55:28.214-07:00</updated><title type='text'>What is "using namespace std;" in C++??</title><content type='html'>what does it do? Is this code a recent addition? I had started C++ 2 years ago and then switched to java .Back then nobody tought me to use it("using namespace std;") ever not even once.Was my teacher dumb??&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and the compiler i use says"Namespace name expected " every time i include this peice of code in the program.The compiler i use is Borland C++ version 5.03 .Is it a source of the problem??help me out guys.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What is "using namespace std;" in C++??&lt;br&gt;Without getting too complicated -- basically they have created a way in C++ to differentiate between different areas of "namespace" in such a way that you could potentially have multiple objects or typedefs, etc of the same name that don't overlap. The "std" namespace is where most things in the C++ header files (iostream for example) live. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For example I could create a class and call it "string", even though a class called "string" already exists, if I put it in a different namespace.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I would guess that you are using something like a cout, cin, endl, string, or other predefined type/object. "cout" for example is actually called "std::cout", but by putting "using namespace std;" you are able to leave off the "std::" part.&lt;br&gt;Reply:"namespace" is the essential part of C++. To understand what any namespace means (as e.g. namespace std), just read any C++ book.&lt;br&gt;Reply:some classes etc. are declared in _namespaces_, std - is one of that nmespaces. To access that class you need resolve the namespace.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Taht could be performed with: using namespace xxxx; (as an option)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For instance:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;vector%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;map%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;vector%26lt;int%26gt;   v;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;map%26lt;int,int%26gt; m;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;********************** or ***************** &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;vector%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;map%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;std::vector%26lt;int%26gt;   v;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;std::map%26lt;int,int%26gt; m;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;good luck&lt;br&gt;Reply:You might like to read this for a decent introduction to namespaces:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.glenmccl.com/ns_comp.htm&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I would recommend switching back to C++ and leaving Java well alone - better to learn to use a tool than a toy.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Rawlyn.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-4023042424719820427?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/4023042424719820427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-using-namespace-std-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4023042424719820427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4023042424719820427'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-using-namespace-std-in-c.html' title='What is &quot;using namespace std;&quot; in C++??'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6909355405711020211</id><published>2009-07-14T18:55:00.000-07:00</published><updated>2009-07-14T18:55:12.366-07:00</updated><title type='text'>How can I compile a .dll using microsoft visual c++ 6?</title><content type='html'>I need to compile a Dinamyc Library that was originaly developed under Borland C, but now we need to migrate to Visual C++, and I would like to use the same code I used before. How can I compile a .dll using visual C++?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can I compile a .dll using microsoft visual c++ 6?&lt;br&gt;Well u need to know how to make the dll workspace to work in it right ?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;in your vc++ open new project and choose dynamic link library .. then import all you cpp and headers files into this new project .&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;finally just remove the default cpp file created with the new project that u don't need it anymore , and save yourworkspace and you can start compilation now .&lt;br&gt;Reply:Does it need to be recompiled? One of the strengths of DLLs is their reusability - you can write a DLL in C then import it into pretty much any language and use it quite happily, and this normally doesn't mean recompiling.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2gift-baskets.blogspot.com/&gt;gift baskets&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6909355405711020211?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6909355405711020211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-can-i-compile-dll-using-microsoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6909355405711020211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6909355405711020211'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-can-i-compile-dll-using-microsoft.html' title='How can I compile a .dll using microsoft visual c++ 6?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3007265281338859838</id><published>2009-07-14T18:54:00.003-07:00</published><updated>2009-07-14T18:54:56.132-07:00</updated><title type='text'>How to use c++ 3.0 compiler in vista?</title><content type='html'>I just installed vista in my pc. But i can't use my old borland c++ compoler 3.0. The error says the dos-based programs are not allowe to work full-screen.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And in small window the graphics program are not compiled.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any suggestions?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to use c++ 3.0 compiler in vista?&lt;br&gt;http://www.bestvistadownloads.com/downlo...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3007265281338859838?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3007265281338859838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-to-use-c-30-compiler-in-vista.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3007265281338859838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3007265281338859838'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-to-use-c-30-compiler-in-vista.html' title='How to use c++ 3.0 compiler in vista?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8712872567331478272</id><published>2009-07-14T18:54:00.002-07:00</published><updated>2009-07-14T18:54:40.108-07:00</updated><title type='text'>Complex program in c++...how do i solve it?</title><content type='html'>i want to program the following in borland c++..how do i get this in the output screen:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;*&lt;br&gt;&lt;br /&gt;&lt;br /&gt;**&lt;br&gt;&lt;br /&gt;&lt;br /&gt;***&lt;br&gt;&lt;br /&gt;&lt;br /&gt;****&lt;br&gt;&lt;br /&gt;&lt;br /&gt;*****&lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26amp; also the following:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    *&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   **&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  ***&lt;br&gt;&lt;br /&gt;&lt;br /&gt; **** &lt;br&gt;&lt;br /&gt;&lt;br /&gt;*****&lt;br&gt;&lt;br /&gt;&lt;br /&gt;help me i have got test next week?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Complex program in c++...how do i solve it?&lt;br&gt;lol&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;just make a loop thats ends after 1 turn, and add the following:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf("*");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf("**");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf("***");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf("****");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf("*****");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;send me a message if you fail to do so&lt;br&gt;Reply:I'm not sure of what notions you have to apply to this, but I will suppose that you will have learned how to a) print to standard output, and b) use loops.* I'm also going to suppose that the format of the output is written from left to right, top to bottom, in the terminal/prompt.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You will have noticed one of a number of things from looking at the output : the number of asterisks ('*') on a given line is greater than the number of asterisks on the previous line. Basically, the number of asterisks on a given line increases as the depth of the line increases.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The first thing is to print the asterisks. We cannot print them directly, given that the number of asterisks varies per given line. However, we know that the number of asterisks is equivalent to the depth of a line (!!!!). In pseudo-code :&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for i = 1 to depth do&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    print('*')&lt;br&gt;&lt;br /&gt;&lt;br /&gt;end_for&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Great ! We now have the asterisks figured out. Now that we've focused on a line, let's focus on the whole of the triangle. Again : the number of asterisks in a line is proportional to the depth of that line. This means that the depth will increase as we add more lines. An increase in lines, and increase in asterisks...yet another loop : &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;/* to print depth lines */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for i = 1 to depth do&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    for j = 1 to i do&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        print('*')&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    end_for&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    print('\n')                   /* let's not forget to go to the next line */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;end_for&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;In C++ that would give something like this :&lt;br&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;iostream.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void            print_triangle(int      depth)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  int           i;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  int           j;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  for (i = 1; i %26lt;= depth; i++)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      for (j = 1; j %26lt;= i; j++)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        cout %26lt;%26lt; '*';&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      cout %26lt;%26lt; endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int             main(void)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  print_triangle(7);    /* play with this value */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Check the includes, but this should work fine. I hope this helped.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Good luck on you exam.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;____&lt;br&gt;&lt;br /&gt;&lt;br /&gt;* If you haven't used loops, then simply sequentially printing the lines.&lt;br&gt;Reply:Sorry, but if you consider that complex, then you don't deserve to pass the test.  No matter the level of the course you're following.  You should be able to do this after exactly one lesson in C++ programming.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8712872567331478272?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8712872567331478272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/complex-program-in-chow-do-i-solve-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8712872567331478272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8712872567331478272'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/complex-program-in-chow-do-i-solve-it.html' title='Complex program in c++...how do i solve it?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8151225027359152574</id><published>2009-07-14T18:54:00.001-07:00</published><updated>2009-07-14T18:54:24.052-07:00</updated><title type='text'>How to use the software CD that came with the C++ book by COHOON &amp; DAVIDSON?</title><content type='html'>Here with the CD given that.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For use with the following compilers:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;1)Borland C++ 5.02.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;2)Microsoft Visual C++ 6.0.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;3)Inprise C++ Builder 5.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And i have the compiler Microsoft Visual C++6.0,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;so how to use the Ez windows API given with the &lt;br&gt;&lt;br /&gt;&lt;br /&gt;software CD by COHOON %26amp; DAVIDSON.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Please give the answer.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Early reply will be highly appreciated.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanking you.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Regards.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Satish kumar.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to use the software CD that came with the C++ book by COHOON %26amp; DAVIDSON?&lt;br&gt;try blood shed dev c++ compiler i tried visual c++, borland, and many more i like blood shed dev c++ best and it has lots of templates that come bundled in with it, you can update the compilers library's with a breeze. try it out.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8151225027359152574?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8151225027359152574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-to-use-software-cd-that-came-with-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8151225027359152574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8151225027359152574'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-to-use-software-cd-that-came-with-c.html' title='How to use the software CD that came with the C++ book by COHOON &amp;amp; DAVIDSON?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3715800113010276292</id><published>2009-07-14T18:54:00.000-07:00</published><updated>2009-07-14T18:54:08.417-07:00</updated><title type='text'>Can u tell me how to create a file in visual c++?</title><content type='html'>i am an engineering student&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i am being taugth  c language in borland c.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i want to do the programs in visual c++&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i am new to visual c++&lt;br&gt;&lt;br /&gt;&lt;br /&gt;so please help me who to create a program in visual c++&lt;br&gt;&lt;br /&gt;&lt;br /&gt;or tell me the best website i can learn...........&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can u tell me how to create a file in visual c++?&lt;br&gt;Go to Microsoft and download Visual C++ Express.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/vstudio/expres...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;plenty of tutorials out there on the web.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://221wedding.blogspot.com/&gt;wedding&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3715800113010276292?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3715800113010276292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-u-tell-me-how-to-create-file-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3715800113010276292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3715800113010276292'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-u-tell-me-how-to-create-file-in.html' title='Can u tell me how to create a file in visual c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7350169217563269302</id><published>2009-07-14T18:53:00.003-07:00</published><updated>2009-07-14T18:53:52.754-07:00</updated><title type='text'>From where can i download C++ for free?</title><content type='html'>it may be turbo c++ or borland C++ latest version&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;From where can i download C++ for free?&lt;br&gt;go to    www.freedwonload.com   you will like it&lt;br&gt;Reply:http://www.download.com/&lt;br&gt;Reply:Go to http://dn.codegear.com/article/21751&lt;br&gt;Reply:search on &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;www.oldapps.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;best for old applications&lt;br&gt;Reply:Go to phazeddl.com and search c++&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7350169217563269302?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7350169217563269302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/from-where-can-i-download-c-for-free.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7350169217563269302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7350169217563269302'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/from-where-can-i-download-c-for-free.html' title='From where can i download C++ for free?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3912438816102329152</id><published>2009-07-14T18:53:00.002-07:00</published><updated>2009-07-14T18:53:36.330-07:00</updated><title type='text'>Can you tell me a good IDE for programming in the C language?</title><content type='html'>I need to program in the C language, NOT C++. It's for something like putting code in some chips... something for putting C code in some hardware, this is why I need it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Now I'm at the beginning, so don't know much... the programmer I talked to, said they need a program... and first I need to write some code in C...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;What IDE to use, since the last one I used was Borland C 3.1...? I want to use one for Windows.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Also, tell me where to download it from?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can you tell me a good IDE for programming in the C language?&lt;br&gt;The only one I've used is the Pelles C IDE; it's free to download and decent to work with; probably some of the paid ones offer more support, but this will get it done...&lt;br&gt;Reply:Microsoft makes the Visual Studio 2005 Express version available as a free download.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3912438816102329152?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3912438816102329152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-you-tell-me-good-ide-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3912438816102329152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3912438816102329152'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-you-tell-me-good-ide-for.html' title='Can you tell me a good IDE for programming in the C language?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6481745929206842031</id><published>2009-07-14T18:53:00.001-07:00</published><updated>2009-07-14T18:53:20.209-07:00</updated><title type='text'>In  this c++ destructors are not getting initialized!!!!(destructors for obj2 and obj1 ar'nt invoked?</title><content type='html'>/*The life cycle of an object*/&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;iostream%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;conio%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;class Test&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  public:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  Test()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    cout%26lt;%26lt;"Constructor invoked"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  ~Test()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    cout%26lt;%26lt;"Destructor invoked"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;};&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Test obj1;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  cout%26lt;%26lt;"main() begins"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  Test obj2;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    cout%26lt;%26lt;"Inner block begins"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    Test obj3;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    cout%26lt;%26lt;"Inner block ends"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  cout%26lt;%26lt;"main() ends"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  getch();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;the output i get is&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main() begins&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Inner block begins&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Inner block ends&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Destructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main() ends&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;it should have been&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main() begins&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Inner block begins&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Inner block ends&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Destructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main() ends&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Destructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Destructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;plz help(destructor should automatically be initialized isn't it?)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i am using borland c++ builder 5.2 is it a factor??&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;In  this c++ destructors are not getting initialized!!!!(destructors for obj2 and obj1 ar'nt invoked?&lt;br&gt;The following answer is absolutly correct .... &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main() begins&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Inner block begins&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Inner block ends&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Destructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main() ends&lt;br&gt;&lt;br /&gt;&lt;br /&gt; ________________&lt;br&gt;&lt;br /&gt;&lt;br /&gt;|Destructor invoked |&lt;br&gt;&lt;br /&gt;&lt;br /&gt;|Destructor invoked |&lt;br&gt;&lt;br /&gt;&lt;br /&gt;|________________|&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;But u can't see the last 2 statements (showed in block)....here what actully happened is ... &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The destructore for obj2  will be called after the "MAIN() FUNCTION" is terminated" (i.e. after the closing braces).&lt;br&gt;&lt;br /&gt;&lt;br /&gt;B'coz, obj2 is declaired in main() function, so its life is in the main() function's scope.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The destructor for obj1 will be called just b4 the "PROGARMM" is terminated (i.e. bust b4 the programm is removed from the memory). &lt;br&gt;&lt;br /&gt;&lt;br /&gt;B'coz, obj1 is a globle object of TEST class and its life is thruout the programm.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I dont know about the Borland Compiler, but in Turbo compiler you can se the output screen again after termination of the program using "ALT + F5" and doing this will show the real  output...&lt;br&gt;&lt;br /&gt;&lt;br /&gt; &lt;br&gt;&lt;br /&gt;&lt;br /&gt;u can contact me if u still have doubts... send me message.&lt;br&gt;Reply:I have altered some of your code so it will compile AND run. Forgive me as I have cut parts out regardless, I found you had multple problems with the code, such as how you were actually giving the function protyptes in the class actual code (only pass them parameters if needed, you do all the code you want the function to do in the defintion. A class can ONLY have one deconstrutor. Also if you are compling this in one file...as your code showed...then why did you not use namespace std? That was probably half of your errors right there you would have had to use std::cout %26lt;%26lt; "stuff on screen";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Good luck.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;iostream%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//Define Class&lt;br&gt;&lt;br /&gt;&lt;br /&gt;class Test&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;public:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//Function Prototype&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void TestFunction();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//Destructor&lt;br&gt;&lt;br /&gt;&lt;br /&gt;~Test();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;};&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//Declare object/variable&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Test obj1;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"main() begins"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//Function call&lt;br&gt;&lt;br /&gt;&lt;br /&gt;obj1.TestFunction();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"main() ends"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;system("pause");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//Function Definitions&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void Test::TestFunction()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"Inner block begins"%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Test::~Test()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;Reply:Yeah, the last poster is right.  I added this line at the top:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and made other minor changes to get it going on unix.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I get the output you expected:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main() begins&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Inner block begins&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Constructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Inner block ends&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Destructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main() ends&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Destructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Destructor invoked&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;So, you might have an issue with text output.  That doesn't explain why you get some lines printed out and not others, though. So, yeah, you might also have a flaky compiler, since the code works as expected with g++.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6481745929206842031?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6481745929206842031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/in-this-c-destructors-are-not-getting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6481745929206842031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6481745929206842031'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/in-this-c-destructors-are-not-getting.html' title='In  this c++ destructors are not getting initialized!!!!(destructors for obj2 and obj1 ar&apos;nt invoked?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5064348510785651161</id><published>2009-07-14T18:53:00.000-07:00</published><updated>2009-07-14T18:53:04.108-07:00</updated><title type='text'>HI c++ compiler help?</title><content type='html'>Where could i get a borland c++ 3.0 compiler for free dos version&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;HI c++ compiler help?&lt;br&gt;http://www.ecuadors.net/compilers.htm&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;g/l&lt;br&gt;Reply:First, you need to contact the lifeforms of the Vega star system. Request the proper file bytes from them. After a short period of time (a little over 50 years), you will receive the bytes of all necessary files from them in binary. Make sure to account for atmospheric interference if you're using a common radio frequency. Once you have the data, open your hex editor (you do have one, right?) and input the bytes one at a time. When you're finished, you should be able to use the compiler. You might need to do a few manual registry updates. Oh, and I think Vega is pretty trustworthy, but it couldn't hurt to run a virus scan on the file once you're finished downloading it. Vega might be planning something.&lt;br&gt;Reply:Well try searchin in www.soft32.com , or try to search in google&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://1flowers-on-line.blogspot.com/&gt;flowers on line&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5064348510785651161?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5064348510785651161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/hi-c-compiler-help.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5064348510785651161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5064348510785651161'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/hi-c-compiler-help.html' title='HI c++ compiler help?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-1258441706487371292</id><published>2009-07-14T18:52:00.003-07:00</published><updated>2009-07-14T18:52:48.147-07:00</updated><title type='text'>From Where I Can Download "ANSI-C++ &amp; C++ 4.0" ?</title><content type='html'>Also Tell Me What Is The Difference B/W "Turbo C++ %26amp; Borland C++" ?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;From Where I Can Download "ANSI-C++ %26amp; C++ 4.0" ?&lt;br&gt;You do not download ANSI-C++, you download, or buy an ANSI-C++ compiler or Intergrate Development Environment (IDE).&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You have to create a text file that contains the source of the c++ program you wish to make, an very simple one below:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;include %26lt;iostream%26gt; // For writing to the screen / console&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using std::cout;  // To get the output stream&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout %26lt;%26lt; "Hello Danishahmed25pk";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thats the end of the program, save it in a text file with the extension .cpp&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You will then need to compile it using the compiler or IDE you have.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Borland offers a free compiler [1] details at [2].  There is also a purchasable compiler on the page at [1].&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;From Borland about Turbo C++&lt;br&gt;&lt;br /&gt;&lt;br /&gt;"Turbo C++ version 1 was our first compiler that supported the C++ language. The C++ compiler conformed to AT%26amp;T's 2.0 specification for the C++ language."[3]&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It appears the Turbo Debugger is still used on the free Borland C++.&lt;br&gt;Reply:Turbo C++ is the old Borland C++ compiler!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-1258441706487371292?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/1258441706487371292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/from-where-i-can-download-ansi-c-c-40.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1258441706487371292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1258441706487371292'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/from-where-i-can-download-ansi-c-c-40.html' title='From Where I Can Download &quot;ANSI-C++ &amp;amp; C++ 4.0&quot; ?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3774753468675019765</id><published>2009-07-14T18:52:00.002-07:00</published><updated>2009-07-14T18:52:32.412-07:00</updated><title type='text'>C++ mutual-inclusion (mutual dependcies)?</title><content type='html'>Hi all. I am having an issue using Borland C++ Builder where I have 2 classes:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;TTarget&lt;br&gt;&lt;br /&gt;&lt;br /&gt;TTgtMgr&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Both classes include references to the other in the defintions (header) and the implementation (cpp)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I tried using forward declarations. This allows me to make vars&lt;br&gt;&lt;br /&gt;&lt;br /&gt;TTarget *tgt&lt;br&gt;&lt;br /&gt;&lt;br /&gt;TTgtMgr *mgr&lt;br&gt;&lt;br /&gt;&lt;br /&gt; &lt;br&gt;&lt;br /&gt;&lt;br /&gt;in each others classes, however the problem is, in the implementation, I try to access the methods of the other class and I recieve the following compiler error:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Cannot access methods of %26lt;class%26gt; because %26lt;class%26gt; is not yet defined.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;So for example in TTarget.cpp I do:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;*TTgtMgr *mgr &lt;br&gt;&lt;br /&gt;&lt;br /&gt;mgr-%26gt;someMgrFunc(); &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And the error occurs.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I feel like some form of late binding might help but I really dont understand it well enough to implement such a fix.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any thoughts on how I can remedy this problem?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ mutual-inclusion (mutual dependcies)?&lt;br&gt;In the .h files of the above two classes use forward declaration, no "*" required.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;In  TTarget.h before actual class definitions starts &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;/////////// TTarget.h file &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;class TTgtMgr;   //forward declaration&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;class TTarget{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;/////////// TTgtMgr.h file &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;class TTarget;   //forward declaration&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;class TTgtMgr{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fill in the rest of the implementations&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3774753468675019765?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3774753468675019765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-mutual-inclusion-mutual-dependcies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3774753468675019765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3774753468675019765'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-mutual-inclusion-mutual-dependcies.html' title='C++ mutual-inclusion (mutual dependcies)?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-4176033711504214506</id><published>2009-07-14T18:52:00.001-07:00</published><updated>2009-07-14T18:52:16.029-07:00</updated><title type='text'>C++: how to create a .lib file?</title><content type='html'>Hi i have a simple console program done using Borland C++.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;How do i cut  portions of it and make them into .lib and .h files?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++: how to create a .lib file?&lt;br&gt;In Borland, depending on version, there should be a command line tool called TLIB that actually installs the object code and certain parameters into the .lib file for you.  As far as I know, you need to do these steps:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;1).  As posted by others, leave out the main function.  Everything that will be called as a library routine should have a function definition ( the complete function ) left in the .c source file.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;2). Be sure that all function declarations are put into a header (.h) file and that any included headers are included there also.  Be sure that any global variables are either exposed by declaring them as external or transferring them into the source (.c) file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;3). Make sure that all the functions names are unique among standard libraries so there won't be name conflicts later.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;4). Compile your two files to object (.obj) files.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;5). Instead of linking them with the linker, simply use the TLIB.EXE utility that comes with Borland products to produce the actual library file.  Keep a copy of the source!  You might want to revise it later.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;6.) Optional step: write another project to test calls to each function independant of the original source code, compiling with the appropriate header and library files as options.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I believe that I covered everything.  It has been a while since I've written any libraries in C or C++.  Hmmm... maybe I'll just do that!  Thanks for the idea.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-4176033711504214506?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/4176033711504214506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-how-to-create-lib-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4176033711504214506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4176033711504214506'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-how-to-create-lib-file.html' title='C++: how to create a .lib file?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2359737342986270163</id><published>2009-07-14T18:52:00.000-07:00</published><updated>2009-07-14T18:52:00.061-07:00</updated><title type='text'>Do I need C++ turbo to write programs? Can I download this type of program?</title><content type='html'>I would like Borland c++ version. I think it has Turbo in the name of it. I don't know what to call this type of program though. I'm looking for the program that allows you to write the souce code and then you press execute and it will compile it and run it.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Do I need C++ turbo to write programs? Can I download this type of program?&lt;br&gt;You can use any IDE.  Take a look at Eclipse, which is a free, open source IDE - http://www.eclipse.org/&lt;br&gt;Reply:No. You can use Notpad for write a program %26amp; just save it with .cpp extention.&lt;br&gt;Reply:No, you can use any type of C++ compiler.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If I were you I would get Dev-C++;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.bloodshed.net/devcpp.html&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2florist-shop.blogspot.com/&gt;florist shop&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2359737342986270163?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2359737342986270163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/do-i-need-c-turbo-to-write-programs-can.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2359737342986270163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2359737342986270163'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/do-i-need-c-turbo-to-write-programs-can.html' title='Do I need C++ turbo to write programs? Can I download this type of program?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8279394955295704720</id><published>2009-07-14T18:51:00.000-07:00</published><updated>2009-07-14T18:51:44.543-07:00</updated><title type='text'>Basic C syntax, assigning a value?</title><content type='html'>I am working with Borland C++ 5.02 compiling a C program to read an INI file with this function prototype:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;extern const double readIniDouble( void *fp, const char *section, const char *name, const double defValue );&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I can read the value with no problem with this code:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   double test;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   test = readIniDouble( iniFile, "ASection", "AName",   2  );&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   cprintf( "%e", test ); // Correctly writes the default value of '2'&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The problem is that I need to get the value into a struct:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   static struct settings tmp_set;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   tmp_set.aSetting = readIniDouble( iniFile, "ASection", "AName",   2  );&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   cprintf( "%e", %26amp;tmp_set.aSetting ); // does not work&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This compiles but prints an unexpected large number. If I use an ampersand or asterisk in front of tmp_set on the left side of the assignment (%26amp;tmp_set.aSetting = ... ) I get a compiler error 'Illegal use of floating point'.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;What is the correct syntax to assign the return value of the iniReadDouble() function directly to the struct member?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Basic C syntax, assigning a value?&lt;br&gt;don't print %26amp;tmp_set.aSetting, just tmp_set.aSetting. With the %26amp;, you're taking the memory address of that variable, not its value.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8279394955295704720?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8279394955295704720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/basic-c-syntax-assigning-value.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8279394955295704720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8279394955295704720'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/basic-c-syntax-assigning-value.html' title='Basic C syntax, assigning a value?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3229221827452478453</id><published>2009-07-12T19:45:00.002-07:00</published><updated>2009-07-12T19:45:32.716-07:00</updated><title type='text'>Turbo C++! How can i make the char statement recognize two characters at the same time?</title><content type='html'>This is for my assignment in our basic programming class. we are required to make a program like those in television. Where the computer displays a list of channels then prompts the user to input a channel (it could be a letter or number). then the name of the channel will be displayed on the screen. i used the data type "char" so that i could work on both letters and numbers. but char only recognizes a single character. how can i make "char" recognize two characters on a single variable? by the way i am using borland C++(TURBO C++ IDE) thanks..&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Turbo C++! How can i make the char statement recognize two characters at the same time?&lt;br&gt;I guess you could use either a character array or a string. If you know you only need two characters then I would go with the character array.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;char channel[2];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;channel[0] = '1';&lt;br&gt;&lt;br /&gt;&lt;br /&gt;channel[1] = '0';&lt;br&gt;&lt;br /&gt;&lt;br /&gt; element 0 is the first character and element 1 is the second.&lt;br&gt;Reply:I too would use a char array.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;char channel[2];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;channel[0] = '1';&lt;br&gt;&lt;br /&gt;&lt;br /&gt;channel[1] = '0';&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br&gt;&lt;br /&gt;&lt;br /&gt;channel[0] = '7';&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The use a string array for the channel names&lt;br&gt;&lt;br /&gt;&lt;br /&gt;string name [10] will hold an array of 10 strings.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;so name[0]='ABC";  etc&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Then use the atoi function to change the char array to a number. (atoi is a function that takes a constant char pointer (char array variable) and converts the entire char array to its integer equivalent)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;So, if the char array is ['1','0'] it would be 10 in int&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Then that 10 can correspond to the 10th index in the string array, which could be whatever, CBS.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Like this&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int x = atoi(channel);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;String tempName = name[x]; //get the string name&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Meaning you have two arrays where there index corresponds to one another.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3229221827452478453?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3229221827452478453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/turbo-c-how-can-i-make-char-statement.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3229221827452478453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3229221827452478453'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/turbo-c-how-can-i-make-char-statement.html' title='Turbo C++! How can i make the char statement recognize two characters at the same time?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6700106318441066072</id><published>2009-07-12T19:45:00.001-07:00</published><updated>2009-07-12T19:45:22.410-07:00</updated><title type='text'>C++ question?</title><content type='html'>in C++ programming using Borland C++...how do i make a button do 2 alternating tasks each time i click on it?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;this are the 2 tasks i want to alternate by clicking the same button...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Shape2-%26gt;Brush-%26gt;Color=clLime;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and this&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Shape1-%26gt;Brush-%26gt;Color=clTeal;&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ question?&lt;br&gt;col here is your link&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.google.co.uk/search?hl=en%26amp;q=m...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6700106318441066072?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6700106318441066072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-question.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6700106318441066072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6700106318441066072'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-question.html' title='C++ question?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6107404754335877365</id><published>2009-07-12T19:45:00.000-07:00</published><updated>2009-07-12T19:45:03.704-07:00</updated><title type='text'>C++ help??</title><content type='html'>I compile a project its got no errors!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;but when running it i get linker errors!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;how to solve it?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i use borland c++ and dev c++!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ help??&lt;br&gt;It is impossible to tell without seeing the error but most likely you have a method or static member defined that you did not provide an implementation for.  This problem can only be caught at the link stage.  Other possible problems are a missing library, the wrong library, or a misdefined remote call.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The compile stage builds the individual pieces.  The link stage glues them all together.  It is not until the link stage that it can notice that something is missing.&lt;br&gt;Reply:just go to file save as another filename then compile &lt;br&gt;&lt;br /&gt;&lt;br /&gt;most of the time this solves the problem&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://sympathy-flowers2.blogspot.com/&gt;sympathy flowers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6107404754335877365?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6107404754335877365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-help.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6107404754335877365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6107404754335877365'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-help.html' title='C++ help??'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8883218196735583006</id><published>2009-07-12T19:44:00.003-07:00</published><updated>2009-07-12T19:44:46.594-07:00</updated><title type='text'>A good C++ compiler?</title><content type='html'>Hi! I'm quite new to programming in c++ (NOT VISUAL C++) . I am currently working on Borland C++ v3.0 (Dos version). I wanted to know if there is a compiler with similar code but is window based i.e. the IDE for it is a window and not the dos screen for it utilises too much of CPU. Please reply and possibly give a download link for a free compiler of this sort. I'll be grateful...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;A good C++ compiler?&lt;br&gt;Hey...This is the compiler that I had to use in school.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Bloodshed &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.bloodshed.net/devcpp.html&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Hope that helps :)&lt;br&gt;Reply:im sorry this isnt an answer but I have no way of reaching you, so Ill do it here, what do you mean by passwording them as I am zipping them not after they are zipped? Care to email me at wangnanininja@yahoo.com in more details? Thank you.&lt;br&gt;Reply:I use bloodshed Dev C++ and its very efficient. Visit the link below to download it for free:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://bloodshed.net/dev/devcpp.html&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;There are about 4 versions of this compiler, I recommend you download version 4.9.9.2 (9.0 MB).&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Take care&lt;br&gt;Reply:I also used Dev C++ and it's simpler than Visual C++. And you don't necessarily have to make a project to include your sources before compiling and building. So if it happens to have just one source you don't have to include it in anything.&lt;br&gt;Reply:GCC is the best for Linux....try to find dev C++ for windows&lt;br&gt;Reply:I’m surprised Google isn’t working for you. Or, don’t tell me, as an aspiring programmer, you haven’t learnt to Google yet.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You’ll see two major recommendations over and over, which are good choices for beginners. The first is Visual C++. On a windows PC this is ideal. You can get a free version. Google for Visual C++ Express.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The second is gcc. They make a C++ compiler. The windows version is under the name MinGW. Bloodshed Dev-C++ and many other IDEs use MinGW.&lt;br&gt;Reply:I Think The Best One For You Is The Borland C++ Builder 6 .... I Think It Works The Same And It's Windows Based But It Isn't Very Strong Compiler I have Worked With It ....... Silly Bugs&lt;br&gt;Reply:gcc is the best,no doubt.Sticks to the standard ANSI C.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8883218196735583006?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8883218196735583006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/good-c-compiler.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8883218196735583006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8883218196735583006'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/good-c-compiler.html' title='A good C++ compiler?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3991890316602066329</id><published>2009-07-12T19:44:00.002-07:00</published><updated>2009-07-12T19:44:34.125-07:00</updated><title type='text'>C++ Simple phone book?</title><content type='html'>a c++ Simple phone book source code THAT write data  on A  file and realy work with borland c++.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;thank you&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ Simple phone book?&lt;br&gt;Try this:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.solomediaworks.com/personal/v...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3991890316602066329?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3991890316602066329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-simple-phone-book.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3991890316602066329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3991890316602066329'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-simple-phone-book.html' title='C++ Simple phone book?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5014564489048945354</id><published>2009-07-12T19:44:00.001-07:00</published><updated>2009-07-12T19:44:14.461-07:00</updated><title type='text'>Can i learn C# before Visual C++ ?</title><content type='html'>i learned everything in the old borland C++ and i'm about to start learning C# from point zero , so is it OK to do so without learning C++ ? ....&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can i learn C# before Visual C++ ?&lt;br&gt;If you do not have little bit knowledge of object oriented programming, you may find it difficult to pick up, anyway best of luck&lt;br&gt;Reply:I heard you can learn C# if you know VB.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5014564489048945354?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5014564489048945354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-i-learn-c-before-visual-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5014564489048945354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5014564489048945354'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-i-learn-c-before-visual-c.html' title='Can i learn C# before Visual C++ ?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2324765906113619923</id><published>2009-07-12T19:44:00.000-07:00</published><updated>2009-07-12T19:44:00.461-07:00</updated><title type='text'>Is it normal for my c++ software to get my processor working at full power?</title><content type='html'>I have the Borland C++, and because of the heat the processor goes over the hedge. When I start the IDE the processor climbs up to 60 Celsius and then the Windows give's me the blue screen. Is it normal for C++ to put this much presure on my cpu? I have a AMD Athlon 3500+/ 2 Gb Ram/ Asus Mb. So the system is not a weak one. The borland software has been used by my highscholl for about 15 years, from my teacher I got it to work at home. Could the problem be that the software is too old?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Is it normal for my c++ software to get my processor working at full power?&lt;br&gt;The IDE is sitting on a 'busy-wait', the application seems to be that old!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://en.wikipedia.org/wiki/Busy-wait&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Run it in Dos-Box, that will regulate the speed.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://dosbox.sourceforge.net&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Or you could use a newer IDE instead.  Your C++ compiler should still work, but it's really old, and your programs will suffer the same fate as the IDE!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This is the best free IDE/GNU G++ based C++ tool chain I can find:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.bloodshed.net/dev/&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;About the compiler:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://en.wikipedia.org/wiki/G%2B%2B&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;(Dev-C++ uses the GNU compilers, it's used to compile most Open Source applications, including some Operating Systems! It will also use the features of your processor, where the old Borland compiler wont - a new Borland compiler will of course.  To find out why the IDE failed, look into the following functions - sleep, and usleep! - have fun!)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Should you want to experiment with C++ outside of windows I recommend:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.ubuntu.com&lt;br&gt;Reply:Borland C++ consuming too much CPU on a 2gig Box, amazing!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I guess the SW is corrupt. Why dont you re-install Borland C++ and try again?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Get the latest Borland C++ SW. If you are using the old one (from your school days), its designed for DOS and 80*88 processors. That should be the problem.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Alternately, you can run the C++ IDE (If it is DOS based) in command window launched by "cmd" command - not "command" command. Try this.&lt;br&gt;Reply:The only thing I can think of is that you're running a console application in DOS. To deal with that use DOSBox or something similar to underclock your machine. Seems odd though!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://1bridal-flowers.blogspot.com/&gt;bridal flowers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2324765906113619923?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2324765906113619923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/is-it-normal-for-my-c-software-to-get.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2324765906113619923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2324765906113619923'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/is-it-normal-for-my-c-software-to-get.html' title='Is it normal for my c++ software to get my processor working at full power?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3200105414262620747</id><published>2009-07-12T19:43:00.002-07:00</published><updated>2009-07-12T19:43:42.926-07:00</updated><title type='text'>For C language programmers that also know Linux...?</title><content type='html'>Does Linux (for instance Fedora Core 5) provide a good IDE for C language programing? One that you personally used and liked. One that you can say it is good.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I already have Fedora Core 5 installed on my PC, but I don't know where to look for a C language IDE in this version of Linux.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I am also a quite bad user of Fedora Core 5 (I mean I don't know how to set up an ethernet card, or an internet connection... the installation does it automatically... or I don't know how to mount my HDD without looking at something I wrote in the past about this... or other stupid things that Linux makes you to learn...)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I need DEBUGGING immediately... I have an old Borland C 3.1, and in WinXP it says it can't start the debugging section of the IDE on 16 bits... It can only edit and compile, but no debugging, unfortunately...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;What to do?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;For C language programmers that also know Linux...?&lt;br&gt;Anjuta is the best IDE available.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It works pretty well.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For debugging you can use gdb also(if you don't mind working on the console)&lt;br&gt;Reply:Linux doesn't support IDE version of C, it has in-built GCC compiler. (Though I've RedHat platform, not Fedora). You can partition your HD to accomodate both Windows and Linux both operating systems in your computer. Then install Turbo C++ IDE in Windows part .&lt;br&gt;Reply:"Does Linux (for instance Fedora Core 5) provide a good IDE for C language programing?"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;There's a few IDEs that run on Linux. http://en.wikipedia.org/wiki/List_of_int... gets you a list of IDEs. KDevelop and Anjuta, and I think Code::Blocks are usable on Linux. It's also not uncommon to see people prefer to use a plain text editor and use commandline/makefiles for compiling and linking.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The compiler on Linux is gcc and g++ (for C and C++). The debugger that goes with gcc is gdb.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3200105414262620747?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3200105414262620747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/for-c-language-programmers-that-also.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3200105414262620747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3200105414262620747'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/for-c-language-programmers-that-also.html' title='For C language programmers that also know Linux...?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6051408802075177388</id><published>2009-07-12T19:43:00.001-07:00</published><updated>2009-07-12T19:43:31.911-07:00</updated><title type='text'>C++ environment for mandriva?</title><content type='html'>i've been stuck on finding the solution of this problem :&lt;br&gt;&lt;br /&gt;&lt;br /&gt;before this, i use borland C++ 5.2 under XP, however now i used linux mandriva 2007.1 one spring. the quiestion is, what is an equivalent software to my previous compilers. I've used Kdevelop but found myself stuck to make a console application. Someone please help me. I also used WINE to run that borland. But the application won't appear when i tried to run it under mandriva.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ environment for mandriva?&lt;br&gt;everything's already there. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;create a file called i.e. test.cpp, then compile it in a console:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;g++ test.cpp -o test&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;now you can start it with&lt;br&gt;&lt;br /&gt;&lt;br /&gt;./test&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if you omit the parameter "-o test", then the created file is called a.out.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6051408802075177388?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6051408802075177388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-environment-for-mandriva.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6051408802075177388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6051408802075177388'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-environment-for-mandriva.html' title='C++ environment for mandriva?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-4348573237208883406</id><published>2009-07-12T19:43:00.000-07:00</published><updated>2009-07-12T19:43:11.826-07:00</updated><title type='text'>What is difference between c++ &amp; embedded c++, do they require different version of C++ for prog. execution?</title><content type='html'>i know a bit of embedded %26amp; assembly language,but still dont know difference between c++ %26amp; embedded c++. i have a progg in c++ for serial communication but now i dont know whether i have to run it on normal (borland) c++ or it require some other version of c++.plz do tell me the source if it require some other version&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What is difference between c++ %26amp; embedded c++, do they require different version of C++ for prog. execution?&lt;br&gt;They are basically the same as far as language goes. The biggest difference is going to be the compiler and operating system. If you have a serial communications module written for an embedded processor, it probable wont work on your desktop/laptop, or the other way around. Mostly because of the operating system used on each.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-4348573237208883406?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/4348573237208883406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-difference-between-c-embedded-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4348573237208883406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4348573237208883406'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-difference-between-c-embedded-c.html' title='What is difference between c++ &amp;amp; embedded c++, do they require different version of C++ for prog. execution?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-247020722791039278</id><published>2009-07-12T19:42:00.003-07:00</published><updated>2009-07-12T19:42:55.325-07:00</updated><title type='text'>C++ programming, Error E2194; could not find file hello.cpp?</title><content type='html'>I am trying to run a simple program and I've installed Borland C++ compiler for free on my computer.  The code is supposed to simply write Hello World, on the screen in the command prompt box.  The book I have tells me to type in bcc32 hello.cpp into the command prompt box to run the program, but I get the error message.  It recognizes the bcc32 command, but then runs the E2194 message.  I had to change the path in environment variables first since the bcc32 was not recognized at first, but after changing the path, this works.  I have also created the two necessary text files bcc32.cfg and ilink32.cfg.  The path is c:\Borland\Bcc55\Bin.  I have the hello.cpp program in what I think is the right spot, but it seems to not be able to find it.  Can anyone help me.  I need to know how to tell the computer or program where to "look" for this file.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ programming, Error E2194; could not find file hello.cpp?&lt;br&gt;Borland is outdated!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Get a better compiler, like Dev-C++ (it's free, see sources).&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Once you've installed it, click File (toolbar) %26gt; New %26gt; Project...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;From there it'll give you a few program types.. (you can click the 'Introduction' tab for the Hello World example).&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Have fun,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Dys.&lt;br&gt;Reply:dys is right you know dev-c++ rocks&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://wedding-reception-flowers.blogspot.com/&gt;wedding reception flowers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-247020722791039278?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/247020722791039278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-programming-error-e2194-could-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/247020722791039278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/247020722791039278'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-programming-error-e2194-could-not.html' title='C++ programming, Error E2194; could not find file hello.cpp?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7610812466110038634</id><published>2009-07-12T19:42:00.002-07:00</published><updated>2009-07-12T19:42:39.888-07:00</updated><title type='text'>C++, can't see a file, very simple question?</title><content type='html'>I am trying to run a simple program and I've installed Borland C++ compiler for free on my computer. The code is supposed to simply write Hello World, on the screen in the command prompt box. The book I have tells me to type in bcc32 hello.cpp into the command prompt box to run the program, but I get the error message. It recognizes the bcc32 command, but then runs the E2194 message. I had to change the path in environment variables first since the bcc32 was not recognized at first, but after changing the path, this works. I have also created the two necessary text files bcc32.cfg and ilink32.cfg. The path is c:\Borland\Bcc55\Bin. I have the hello.cpp program in what I think is the right spot, but it seems to not be able to find it. Can anyone help me. I need to know how to tell the computer or program where to "look" for this file.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++, can't see a file, very simple question?&lt;br&gt;If configured correctly, it should be looking for the hello.cpp file in the current directory.  If not, try fully qualifying the program, that is:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;bcc32 c:\blahblahblah\hello.cpp&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If that works, then you've got a configuration issue.  Something should be set to check the current path first.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7610812466110038634?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7610812466110038634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-cant-see-file-very-simple-question.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7610812466110038634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7610812466110038634'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-cant-see-file-very-simple-question.html' title='C++, can&apos;t see a file, very simple question?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3127917446671899733</id><published>2009-07-12T19:42:00.001-07:00</published><updated>2009-07-12T19:42:26.990-07:00</updated><title type='text'>Fellow C++ programmers out there.... pls help..?</title><content type='html'>What are some few syntax that are found in Visual C++ 6 that is not found in Turbo Borland C++ 4.5? I am using the old compiler which is Turbo C++ 4.5 and I am used to it. Our company's senior programmer told me that it is cooler to use visual C++ than C++ 4.5? Where to download Visual C++ for free??? Thank you so much in advance...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For those who answered my question about connecting C++ to MySQL, I already found a good site: http://www.cpp-home.com/tutorial.php?22_... Thank you very much also for responding..&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Fellow C++ programmers out there.... pls help..?&lt;br&gt;if you want to be really cool, you have to use gcc :-p&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;well, turbo C and visual C 6 are both old, and don't implement all facets and details of the C++ standard (which is very big and complex). Also, the standard libraries are a bit different. And therefore the code is not always 100% compatible to the standard, and therefore you have those problems.&lt;br&gt;Reply:After a lot of research, I obtained free copies of Visual C++ from Microsoft. There was a 64 bit version  (that I wanted) in Microsoft Platform SDK for Windows Server 2003 SP1 with 32 bit versions in Microsoft DDK for Windows and Visual C++ Toolkit 2003. These are command line driven and I used my old Watcom software to create/edit source code. See:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://freespace.virgin.net/roy.longbott...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It seems that things have now changed somewhat but you might still be able to get free copies.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3127917446671899733?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3127917446671899733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/fellow-c-programmers-out-there-pls-help.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3127917446671899733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3127917446671899733'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/fellow-c-programmers-out-there-pls-help.html' title='Fellow C++ programmers out there.... pls help..?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-54602182696083645</id><published>2009-07-12T19:42:00.000-07:00</published><updated>2009-07-12T19:42:09.608-07:00</updated><title type='text'>How do I simplify the way I compile an ASM code with tasm.exe from Borland?</title><content type='html'>In my college we use the tasm.exe from Borland C++ for Dos v3.1 to compile programs written in ASM language. We compile using the Command Prompt and the command tasm. The problem is that the file must be located where the tasm.exe is, which is inconvinient, how can I change that so I can write that command in any folder I am. Thanks!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How do I simplify the way I compile an ASM code with tasm.exe from Borland?&lt;br&gt;From the DOS prompt type path&lt;br&gt;&lt;br /&gt;&lt;br /&gt;C:\%26gt; path&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;that will display your path&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Now type path=old;new&lt;br&gt;&lt;br /&gt;&lt;br /&gt; old is the path that was displayed above, and new is the path to where tasm.exe is located.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Now included in the standard path is the path to where tasm.exe is located.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Borland also has a great make.exe utility that helps when compiling and linking several files.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I assume that you are familular with DOS batch files.  Create a couple of those to make live easier.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Instead of modifying your path you can also type&lt;br&gt;&lt;br /&gt;&lt;br /&gt;C:\%26gt;\TasmPath\tasm filename&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   where TasmPath is the path to tasm.exe   (This may not work if tasm.exe looks at the path to find other .exe programs.)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Aslo, tasm.exe may be looking for enviromnet variables such as LIB and INC, which is where it finds it's libraries and include files.&lt;br&gt;Reply:In the DOS environment, you need to set the PATH variable to have a path to the tasm.exe. That way when you execute it anywhere, DOS will be able to find it.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-54602182696083645?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/54602182696083645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-do-i-simplify-way-i-compile-asm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/54602182696083645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/54602182696083645'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-do-i-simplify-way-i-compile-asm.html' title='How do I simplify the way I compile an ASM code with tasm.exe from Borland?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-822092803398651248</id><published>2009-07-12T19:41:00.003-07:00</published><updated>2009-07-12T19:41:53.461-07:00</updated><title type='text'>What C/C++ Compiler should I use?</title><content type='html'>C/C++ have many compiler, for example, Dev C++, wxDevCpp,Borland C++ Builder, GCC etc. So  who can tell me Which C++ compiler should I use?  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;      By the way I try to search about GCC  by Google,and I download it, but I don't know how to install,if you suggest me to use GCC please tell me how to install and use it , I want to know about GCC,because Linux Sourse is design by GCC, so I want to know about it(GCC), Thanks a lot!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What C/C++ Compiler should I use?&lt;br&gt;The one i use and find myself very comfortable with is Dev C++.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Here is the site from which you can download it:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.bloodshed.net/dev/&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For further help in programming you can email me at maqsood_rahman@hotmail.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Wish you all the best!&lt;br&gt;Reply:gcc - supports the most architechtures, has the most libraries, very advanced, most popular in open source community.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;visual c compiler - fast code, not as flexible as gcc.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;most popular in closed source community.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;digital mars - very fast code very little support.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;bcc - deprected, was good.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;gcc is #1.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;only use Microsofts vc++ compiler if you have reason to do so.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;also note that things like devc++ and codeblocks use GCC as there compilers and are correctly described as IDE's.&lt;br&gt;Reply:I really like Dev-C++.&lt;br&gt;Reply:ok i know im late (sigh) DEV-C++&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://1flowers-gifts.blogspot.com/&gt;flowers gifts&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-822092803398651248?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/822092803398651248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-cc-compiler-should-i-use.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/822092803398651248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/822092803398651248'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-cc-compiler-should-i-use.html' title='What C/C++ Compiler should I use?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2341358347547810525</id><published>2009-07-12T19:41:00.002-07:00</published><updated>2009-07-12T19:41:35.108-07:00</updated><title type='text'>Visual Studio 2005 Vs Borland Studio which one is for C++ ?</title><content type='html'>Hi,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I want to write a program that uses standard C++, which one is better ?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Visual Studio 2005 Vs Borland Studio which one is for C++ ?&lt;br&gt;They both can be used for C++. I know that Visual C++ 2005 has very good standards compliance. I would imagine Borland is also decent. You can use either.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Although, you probably would want Visual Studio 2005 if you can have choice. At least for the debugger.&lt;br&gt;Reply:Er, when you say 'Standard C++', do you mean that you want to build console programs with the standard C++ libraries that use functions like cin() and cout()?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I've downloaded %26amp; tried the free versions of Microsoft's %26amp; Borland's C++ compilers, but I haven't tried their full compiler packages.  The Borland IDE is more annoying to set up if you want to compile a program without using their stupid Windows VCL framework.  Microsoft's IDE is easier to set up if you want to create a console program or create a program with the Windows API functions.  Both compilers support the console %26amp; standard C++ library though.&lt;br&gt;Reply:Ive only used VS 2005 and it works great for C++ (even though im a crappy programmer :))&lt;br&gt;Reply:I've used both. I would suggest you play with both of them. Then decide which one works best for you.&lt;br&gt;Reply:There the same basically they all have the C++ commands.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;borland version i do not like but alot of people enjoy it&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I'd stick with VS2005 .Net&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2341358347547810525?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2341358347547810525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/visual-studio-2005-vs-borland-studio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2341358347547810525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2341358347547810525'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/visual-studio-2005-vs-borland-studio.html' title='Visual Studio 2005 Vs Borland Studio which one is for C++ ?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-200055422386887364</id><published>2009-07-12T19:41:00.001-07:00</published><updated>2009-07-12T19:41:21.405-07:00</updated><title type='text'>Any one give me a link for a good free C++ compiler except Borland BCC 5.5?</title><content type='html'>I'm guessing that you mean the Wintel platform? &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/vstudio/expres...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If that doesn'tw ork out, your only other choice is this one:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.bloodshed.net/devcpp.html&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Any one give me a link for a good free C++ compiler except Borland BCC 5.5?&lt;br&gt;try to get it from microsoft's page&lt;br&gt;Reply:Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as it's compiler. Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Dev-C++ is a GUI compiler, so things bcom esy using it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Download: http://www.bloodshed.net/dev/devcpp.html&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2daylily.blogspot.com/&gt;daylily&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-200055422386887364?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/200055422386887364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/any-one-give-me-link-for-good-free-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/200055422386887364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/200055422386887364'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/any-one-give-me-link-for-good-free-c.html' title='Any one give me a link for a good free C++ compiler except Borland BCC 5.5?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5693142676542858226</id><published>2009-07-12T19:41:00.000-07:00</published><updated>2009-07-12T19:41:02.783-07:00</updated><title type='text'>From where can i download borland's turbo c++ ?</title><content type='html'>So you want an illegal copy huh? Well use torrents like everyone else does!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;From where can i download borland's turbo c++ ?&lt;br&gt;try&lt;br&gt;&lt;br /&gt;&lt;br /&gt;mininova.org&lt;br&gt;Reply:no need to download yaar its too borring language &lt;br&gt;&lt;br /&gt;&lt;br /&gt;but if u are realy in need jus concern to ur hardwar cosultant he brought a CD for u&lt;br&gt;Reply:http://dn.codegear.com/article/images/20... &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;go to that address and download will begin&lt;br&gt;Reply:Borland's T C++ is a paid product.You should purchase it.You can use torrents or something but borland's compilers are not worth breaking the law.Scott has given you the link to old 1988 borland compiler.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Use the open source free compiler called Dev C++.Here's the download link:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://sourceforge.net/project/downloadi...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you want to have something more professional use Microsoft Visual Express 2008:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.microsoft.com/express/downloa...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5693142676542858226?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5693142676542858226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/from-where-can-i-download-borlands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5693142676542858226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5693142676542858226'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/from-where-can-i-download-borlands.html' title='From where can i download borland&apos;s turbo c++ ?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7371383260024514706</id><published>2009-07-12T19:40:00.003-07:00</published><updated>2009-07-12T19:40:52.221-07:00</updated><title type='text'>Which all compilers support templates in c++ i mean turbo c++\borland etc?</title><content type='html'>Templates are supported by many compilers; Almost all news C++ compilers support templates but in a different way, depends on implementation.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;wide used compiler who support templates are g++(run on Linux, Windows, and many others operating systems) and cl (Microsoft compiler - Windows only)&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7371383260024514706?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7371383260024514706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/which-all-compilers-support-templates.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7371383260024514706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7371383260024514706'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/which-all-compilers-support-templates.html' title='Which all compilers support templates in c++ i mean turbo c++\borland etc?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-634033634984666889</id><published>2009-07-12T19:40:00.002-07:00</published><updated>2009-07-12T19:40:37.379-07:00</updated><title type='text'>How can i use third party library (.lib) file in a DOS C++ program using Borland Turbo C++ 3.1?</title><content type='html'>There are three things to do and a couple of points to check.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;1). If the library is distributed in header and object code or as a premade .lib file, you'll need to simply include the header file in your project in appropriate places, add the object to a .lib file using tlib if needed, and add the library file in by the correct switch at link time.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;2). Some .lib files will have a different format that isn't compatible with Borland products.  These may be useful if source is included for the entire library.  Otherwise, contact the vendor to get a compatible version or the source code to be compiled under your setup.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;3). Some libraries are distributed as open source and must be compiled for use.  Simply compile to object and then use tlib from Borland to create a new library file(.lib).  Remember to include the correct header file(s) in any case.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The only other problems could arise from directory conflicts.  Some libraries will need to be manually linked in with switches to use that particular file.  Sometimes the header should be included using the double quotes and a filespec rather than by placing the new header in the include directory.  Watch for naming conflicts, especially if using a C library since they weren't written using the new namespace standards.  I hope this gets you going.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-634033634984666889?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/634033634984666889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-can-i-use-third-party-library-lib.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/634033634984666889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/634033634984666889'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-can-i-use-third-party-library-lib.html' title='How can i use third party library (.lib) file in a DOS C++ program using Borland Turbo C++ 3.1?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7037907881424660194</id><published>2009-07-12T19:40:00.001-07:00</published><updated>2009-07-12T19:40:15.676-07:00</updated><title type='text'>How do I compile a code with Borland's c++? I tried bcc but that does not work. Anyone have any ideas?</title><content type='html'>bcc32 works for me.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Check this tutorial:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://csjava.occ.cccd.edu/~gilberts/bcc...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://flamingo-plant.blogspot.com/&gt;flamingo plant&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7037907881424660194?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7037907881424660194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-do-i-compile-code-with-borlands-c-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7037907881424660194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7037907881424660194'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-do-i-compile-code-with-borlands-c-i.html' title='How do I compile a code with Borland&apos;s c++? I tried bcc but that does not work. Anyone have any ideas?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-1657687155850915607</id><published>2009-07-12T19:40:00.000-07:00</published><updated>2009-07-12T19:40:03.614-07:00</updated><title type='text'>I would like to download borland turbo c++ 3.0.from which site should i download it?</title><content type='html'>you can find it here&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-1657687155850915607?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/1657687155850915607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-would-like-to-download-borland-turbo_12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1657687155850915607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1657687155850915607'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-would-like-to-download-borland-turbo_12.html' title='I would like to download borland turbo c++ 3.0.from which site should i download it?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5332984554553911031</id><published>2009-07-12T19:39:00.001-07:00</published><updated>2009-07-12T19:39:46.575-07:00</updated><title type='text'>I would like to download borland turbo c++ 3.0.from which site should i download it?</title><content type='html'>you can find it here&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5332984554553911031?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5332984554553911031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-would-like-to-download-borland-turbo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5332984554553911031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5332984554553911031'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-would-like-to-download-borland-turbo.html' title='I would like to download borland turbo c++ 3.0.from which site should i download it?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-4393798854522673715</id><published>2009-07-12T19:39:00.000-07:00</published><updated>2009-07-12T19:39:19.459-07:00</updated><title type='text'>Does AMD processor support borland turbo c++ software?</title><content type='html'>if yes then tell me from where n which version i can download. IF NO then wt should i do for that&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Does AMD processor support borland turbo c++ software?&lt;br&gt;an AMD processor should run any program that will run on an intel processor since they both have an x86 arcitechture. The idea that some programs will run on intel chips but not AMD chips is a myth.&lt;br&gt;Reply:Don’t worry AMD processor do the same as Intel processors, and they can definitely handle a Borland C any version.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-4393798854522673715?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/4393798854522673715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/does-amd-processor-support-borland.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4393798854522673715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4393798854522673715'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/does-amd-processor-support-borland.html' title='Does AMD processor support borland turbo c++ software?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7175993988143263519</id><published>2009-07-12T19:38:00.003-07:00</published><updated>2009-07-12T19:38:54.936-07:00</updated><title type='text'>How Do I Install Borland Turbo C compiler In Windows Vista?</title><content type='html'>who cares ?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://umbrella-plant.blogspot.com/&gt;umbrella plant&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7175993988143263519?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7175993988143263519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-do-i-install-borland-turbo-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7175993988143263519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7175993988143263519'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-do-i-install-borland-turbo-c.html' title='How Do I Install Borland Turbo C compiler In Windows Vista?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5700990381697511186</id><published>2009-07-12T19:38:00.002-07:00</published><updated>2009-07-12T19:38:38.604-07:00</updated><title type='text'>Where to download borland turbo c programming?</title><content type='html'>i want study it............pls help me...............&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Where to download borland turbo c programming?&lt;br&gt;try to find it here !&lt;br&gt;&lt;br /&gt;&lt;br /&gt;www.download.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;it has all of the programs to download...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5700990381697511186?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5700990381697511186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/where-to-download-borland-turbo-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5700990381697511186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5700990381697511186'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/where-to-download-borland-turbo-c.html' title='Where to download borland turbo c programming?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-3378133285538050313</id><published>2009-07-12T19:38:00.001-07:00</published><updated>2009-07-12T19:38:30.615-07:00</updated><title type='text'>I have borland codegear c++ 2007. how to run simple c++ routines and view outputs?</title><content type='html'>Um..why not just compile them? The Borland C++ compiler comes with a guide.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You just need to pass your C++ source file to the compiler as a command line argument.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;In the run box type&lt;br&gt;&lt;br /&gt;&lt;br /&gt;compiler.exe -source.cpp&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Change compiler.exe to whatever the name of the compiler executable is...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-3378133285538050313?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/3378133285538050313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-have-borland-codegear-c-2007-how-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3378133285538050313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/3378133285538050313'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-have-borland-codegear-c-2007-how-to.html' title='I have borland codegear c++ 2007. how to run simple c++ routines and view outputs?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8866308873016258227</id><published>2009-07-12T19:38:00.000-07:00</published><updated>2009-07-12T19:38:10.900-07:00</updated><title type='text'>Can a  borland 's C compiler compile a c++ program?</title><content type='html'>Yes it can compile&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can a  borland 's C compiler compile a c++ program?&lt;br&gt;What happen to the compiler on which you wrote c++?. You can congratulate yourself for doing this but don't say this in an interview. The employer will be worried about his projects and contracts.&lt;br&gt;Reply:Sure, a C compiler can compile a C++ program as well.&lt;br&gt;Reply:.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Certainly NOT&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;C++ is a upgraded version of C language with some additional features and partly OOPS concept.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;How could you expect a lower version software to support its higher version?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The higher version softwares could support any of the lower version, but vice versa is not applicable.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For eg. create a document in MSOffice 2000 and try to open it in the old MSOffice. It may open but could not support all the actual properties. But the vice versa is possible, i.e., the higher version can open the lower version file with all the properties being supported.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;**********&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Vasu M&lt;br&gt;&lt;br /&gt;&lt;br /&gt;*********&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8866308873016258227?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8866308873016258227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-borland-s-c-compiler-compile-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8866308873016258227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8866308873016258227'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-borland-s-c-compiler-compile-c.html' title='Can a  borland &apos;s C compiler compile a c++ program?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-1871371660038160814</id><published>2009-07-12T19:37:00.003-07:00</published><updated>2009-07-12T19:37:54.564-07:00</updated><title type='text'>Borland turbo c 5.5?</title><content type='html'>Indeed.. that did exist.. what is the question?  If you update the details I can be more specific with my answer.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2deliver-flowers.blogspot.com/&gt;deliver flowers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-1871371660038160814?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/1871371660038160814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/borland-turbo-c-55.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1871371660038160814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1871371660038160814'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/borland-turbo-c-55.html' title='Borland turbo c 5.5?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8716745688987787325</id><published>2009-07-12T19:37:00.002-07:00</published><updated>2009-07-12T19:37:35.139-07:00</updated><title type='text'>May I know how to convert (binary)10010 to 37 (decimal) in c++ borland?</title><content type='html'>C++ Neural Networks %26amp; Fuzzy Logic - Valluru b Raoborland c neural network pattern, Google, Page 1 ... determine availability of a parking lot code matlab binary images, Google, Page 2 ...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;www.scribd.com/doc/81314/C-Neural-Netw... - 250k&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8716745688987787325?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8716745688987787325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/may-i-know-how-to-convert-binary10010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8716745688987787325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8716745688987787325'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/may-i-know-how-to-convert-binary10010.html' title='May I know how to convert (binary)10010 to 37 (decimal) in c++ borland?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-979292243615013422</id><published>2009-07-12T19:37:00.001-07:00</published><updated>2009-07-12T19:37:21.982-07:00</updated><title type='text'>How would you write a program in C++ Borland that finds the greatest common divisor?</title><content type='html'>I am stuck and don't know what else to do. Please help if you can.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I want to use the absolute values of two numbers and find the gcd of the two by dividing one by the other til the gcd is found.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;vcl.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;conio%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;iostream%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;cmath%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int a;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int b;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;double gcd;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int abso1;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int abso2;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;       cout %26lt;%26lt; "Please enter the first number now." %26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;       cin %26gt;%26gt; a;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        cout %26lt;%26lt; "Please enter the second number now." %26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        cin %26gt;%26gt; b;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                abso1 = abs( a );&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                abso2 = abs( b );&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                while (abso2 != 0);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                        gcd = abso1 % abso2;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                        abso1 = abso2;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                        abso2 = gcd;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                cout %26lt;%26lt; "The greatest common divisor is " %26lt;%26lt; abso1 %26lt;%26lt; "."%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;getch();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It runs but stops where the output is supposed to come on the screen!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any help will be greatly appreciated! And I WILL choose a best answer!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How would you write a program in C++ Borland that finds the greatest common divisor?&lt;br&gt;Force the gcd to be an int, right now it is a double and could be a fraction, never exiting the while statement.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You could try this too&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int a&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int b&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int gcd&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int limit&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if(b%26gt;=a)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;limit = a&lt;br&gt;&lt;br /&gt;&lt;br /&gt;else&lt;br&gt;&lt;br /&gt;&lt;br /&gt;limit = b&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for(int index=1; index%26lt;=limit; index++)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if(a%index==0 %26amp;%26amp; b%index==0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;gcd = index;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;Reply:have you run this in your debugger?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for consistency, you can try std::cin.get() instead of getch();&lt;br&gt;Reply:int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout %26lt;%26lt; "Please enter the first number now." %26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cin %26gt;%26gt; a;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout %26lt;%26lt; "Please enter the second number now." %26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cin %26gt;%26gt; b;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;a = abs( a );&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;b = abs( b );&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int gcd = 1;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int limit;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if(b%26gt;=a)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;limit = a;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;else&lt;br&gt;&lt;br /&gt;&lt;br /&gt;limit = b;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for(int index=limit; index %26gt;= 2; index--)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if(a%index==0 %26amp;%26amp; b%index==0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;gcd = index;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;break;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout %26lt;%26lt; "The greatest common divisor is " %26lt;%26lt; gcd %26lt;%26lt; "."%26lt;%26lt;endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-979292243615013422?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/979292243615013422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-would-you-write-program-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/979292243615013422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/979292243615013422'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-would-you-write-program-in-c.html' title='How would you write a program in C++ Borland that finds the greatest common divisor?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6535156797466237135</id><published>2009-07-12T19:37:00.000-07:00</published><updated>2009-07-12T19:37:07.969-07:00</updated><title type='text'>Is there any one who have Turbo C++(Borland) software?</title><content type='html'>i have tried to donload the software but i can't find it&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Is there any one who have Turbo C++(Borland) software?&lt;br&gt;Go to this (official) web page to download Tubo c++&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.borland.com/downloads/downloa...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6535156797466237135?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6535156797466237135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/is-there-any-one-who-have-turbo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6535156797466237135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6535156797466237135'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/is-there-any-one-who-have-turbo.html' title='Is there any one who have Turbo C++(Borland) software?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6606362493437346237</id><published>2009-07-12T19:36:00.002-07:00</published><updated>2009-07-12T19:36:47.673-07:00</updated><title type='text'>C++ borland 6 help plzzzzzzzzzzzzz?</title><content type='html'>How do i get my Project i made to work on other pcs?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ borland 6 help plzzzzzzzzzzzzz?&lt;br&gt;It depends on your make file, your library and your includes. I'd say don't make it work on other pcs. Don't do it if you have other plw.&lt;br&gt;Reply:http://www.associatedcontent.com/article...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://floral-bouquets.blogspot.com/&gt;floral bouquets&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6606362493437346237?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6606362493437346237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-borland-6-help-plzzzzzzzzzzzzz.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6606362493437346237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6606362493437346237'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/c-borland-6-help-plzzzzzzzzzzzzz.html' title='C++ borland 6 help plzzzzzzzzzzzzz?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-1037604612371224559</id><published>2009-07-12T19:36:00.001-07:00</published><updated>2009-07-12T19:36:33.931-07:00</updated><title type='text'>I need help in c++?I'm using Borland turbo c++ v1.01?</title><content type='html'>I've no experience in programming, It just happen happen that we had a computer class and we are using C++.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This program below is a sample program I  found in the Internet. When I enter this program it says "unable to open include file STDIO.H". Is there something wrong with this program? Help me please&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; #include %26lt;stdio.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main () {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int i,n,sum;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;scanf("%d",%26amp;n);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sum=0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i=1;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;while (i%26lt;=n) {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  sum = sum + i;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  i++;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf("%d",sum);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I need help in c++?I'm using Borland turbo c++ v1.01?&lt;br&gt;Check your installation, is the stdio.h file found anywhere?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Isn't Turbo C++ a very very very software?&lt;br&gt;Reply:classpath is not set properly, it couldn't locate the file.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-1037604612371224559?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/1037604612371224559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-need-help-in-cim-using-borland-turbo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1037604612371224559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1037604612371224559'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-need-help-in-cim-using-borland-turbo.html' title='I need help in c++?I&apos;m using Borland turbo c++ v1.01?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2050129015339051284</id><published>2009-07-12T19:36:00.000-07:00</published><updated>2009-07-12T19:36:16.536-07:00</updated><title type='text'>How to instal borland turbo c++ on my computer?</title><content type='html'>i all&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i want to install borlan turbo c++ ver 3.0 but i cant do it.....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;can any one help me to install in on my computer.....?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to instal borland turbo c++ on my computer?&lt;br&gt;follow the link&lt;br&gt;&lt;br /&gt;&lt;br /&gt;download it&lt;br&gt;Reply:Wow, even mine is 4.5, and it's ancient...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It's simple, usually there's a SETUP.EXE in the disk somewhere (sometimes you'll just have to find it yourself, keep typing "S" at a windows browser to go though all files beginning with S). Answer a few questions, and, well, Turbo C++ 3.0.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Check the supported OSs. It was probably created before the advent of many of the newer windows (or maybe it could be before any windows). If it has at least one Windows OS entry, you should be fine.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2050129015339051284?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2050129015339051284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-to-instal-borland-turbo-c-on-my.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2050129015339051284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2050129015339051284'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-to-instal-borland-turbo-c-on-my.html' title='How to instal borland turbo c++ on my computer?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2313038954405494566</id><published>2009-07-12T19:35:00.002-07:00</published><updated>2009-07-12T19:35:59.706-07:00</updated><title type='text'>Can anyone code this input five heights and output the largest you must use a loop and use borland C++ borland</title><content type='html'>i will appreciate if u do it&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can anyone code this input five heights and output the largest you must use a loop and use borland C++ borland&lt;br&gt;#include iostream&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;float max=0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"Enter 5 heights:";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;float arr[5];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for(int i=1;1%26lt;6;i++)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cin%26gt;%26gt;arr[i];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if(arr[i]%26gt;max)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  max=arr[i];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cout%26lt;%26lt;"The largest height is "%26lt;%26lt;max;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;Reply:Marshall's code would work, but there was an error on one of the lines. The correct code is:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for(int i=1;i%26lt;6;i++)&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2313038954405494566?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2313038954405494566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-anyone-code-this-input-five-heights.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2313038954405494566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2313038954405494566'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-anyone-code-this-input-five-heights.html' title='Can anyone code this input five heights and output the largest you must use a loop and use borland C++ borland'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2290899428541261358</id><published>2009-07-12T19:35:00.001-07:00</published><updated>2009-07-12T19:35:31.466-07:00</updated><title type='text'>Please any body...calling the attention of wiz,experts,professionals,mast... in using Borland C++?</title><content type='html'>guyz i need some input for this ff. output: 1.)write a program that will ask to enter a number N %26amp; displays all the number from 1 to N on a single line(horizontal or vertical). 2.)write a program that will ask the user to enter a number N and displays the sum of all number from 1 to N. 3.)write a program that asks the user to enter a number N and displays the first N even numbers.(ex. if N=5,the 1st 5 even #s are 2,4,6,8,10(must also have commas)). 4.)(related to #3)N odd #s.(ex. if N=5,the 1st 5 odd #s are 1,3,5,7,9(must still have commas)). 5.)write a program that will compute for N(N factorial)which is the product of all numbers from 1-M. 6.)write a program that will compute for and display the sum of all numbers divisible by 3 from 1-1000. 7.)write a program that will ask the user to enter a number and display all the factor of the number.(in vertical order) 8.)write a program that will accept a number N and display the sum of all even #s and the sum of all odd #s from 1-N.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Please any body...calling the attention of wiz,experts,professionals,mast... in using Borland C++?&lt;br&gt;so u want someone to sit and do your entire homework assignment?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;good luck finding an idiot who knows the answers. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sheesh!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://dried-flowers2.blogspot.com/&gt;dried flowers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2290899428541261358?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2290899428541261358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/please-any-bodycalling-attention-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2290899428541261358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2290899428541261358'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/please-any-bodycalling-attention-of.html' title='Please any body...calling the attention of wiz,experts,professionals,mast... in using Borland C++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2770140714837932356</id><published>2009-07-12T19:35:00.000-07:00</published><updated>2009-07-12T19:35:03.557-07:00</updated><title type='text'>How to overcome the error-"bad object file record in an module" in borland c++?</title><content type='html'>pls let me knw as soon as possible&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to overcome the error-"bad object file record in an module" in borland c++?&lt;br&gt;This error message definitely occured during linking. Delete the .obj and other intermediate files produced, if any. Then, recompile your sources.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2770140714837932356?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2770140714837932356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-to-overcome-error-bad-object-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2770140714837932356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2770140714837932356'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-to-overcome-error-bad-object-file.html' title='How to overcome the error-&quot;bad object file record in an module&quot; in borland c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7490639966407931599</id><published>2009-07-12T19:34:00.002-07:00</published><updated>2009-07-12T19:34:40.925-07:00</updated><title type='text'>Can u please help me yo find the sudoku code by using borland c++?</title><content type='html'>Are you trying to write a sudoku puzzle solver in c++?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If so, don't bother unless you want to do it as an exercise - there's loads out there already!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7490639966407931599?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7490639966407931599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-u-please-help-me-yo-find-sudoku.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7490639966407931599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7490639966407931599'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-u-please-help-me-yo-find-sudoku.html' title='Can u please help me yo find the sudoku code by using borland c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-397429163408313671</id><published>2009-07-12T19:34:00.001-07:00</published><updated>2009-07-12T19:34:28.548-07:00</updated><title type='text'>Where can I find the documentation for the class "TForm" from Borland C++ Builder 6.0?</title><content type='html'>I think this should help: http://www.functionx.com/bcb/controls/fo...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-397429163408313671?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/397429163408313671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/where-can-i-find-documentation-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/397429163408313671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/397429163408313671'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/where-can-i-find-documentation-for.html' title='Where can I find the documentation for the class &quot;TForm&quot; from Borland C++ Builder 6.0?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-7691008246014936824</id><published>2009-07-12T19:34:00.000-07:00</published><updated>2009-07-12T19:34:15.017-07:00</updated><title type='text'>I want to know how i can delete a file in C++(BORLAND C++\3)?</title><content type='html'>realy i can make files with (fopen) but i dont know how remove this file from its detination .&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I want to know how i can delete a file in C++(BORLAND C++\3)?&lt;br&gt;See if the following function does what you are after...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int remove(const char *path);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;- path being the file/path of the file you want to delete.&lt;br&gt;Reply:"Destination". As far as I know there is no such thing to delete a file. You can only overwrite.&lt;br&gt;Reply:On Linux and Unix systems you would need to use the system call "unlink". (Refer man page for details). If you are using Windows check MSDN to find out which system call deletes a file. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;These cannot be done from the APIs in stdio.h. These are only for manipulating files for opening, reading and writing only.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2gift-baskets.blogspot.com/&gt;gift baskets&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-7691008246014936824?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/7691008246014936824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-want-to-know-how-i-can-delete-file-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7691008246014936824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/7691008246014936824'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/i-want-to-know-how-i-can-delete-file-in.html' title='I want to know how i can delete a file in C++(BORLAND C++\3)?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-4777783566507978596</id><published>2009-07-12T19:33:00.003-07:00</published><updated>2009-07-12T19:33:56.565-07:00</updated><title type='text'>How can i do a list Doubly linked using Borland C++?</title><content type='html'>Is this information that I am a student of systems, but fails to write the program with the information you gave me my teacher, but I would like to know is, furthermore, not only doubly linked if possible also to be circulate.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can i do a list Doubly linked using Borland C++?&lt;br&gt;If you study what a doubly-linked list is (and know C), the answer is apparent.  The description is almost the program.  An item consists of a pointer (aha!) to the previous item, the item's data and a pointer (another one) to the next item.  The first item's previous pointer points to null, as does the last item's next pointer.  The data is whatever the data is - an integer, a structure of different data elements, even another list.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Moving elements around the list is as simple as changing their previous and next pointers (and the previous and next pointers of 4 other elements).&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-4777783566507978596?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/4777783566507978596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-can-i-do-list-doubly-linked-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4777783566507978596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4777783566507978596'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-can-i-do-list-doubly-linked-using.html' title='How can i do a list Doubly linked using Borland C++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-1217670202505322697</id><published>2009-07-12T19:33:00.002-07:00</published><updated>2009-07-12T19:33:37.071-07:00</updated><title type='text'>Could any1 tell me where I can download Turbo/Borland C++. Need it badly, and no trial versions..?</title><content type='html'>Here you can download Borland C++ Builder for free:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.borland.pl/downloads/bcb6_per...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-1217670202505322697?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/1217670202505322697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/could-any1-tell-me-where-i-can-download.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1217670202505322697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/1217670202505322697'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/could-any1-tell-me-where-i-can-download.html' title='Could any1 tell me where I can download Turbo/Borland C++. Need it badly, and no trial versions..?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5181526082408711676</id><published>2009-07-12T19:33:00.001-07:00</published><updated>2009-07-12T19:33:24.706-07:00</updated><title type='text'>Can someone please give me a copy of borland c++ 3.1 compiler?</title><content type='html'>i badly nedd it..&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can someone please give me a copy of borland c++ 3.1 compiler?&lt;br&gt;Do you know Borland is releasing for free the Turbos, including the newest C++? http://www.turboexplorer.com, I'm not sure if this will help you but there it is anyways&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5181526082408711676?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5181526082408711676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-someone-please-give-me-copy-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5181526082408711676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5181526082408711676'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/can-someone-please-give-me-copy-of.html' title='Can someone please give me a copy of borland c++ 3.1 compiler?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-5090188520707470114</id><published>2009-07-12T19:33:00.000-07:00</published><updated>2009-07-12T19:33:07.397-07:00</updated><title type='text'>Heya, I wanna learn how to setup borland c++?</title><content type='html'>Fine,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I've unzipped the dos package.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Now, do i have to make any new batch files/folders&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Or do i simply go for a different package??&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And there's no config file!!!!!!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;NEED HELP!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Heya, I wanna learn how to setup borland c++?&lt;br&gt;G'day,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This page describes how to set up your system for the free c++ compiler.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://community.borland.com/article/0,1...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This page describes using is..&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://community.borland.com/article/0,1...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you want to know what is included this page will tell you.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://community.borland.com/article/0,1...&lt;br&gt;Reply:check out this link http://cplus.about.com/od/compilersandid...&lt;br&gt;Reply:what's that???&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://221wedding.blogspot.com/&gt;wedding&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-5090188520707470114?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/5090188520707470114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/heya-i-wanna-learn-how-to-setup-borland.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5090188520707470114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/5090188520707470114'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/heya-i-wanna-learn-how-to-setup-borland.html' title='Heya, I wanna learn how to setup borland c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-528395360781970177</id><published>2009-07-12T19:32:00.001-07:00</published><updated>2009-07-12T19:32:50.464-07:00</updated><title type='text'>Urgent: How do i use MainMenu on Borland C++?</title><content type='html'>How do i create a mainmenu and let the user to click on to open a file(dat or txt something like tt)?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;all i have are the codes below:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void __fastcall TForm1::OpenFile1Click(TObject *Sender)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;FileDlg-%26gt; Option %26lt;%26lt; ofFileMustExist;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;FileDlg-%26gt;Title="Open Existing File";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;FileName-FileDlg-%26gt;FileName;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Form1-%26gt;Caption="Q4"+FileName;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;how sould i name the menu and its options?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Urgent: How do i use MainMenu on Borland C++?&lt;br&gt;Look up TMainMenu in the help files. Borland's help files are among the best - use them!!!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Rawlyn.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-528395360781970177?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/528395360781970177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/urgent-how-do-i-use-mainmenu-on-borland.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/528395360781970177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/528395360781970177'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/urgent-how-do-i-use-mainmenu-on-borland.html' title='Urgent: How do i use MainMenu on Borland C++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6464549158897377602</id><published>2009-07-12T19:32:00.000-07:00</published><updated>2009-07-12T19:32:34.410-07:00</updated><title type='text'>Does anyne here know how to get borland C++ 5.0 complier for free?</title><content type='html'>i know its an old version.. but i desperately need it!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Does anyne here know how to get borland C++ 5.0 complier for free?&lt;br&gt;Go here the compiler is free. You have to purchase the IDE.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.borland.com/products/download...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6464549158897377602?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6464549158897377602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/does-anyne-here-know-how-to-get-borland.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6464549158897377602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6464549158897377602'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/does-anyne-here-know-how-to-get-borland.html' title='Does anyne here know how to get borland C++ 5.0 complier for free?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6766377014338690702</id><published>2009-07-09T01:34:00.002-07:00</published><updated>2009-07-09T01:34:40.042-07:00</updated><title type='text'>What is the differnce btwn devc++ and borland c++?</title><content type='html'>They have differnent compilers and few features that are different although the use the same code. Basically the interface and GUI systems alter and have few featyres the other doesn't. One is a GNU and the other is privately owned. Borland gurantees support and says they verify and or cert their plug-ins and patches. while Dev is developer based and you have to sork the plug-in from source codes last I used it. I liked Dev version, but when I started working for other companies, we only had Borland and few other flavors.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What is the differnce btwn devc++ and borland c++?&lt;br&gt;The compiler's are different, and will handle particular coding conventions differently (I haven't used Borland c++ for an age, so I can't really think of any examples off hand) As an example of the kind of thing to look for:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for (int i=0; i%26lt;6; i++)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    // ....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for (i=0; i%26lt;6; i++)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The above will compile in MSDev, but not in GCC. Why? Because in GCC world, the "int i" is local to the for loop it's declared in, (so the next for loop can't use it). In MSDev, it works fine.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The other big difference is in the librarys the two provide for making windows applications, Borland have their own class library for writing windows apps, with their own classes representing windows, dialogue buttons etc which is quite different (and in my opinion much better) than the MFC libraries that MSDev uses.&lt;br&gt;Reply:the compilers are different&lt;br&gt;Reply:Dev C++ is an IDE for C/C++ programming whereas Borland C++ is  a compiler/IDE combo. Dev C++ is free and Borland C++ charges a lot of money.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6766377014338690702?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6766377014338690702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-differnce-btwn-devc-and-borland_09.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6766377014338690702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6766377014338690702'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-differnce-btwn-devc-and-borland_09.html' title='What is the differnce btwn devc++ and borland c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-8308261248401227117</id><published>2009-07-09T01:34:00.001-07:00</published><updated>2009-07-09T01:34:24.515-07:00</updated><title type='text'>What is the difference btw devc++ and borland c++?</title><content type='html'>They are different compilers, but work for the same language (C++).&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What is the difference btw devc++ and borland c++?&lt;br&gt;devc++ is microsoft complier its GUI software &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;borland c++ is borland complier its a dos mode codeing.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://1flowers-on-line.blogspot.com/&gt;flowers on line&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-8308261248401227117?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/8308261248401227117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-difference-btw-devc-and-borland.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8308261248401227117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/8308261248401227117'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-difference-btw-devc-and-borland.html' title='What is the difference btw devc++ and borland c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-4647955158035599039</id><published>2009-07-09T01:34:00.000-07:00</published><updated>2009-07-09T01:34:08.191-07:00</updated><title type='text'>Who knows to write a program in borland c++ ????</title><content type='html'>i mean can you write me one?pls...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Who knows to write a program in borland c++ ????&lt;br&gt;I do write programs in TurboC++, though.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;BTW, is it your school homework you gonna ask code for???&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-4647955158035599039?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/4647955158035599039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/who-knows-to-write-program-in-borland-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4647955158035599039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/4647955158035599039'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/who-knows-to-write-program-in-borland-c.html' title='Who knows to write a program in borland c++ ????'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-701443715477763788</id><published>2009-07-09T01:33:00.003-07:00</published><updated>2009-07-09T01:33:52.244-07:00</updated><title type='text'>What is the differnce btwn devc++ and borland c++?</title><content type='html'>Dev-C and Visual C++ are just IDEs. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;Visual C++ uses Microsoft's C++ compiler and linker, while Dev-C can use either gcc (mingw?) or borland's toolset.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What is the differnce btwn devc++ and borland c++?&lt;br&gt;DEVc++:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;its freeeeeeeeeeee!(think its open source)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;can manage projects&lt;br&gt;&lt;br /&gt;&lt;br /&gt;should use other methods for graphics(got to home page for more info)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Borland :&lt;br&gt;&lt;br /&gt;&lt;br /&gt;not free GUI(dos mode compiler is free and difficult for new users)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;it can handle graphics.h&lt;br&gt;&lt;br /&gt;&lt;br /&gt;more popular many books follow this&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;every compiler may have some additional capability(other than standard ANSI C++).It is adviced that u avoid these for portability.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;there many more C++ compilers like Visual C++,Mingw ,codeblock etc&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-701443715477763788?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/701443715477763788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-differnce-btwn-devc-and-borland.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/701443715477763788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/701443715477763788'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/what-is-differnce-btwn-devc-and-borland.html' title='What is the differnce btwn devc++ and borland c++?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-6405470036358183018</id><published>2009-07-09T01:33:00.002-07:00</published><updated>2009-07-09T01:33:37.129-07:00</updated><title type='text'>How can I get free eBook for Borland C++ Builder?</title><content type='html'>u can use any orkut community or ftp servers.else contact me.i may be able to find 1 for u&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can I get free eBook for Borland C++ Builder?&lt;br&gt;see the big white box above?  type that in it and click search.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-6405470036358183018?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/6405470036358183018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-can-i-get-free-ebook-for-borland-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6405470036358183018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/6405470036358183018'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/how-can-i-get-free-ebook-for-borland-c.html' title='How can I get free eBook for Borland C++ Builder?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604317170059449508.post-2053517898884515131</id><published>2009-07-09T01:33:00.001-07:00</published><updated>2009-07-09T01:33:20.237-07:00</updated><title type='text'>Does anybody know where to download borland c++ compiler. i dont care which version!?</title><content type='html'>You can download the compiler from &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.krstarica.com/eng/software/in...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;don't worry its not a virus or anything like that&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Does anybody know where to download borland c++ compiler. i dont care which version!?&lt;br&gt;Sure...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Its&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.acms.arizona.edu/education/op...&lt;br&gt;Reply:http://www.borland.com/downloads/downloa...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;you will need to have JavaScript and cookies turned on in order to download. accessed via a pop-up window, so you may need to turn off your pop-up blocker temporarily.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2florist-shop.blogspot.com/&gt;florist shop&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3604317170059449508-2053517898884515131?l=borland-c.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://borland-c.blogspot.com/feeds/2053517898884515131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://borland-c.blogspot.com/2009/07/does-anybody-know-where-to-download.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2053517898884515131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604317170059449508/posts/default/2053517898884515131'/><link rel='alternate' type='text/html' href='http://borland-c.blogspot.com/2009/07/does-anybody-know-where-to-download.html' title='Does anybody know where to download borland c++ compiler. i dont care which version!?'/><author><name>okxoyu</name><uri>http://www.blogger.com/profile/18018828718774853398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
