i have downloaded turboC from borland companies website.but when i type programme on it it shows error everytime.actually this barland C has 3disk componenets.in disk 1 there is a file called (installer),when i click on it it shows ENTER THE SOURCE DRIVE TO USE ....when i put C on the dot place it shows that insert your compiler.now tell me how i can install this %26amp;ignore the errors.
Hello i need help again?
You might get better answers if you put Turbo C in first line of your question.
wedding
Tuesday, July 28, 2009
Home improvement trivia?
here is an quiz based on the smash hit abc1 comedy
home improvement starring tim allen and patricia richardson
here is the question .
in home improvement what successful tv cable show did tim taylor
host allongside al borland?
was it.
a. cool time
b. fool time
c. tool time
if you know the answer please send them to my e-mail
address .frankielogany2kvictory@yahoo.co.uk
this quiz is for fun only
good luck
from
frankie smales
(home improvement quiz master)
Home improvement trivia?
Tool Time
with Tim "The Tool Man" Taylor
Reply:I use to always watch that show, and some of the reruns. : ) Report It
Reply:"Tool Time." Incidentally, there was a episode where Randy (Jonathan Taylor Thomas) called the show "Fool Time" while Tim (Tim Allen) eavesdropped on him %26amp; punished him 4 that.
Reply:C. It was Tool Time. And you forgot Heidi, the toll girl played by Debbie Dunning.
home improvement starring tim allen and patricia richardson
here is the question .
in home improvement what successful tv cable show did tim taylor
host allongside al borland?
was it.
a. cool time
b. fool time
c. tool time
if you know the answer please send them to my e-mail
address .frankielogany2kvictory@yahoo.co.uk
this quiz is for fun only
good luck
from
frankie smales
(home improvement quiz master)
Home improvement trivia?
Tool Time
with Tim "The Tool Man" Taylor
Reply:I use to always watch that show, and some of the reruns. : ) Report It
Reply:"Tool Time." Incidentally, there was a episode where Randy (Jonathan Taylor Thomas) called the show "Fool Time" while Tim (Tim Allen) eavesdropped on him %26amp; punished him 4 that.
Reply:C. It was Tool Time. And you forgot Heidi, the toll girl played by Debbie Dunning.
How do I fix compling error 2209?
I'm learning C++ and I'm using a compiler called borland. Error 2209 reads as this:
Error E2209 c:\coding\template.cpp 2: Unable to open include file 'iostream.h'
*** 1 errors in Compile ***
I need some help asap. I'm a hobby programmer and this is putting my learning on hold.
How do I fix compling error 2209?
Make sure the line reads: #include %26lt;iostream.h%26gt;
The angled brackets denote that the compiler should look in the project's common include folder(s) for the file being specified. If you were you using ("" - quotation marks), you would be required to specify the location of the file relative to the main project file/directory.
I suggest you use Visual Studio as your compiler, it is far better supported and much better equipped to handle newer programmers. It is available free - see source link (scroll-down and click C++ version [yellow]).
Error E2209 c:\coding\template.cpp 2: Unable to open include file 'iostream.h'
*** 1 errors in Compile ***
I need some help asap. I'm a hobby programmer and this is putting my learning on hold.
How do I fix compling error 2209?
Make sure the line reads: #include %26lt;iostream.h%26gt;
The angled brackets denote that the compiler should look in the project's common include folder(s) for the file being specified. If you were you using ("" - quotation marks), you would be required to specify the location of the file relative to the main project file/directory.
I suggest you use Visual Studio as your compiler, it is far better supported and much better equipped to handle newer programmers. It is available free - see source link (scroll-down and click C++ version [yellow]).
Can anyone help me how to do this program??
i would like to make a rat race program using c++ language and using the borland compiler.=)...could anyone pls help me do this. my idea is to represent 10 rats with the " } " symbol. and the finish line of the rat is in column 70. the only wat that the a rat could win is that the computer chooses a random number that is ranging from 1-10... the sample output is this :
1. } +
2. } +
3. } +
4. } +
5. } +
note : the addition sign is to denote the finish line..
...i hav the idea but i could not write it in a c++ language...=(..
so pls guys, help this poor girl in need...PLEAASSSEEEE
Can anyone help me how to do this program??
I don't have the time to completely answer your question -- and specifically, I don't know what features of C++ you wish to use (classes, stl, templates). So, my solution is C, using POSIX libraries (and should work just fine with *any* C++ or C compiler -- assuming that it is standards compliant).
Caveat emptor - I don't have the time to compile or test this solution.
#include %26lt;stdio.h%26gt;
#include %26lt;stdlib.h%26gt;
#define N_RATS 10
#define COURSE 72
int rats[N_RATS] = { 0 };
int main(void)
{
printf("And they're off!\n");
for (;;) {
int r, i, j;
/* See Numerical Recipes in C, 2nd ed, pp 277 */
r = 1 + (int) ((double)N_RATS * (rand() / (RAND_MAX + 1.0)));
if (++rats[r] %26gt;= COURSE) {
printf("And rat %d wins!\n", r);
return 0;
}
/* print race */
for (i = 0; i %26lt; N_RATS; ++i) {
printf("[%2d] ", i);
for (j = 0; j %26lt; rats[i]; ++j) printf("=");
printf("}\n");
}
}
return 0;
}
Reply:Talk to me at NolesToGiants@gmail.com
Drop me an email with the assignment and requirements.
Reply:well, maybe you could write the idea first in the question, then ill try to write the algorithm or function. :D
Reply:You do seem to ask a lot of questions on this forum that each give the impression they are homework assignments... You hide the fact (that they are homework assignments) well, though!
Hey, here's an idea... Why do you go back to the other questions you've asked, and select a best answer? People have gone through the effort of helping you, why don't you go through the effort of rewarding them?
1. } +
2. } +
3. } +
4. } +
5. } +
note : the addition sign is to denote the finish line..
...i hav the idea but i could not write it in a c++ language...=(..
so pls guys, help this poor girl in need...PLEAASSSEEEE
Can anyone help me how to do this program??
I don't have the time to completely answer your question -- and specifically, I don't know what features of C++ you wish to use (classes, stl, templates). So, my solution is C, using POSIX libraries (and should work just fine with *any* C++ or C compiler -- assuming that it is standards compliant).
Caveat emptor - I don't have the time to compile or test this solution.
#include %26lt;stdio.h%26gt;
#include %26lt;stdlib.h%26gt;
#define N_RATS 10
#define COURSE 72
int rats[N_RATS] = { 0 };
int main(void)
{
printf("And they're off!\n");
for (;;) {
int r, i, j;
/* See Numerical Recipes in C, 2nd ed, pp 277 */
r = 1 + (int) ((double)N_RATS * (rand() / (RAND_MAX + 1.0)));
if (++rats[r] %26gt;= COURSE) {
printf("And rat %d wins!\n", r);
return 0;
}
/* print race */
for (i = 0; i %26lt; N_RATS; ++i) {
printf("[%2d] ", i);
for (j = 0; j %26lt; rats[i]; ++j) printf("=");
printf("}\n");
}
}
return 0;
}
Reply:Talk to me at NolesToGiants@gmail.com
Drop me an email with the assignment and requirements.
Reply:well, maybe you could write the idea first in the question, then ill try to write the algorithm or function. :D
Reply:You do seem to ask a lot of questions on this forum that each give the impression they are homework assignments... You hide the fact (that they are homework assignments) well, though!
Hey, here's an idea... Why do you go back to the other questions you've asked, and select a best answer? People have gone through the effort of helping you, why don't you go through the effort of rewarding them?
Program Battleship?
Does anyone know how or where i can find a way to program battleship using c. I am using the borland compiler. I am NOT using c++ so that will not help me. Thank you
Program Battleship?
Does not look easy. May be you can contact a C expert live at website like http://askexpert.info/ .
flowers on line
Program Battleship?
Does not look easy. May be you can contact a C expert live at website like http://askexpert.info/ .
flowers on line
Does design really matter?
Do the internals of software really matter? If you could ignore need for maitenance/recompile, who cares how elegant code is or if you used cutting edge technology. If from the outside, if the compiled program is perfect from the outside, what difference does it make what construction tools methods you used ? Is the bottom line ever the factor?
For example, if you run calc.exe in windows it is perfect and will never need to be changed. Did it matter if they used C#, VB Net, Java, C++, Extreeme programing or Borland to make it?
Does design really matter?
Yes it matters. What if the person that designed the calculator program designed it so that you had to press enter after each button? Or what if it were designed so that the number being entered isn't shown until an operator is pressed? These are design factors.
Java vs. C#/C/C++ vs. VB vs. ??? has little to do with design. Those are technical aspects of the construction. Extreeme programming is not a design factor - that's a development approach.
The problem is you can't ignore the need for maintenance in most cases. Even the calculator program has been maintained... If you remember from Windows 3.x, the calculator didn't have the Scientific options. (I'll have to fire up my old Win3.1 machine, but I think it didn't support copy/paste either.)
In my opinion, design is the most critical part of the sdlc. A poorly designed program will certainly at some point cause problems.
Reply:Design is independent of the technology used. So it design matters, however the technology used matters to a lesser extent.
Design does matter. Bad Design can lead to making a solution not scalable, Performance problems and maintenance problems to say least.
Real World problems arise when applications are poorly designed. Examples would be (and am not talking theory, rather real scenarios)
1) Poor database design
2) Single-threaded execution for everything
If you bother to diagnose these problems beforehand, you will save a lot of money and time instead of blaming network configuration and poor hardware.
Reply:Depends on the end result ... if you know that your end result will be a small software that you can check extensively then it doesnt matter....
but if you are looking of efficient code and you may need to change the software at latter stages according to clients request then design should be done properly ... as well as lanugage selection should be done carefully....
For example, if you run calc.exe in windows it is perfect and will never need to be changed. Did it matter if they used C#, VB Net, Java, C++, Extreeme programing or Borland to make it?
Does design really matter?
Yes it matters. What if the person that designed the calculator program designed it so that you had to press enter after each button? Or what if it were designed so that the number being entered isn't shown until an operator is pressed? These are design factors.
Java vs. C#/C/C++ vs. VB vs. ??? has little to do with design. Those are technical aspects of the construction. Extreeme programming is not a design factor - that's a development approach.
The problem is you can't ignore the need for maintenance in most cases. Even the calculator program has been maintained... If you remember from Windows 3.x, the calculator didn't have the Scientific options. (I'll have to fire up my old Win3.1 machine, but I think it didn't support copy/paste either.)
In my opinion, design is the most critical part of the sdlc. A poorly designed program will certainly at some point cause problems.
Reply:Design is independent of the technology used. So it design matters, however the technology used matters to a lesser extent.
Design does matter. Bad Design can lead to making a solution not scalable, Performance problems and maintenance problems to say least.
Real World problems arise when applications are poorly designed. Examples would be (and am not talking theory, rather real scenarios)
1) Poor database design
2) Single-threaded execution for everything
If you bother to diagnose these problems beforehand, you will save a lot of money and time instead of blaming network configuration and poor hardware.
Reply:Depends on the end result ... if you know that your end result will be a small software that you can check extensively then it doesnt matter....
but if you are looking of efficient code and you may need to change the software at latter stages according to clients request then design should be done properly ... as well as lanugage selection should be done carefully....
Command prompt got messed up?
-I recently downloaded a C++ compiler from Borland to start learning C++ programmming language. I'm not sure if it has anything to to with the problem but......yesterday I had to do various things in the command prompt in order to set-up the compiler....everything was working fine so, I decided to shut off my computer and test it out the next morning.
When I tried testing it out, I had to edit some files by putting "edit" at the beginning, and everytime I did this, it responded "'edit' is not recognized internal or external command, operable program or batch file." At this point I was like......wtf?. Then, I said to myself, thats weird, so I decided to check the problem.....reinstalled the compiler...still...same prompt. Wtf?. Then I said, ok, lets see if the command prompt is the problem....I type in "ipconfig" which is a commonly known command. Guess what Mr. Command Prompt says......"'ipconfig' is not recognized internal or external command, operable program or batch file."wtf!!!!
Command prompt got messed up?
try to check ur 'PATH' environment variable.
It should have at least this: %SystemRoot%\system32;%SystemRoot%;
Reply:Something messed with your system's path statement.
When I tried testing it out, I had to edit some files by putting "edit" at the beginning, and everytime I did this, it responded "'edit' is not recognized internal or external command, operable program or batch file." At this point I was like......wtf?. Then, I said to myself, thats weird, so I decided to check the problem.....reinstalled the compiler...still...same prompt. Wtf?. Then I said, ok, lets see if the command prompt is the problem....I type in "ipconfig" which is a commonly known command. Guess what Mr. Command Prompt says......"'ipconfig' is not recognized internal or external command, operable program or batch file."wtf!!!!
Command prompt got messed up?
try to check ur 'PATH' environment variable.
It should have at least this: %SystemRoot%\system32;%SystemRoot%;
Reply:Something messed with your system's path statement.
How do I make a Win32 DirectX program?
I'm a good programmer, but I'm new to Win32 and DirectX programming. If I can view a "hello world" program that somebody else wrote, I'm sure I could get my project working. Are there any "hello world" sample programs out there for win32/directx programming? I use Dev-C++, but am willing to pay to get a Borland or Microsoft C/C++ compiler.
How do I make a Win32 DirectX program?
Download Microsoft Visual studio 2005 express edition (its free) and the direct X SDK. which has lots of examples that you can try out.
Reply:download the directX SDK from microsoft.com, then have a look at the samples. Also, you will find many, many tutorials in the web just by searching for them, or on gamedev.net, devmaster.net, etc.
i don't know if the SDK works with Dev-C++, but you can download the microsoft visual studio express edition for
free from microsoft.com. no need to pay for it.
Reply:well first you........2pts
How do I make a Win32 DirectX program?
Download Microsoft Visual studio 2005 express edition (its free) and the direct X SDK. which has lots of examples that you can try out.
Reply:download the directX SDK from microsoft.com, then have a look at the samples. Also, you will find many, many tutorials in the web just by searching for them, or on gamedev.net, devmaster.net, etc.
i don't know if the SDK works with Dev-C++, but you can download the microsoft visual studio express edition for
free from microsoft.com. no need to pay for it.
Reply:well first you........2pts
How do I use a non-visual compiler?
I was trying to program some stuff using C++ and I got a free non-visual compiler from Borland (have no idea what verson, name, and etc.) It's on my desktop and it only says "freecommandLinetools". So I worked myself into a corner when I tryed to compile it, easy enough, I know how to work Windows Explorer (haha), and some DOS and I know enough to do so with confidence.
So I go to the the Command Prompt, type in:
c:\borland\bcc55\bin\bcc32.exe [and location of script]
and it doesn't work, says it can't locate it and stuff. Then I gave up programming all together so now I realize that I could ask someone in Yahoo! Answers.
So I don't know what I did wrong. I typed in word for word, checked it over and over and no results.
Is it just me and DOS or it's just the compiler? Tell me how to enter the commands because when I space, it assumes that I gave it different locations for each word spaced.
How do I use a non-visual compiler?
dos does not allow the spacing of the directory structure like you see in windows. (aka my folder is not my folder in dos it's something like ~my).
i never did figure out the screwy system it uses to figure out what it's going to call the folder SO i personallya llways just traveled through the directory in dos to find what i needed then copyed and used it form there.
on a totally seperate note:
why use a borland comannd line compiler?
visual studio 2005 express is free!
c++ and c++.net and c# all available free for you to work with.
a visual ide is about 5000x easier to learn with.
don't like microsoft? djgpp also free! don't like djgpp and microsoft but want to use c# anyways? sharpdevelop.
bottom line. use an ide it will save SO much hassle thats why they made them.
can program for the .net runtime with only notepad but no one does that because it's insanely hard to do. thats why people get the ide =P
Reply:The only non visual compiler I use is the gcc :-)
On windows, how about trying bloodshed
http://www.bloodshed.net/devcpp.html
Its open source and free and I have never had a problem with it in my 2 years of trying it out!
florist shop
So I go to the the Command Prompt, type in:
c:\borland\bcc55\bin\bcc32.exe [and location of script]
and it doesn't work, says it can't locate it and stuff. Then I gave up programming all together so now I realize that I could ask someone in Yahoo! Answers.
So I don't know what I did wrong. I typed in word for word, checked it over and over and no results.
Is it just me and DOS or it's just the compiler? Tell me how to enter the commands because when I space, it assumes that I gave it different locations for each word spaced.
How do I use a non-visual compiler?
dos does not allow the spacing of the directory structure like you see in windows. (aka my folder is not my folder in dos it's something like ~my).
i never did figure out the screwy system it uses to figure out what it's going to call the folder SO i personallya llways just traveled through the directory in dos to find what i needed then copyed and used it form there.
on a totally seperate note:
why use a borland comannd line compiler?
visual studio 2005 express is free!
c++ and c++.net and c# all available free for you to work with.
a visual ide is about 5000x easier to learn with.
don't like microsoft? djgpp also free! don't like djgpp and microsoft but want to use c# anyways? sharpdevelop.
bottom line. use an ide it will save SO much hassle thats why they made them.
can program for the .net runtime with only notepad but no one does that because it's insanely hard to do. thats why people get the ide =P
Reply:The only non visual compiler I use is the gcc :-)
On windows, how about trying bloodshed
http://www.bloodshed.net/devcpp.html
Its open source and free and I have never had a problem with it in my 2 years of trying it out!
florist shop
Getting a "List Index Out Of Bounds (9)" error when I try to remove a file from a project...?
I'm using Borland CodeGear C++ Builder 2007. I've created a fairly complicated project that includes such features as database access, as well as the heavy use of classes and libraries.
I apparently have some sort of a library synching issue because, when the statements:
double xx = 0.0;
xx = Pln.Nrd.retireAge;
are executed, xx is 65 and Pln.Nrd.retireAge is 0. I don't understand how this is possible-- it's a direct assignment, after all!-- unless it's a problem with the library I'm using.
In a separate (related?) issue, I have some files included in the project: report.cpp, plan.cpp, and getp.cpp. When I try to remove them, however, a dialog box immediately pops up saying, respectively:
List index out of bounds (8),
List index out of bounds (9),
and List index out of bounds (7)
I also can't "Save All", because the list index out of bounds error pops up and prevents these files from saving.
Any thoughts or suggestions would be appreciated.
Getting a "List Index Out Of Bounds (9)" error when I try to remove a file from a project...?
Well, the problem is certainly in either Pln or Nrd. If you set xx and it becomes 65, then Pln.Nrd.retireAge MUST have been 65 before you called it. You should look for a bug in one of those classes that might cause the variable's value to reset to 0 after you retrieve it.
I apparently have some sort of a library synching issue because, when the statements:
double xx = 0.0;
xx = Pln.Nrd.retireAge;
are executed, xx is 65 and Pln.Nrd.retireAge is 0. I don't understand how this is possible-- it's a direct assignment, after all!-- unless it's a problem with the library I'm using.
In a separate (related?) issue, I have some files included in the project: report.cpp, plan.cpp, and getp.cpp. When I try to remove them, however, a dialog box immediately pops up saying, respectively:
List index out of bounds (8),
List index out of bounds (9),
and List index out of bounds (7)
I also can't "Save All", because the list index out of bounds error pops up and prevents these files from saving.
Any thoughts or suggestions would be appreciated.
Getting a "List Index Out Of Bounds (9)" error when I try to remove a file from a project...?
Well, the problem is certainly in either Pln or Nrd. If you set xx and it becomes 65, then Pln.Nrd.retireAge MUST have been 65 before you called it. You should look for a bug in one of those classes that might cause the variable's value to reset to 0 after you retrieve it.
My XP says \system32\autoexec.nt is not suitable running msdos application when im trying to install TC
im trying to install borland turbo C and it errors....
My XP says \system32\autoexec.nt is not suitable running msdos application when im trying to install TC
TC is really old, I cant remember if it works with XP or not but doubt it
My XP says \system32\autoexec.nt is not suitable running msdos application when im trying to install TC
TC is really old, I cant remember if it works with XP or not but doubt it
Does anybody know how to use CreateFile to send and receive data via teh parallel port in Windows XP?
I'm using borland Builder C++ 5 and i need to send and receive data via parallel port. I know this can be done using CreateFile, but I haven't found any tutorial or anything like that. Can you help me please?
Does anybody know how to use CreateFile to send and receive data via teh parallel port in Windows XP?
Why Borland C++ 5.0. Doesn't that predate XP by like 7 years or more?
BTW: Google is your friend. Google knows all. (see links below).
Does anybody know how to use CreateFile to send and receive data via teh parallel port in Windows XP?
Why Borland C++ 5.0. Doesn't that predate XP by like 7 years or more?
BTW: Google is your friend. Google knows all. (see links below).
Where can I download file clientdatamoduleu.h?
This file appears to be in C++ Borland Builder version 5. when I try to install it, there is an error message that indicates this file is missing.
Where can I download file clientdatamoduleu.h?
I haven't find this file at google or Yahoo. I suggest that you send an email to borland and request this file if you think that it should have come with the C++ Borland Builder.
http://www.borland.com
sympathy flowers
Where can I download file clientdatamoduleu.h?
I haven't find this file at google or Yahoo. I suggest that you send an email to borland and request this file if you think that it should have come with the C++ Borland Builder.
http://www.borland.com
sympathy flowers
How do I display an image in a CERTAIN P(preferably GIF, PNG, or JPG, but BMP will do) in VC6 / C++ using MFC.
I strictly use MFC if I can, VC6 only. I HATE console apps/code with a passion. They are utterly useless. I am so sick of all these tutorials that just 'paste a pic' on a white 'Edit Box' but don't tell you a thing about HOW in the world it got there! PLEASE for all that is decent and holy in the gaming world, please, please help me without mentionint the following words:
cout, cin, console, Linux, Unix, Mac, iMac, IPOD, VB6, .NET, VC7, vc8, Borland, Builder, CDocument, 'make it a memer of the %^%26amp;#$ class' and so on. I just want to know how do I put an image at the location of X, Y, and how do I CHANGE X and Y. I'd like to be abl to have 2 versions of this code, one where I am able to set the movement myself, and another where I can 'click and drag' the graphic (such as a chess piece or checker?) JPGs have great color as GIFs seem splochy, but only GIFs/PNGs have transparency, although I've heard rumours of transparent JPeGs! A versitle code that can use all 3 would be nice.
How do I display an image in a CERTAIN P(preferably GIF, PNG, or JPG, but BMP will do) in VC6 / C++ using MFC.
i tryed to send you a email but some how it did not go through so i am "answering" here. you are very ignorant about macs. i have worked with a lot of pcs both fast and slow, and never had any thing but problems with them. all pcs are junk compared to macs. macs never get viruses, have the best hardware in the world, and have been rated the best computer of any price. they last long, have all good software, pcs have a lot more software but most of it is junk and if you got rid of all the bad stuff there would be less for pc than theere is for mac. i know what a good computer is and you dont. i will never use a pc again. my mac is the best computer i have ever had, and when i need a new computer i will get a mac. PCs STINK.
cout, cin, console, Linux, Unix, Mac, iMac, IPOD, VB6, .NET, VC7, vc8, Borland, Builder, CDocument, 'make it a memer of the %^%26amp;#$ class' and so on. I just want to know how do I put an image at the location of X, Y, and how do I CHANGE X and Y. I'd like to be abl to have 2 versions of this code, one where I am able to set the movement myself, and another where I can 'click and drag' the graphic (such as a chess piece or checker?) JPGs have great color as GIFs seem splochy, but only GIFs/PNGs have transparency, although I've heard rumours of transparent JPeGs! A versitle code that can use all 3 would be nice.
How do I display an image in a CERTAIN P(preferably GIF, PNG, or JPG, but BMP will do) in VC6 / C++ using MFC.
i tryed to send you a email but some how it did not go through so i am "answering" here. you are very ignorant about macs. i have worked with a lot of pcs both fast and slow, and never had any thing but problems with them. all pcs are junk compared to macs. macs never get viruses, have the best hardware in the world, and have been rated the best computer of any price. they last long, have all good software, pcs have a lot more software but most of it is junk and if you got rid of all the bad stuff there would be less for pc than theere is for mac. i know what a good computer is and you dont. i will never use a pc again. my mac is the best computer i have ever had, and when i need a new computer i will get a mac. PCs STINK.
How do I display the output of a C++ program in the Command Prompt?
I am also using Borland to create my program.
How do I display the output of a C++ program in the Command Prompt?
printf("output to display");
or you could use
cout %26lt;%26lt; "output to display";
or
putc( char_var, stdout);
or
puts( string_var);
See also:
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/
How do I display the output of a C++ program in the Command Prompt?
printf("output to display");
or you could use
cout %26lt;%26lt; "output to display";
or
putc( char_var, stdout);
or
puts( string_var);
See also:
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/
From where can i get turboo c++ for free which is virus free as well?
i hav searched through borland website as well.............but was unable to find it.if u know can u tell me how to get it?
From where can i get turboo c++ for free which is virus free as well?
If you need so i can put this on my FTP server from there you can download it ... if need so do let me know.
Reply:You can download it from "http://www.developers.net" by creating an account. I have downloaded from it.
Reply:From your friends pc which is virus free %26amp; studying in your class or from a profeshionals.
From where can i get turboo c++ for free which is virus free as well?
If you need so i can put this on my FTP server from there you can download it ... if need so do let me know.
Reply:You can download it from "http://www.developers.net" by creating an account. I have downloaded from it.
Reply:From your friends pc which is virus free %26amp; studying in your class or from a profeshionals.
Examining arrays in Visual Studio C++ debugger?
OK. I'm at a breakpoint in the debugger and now I want to examine the values stored in my arrays. How do I get Visual Studio debugger to show me the data in the arrays? I don't want to see just one value at a time; I want to see the values contained in array indices [100] to [199] for example.
Surely there has to be an easy way to do this. I've been doing it since the 90's in the Borland IDE and since the 80's on VAXs.
And while I'm at it, is there any way that I can plot data from arrays while in the debugger like you can in Matlab?
Examining arrays in Visual Studio C++ debugger?
I don't know about other versions, but right now I'm using VS2005, and I can see the values in an array while stopped in debug mode by right clicking on the variable and selecting "Quick Watch..."
That will produce a nice little window listing all the values in the array. I'm not sure if that's exactly what you want, but that's the closest thing that I'm aware of.
Personally, I have to use VS everyday, and I'm convinced it's the biggest piece of trash IDE that I've ever used.
Reply:int* p = new int[100]; // Assume a Pointer created like this.
In the watch window type: p,100
(The comma is your friend here!)
To view values with indices 50-60 type: (p+50),10
For plotting see: http://arraydebugview.sourcefo... Report It
Reply:One way is to specify the index in your debugger. Like arrayname[105] - that should give you the exact value at that index.
If yours were fixed length arrays, getting the value of a range would not be difficult. The debugger would then provide a small + sign beside your array object in the quick watch, and you could expand it to see all the elements.
But with free pointers, the debugger cannot do that. Becasue it does not know the length of the array. And Microsoft has taken a very tight fisted approach towards accessing out of bounds values, even in read only mode by the debugger - so it does not take any risk.
If you are so hell bent on seeing the values of a range, you have to do some little extra work dude:
Option A: Use the managed framework and declare an arraylist object, load it using your native array specifying the length. Your debugger will instantly show all the elements of the array list object expandable/ collapsible with a + sign
Option B: Write them down to a file on the hard disk ([index]:[value] format), open and inspect the file while debugging.
Option C: Declare a test only fixed length array (that you can comment later on), copy the contents of the native pointer array to it, and let the debugger do the rest.
Option D, E, F, ...: Give it up. There are better things to do in life.
bridal flowers
Surely there has to be an easy way to do this. I've been doing it since the 90's in the Borland IDE and since the 80's on VAXs.
And while I'm at it, is there any way that I can plot data from arrays while in the debugger like you can in Matlab?
Examining arrays in Visual Studio C++ debugger?
I don't know about other versions, but right now I'm using VS2005, and I can see the values in an array while stopped in debug mode by right clicking on the variable and selecting "Quick Watch..."
That will produce a nice little window listing all the values in the array. I'm not sure if that's exactly what you want, but that's the closest thing that I'm aware of.
Personally, I have to use VS everyday, and I'm convinced it's the biggest piece of trash IDE that I've ever used.
Reply:int* p = new int[100]; // Assume a Pointer created like this.
In the watch window type: p,100
(The comma is your friend here!)
To view values with indices 50-60 type: (p+50),10
For plotting see: http://arraydebugview.sourcefo... Report It
Reply:One way is to specify the index in your debugger. Like arrayname[105] - that should give you the exact value at that index.
If yours were fixed length arrays, getting the value of a range would not be difficult. The debugger would then provide a small + sign beside your array object in the quick watch, and you could expand it to see all the elements.
But with free pointers, the debugger cannot do that. Becasue it does not know the length of the array. And Microsoft has taken a very tight fisted approach towards accessing out of bounds values, even in read only mode by the debugger - so it does not take any risk.
If you are so hell bent on seeing the values of a range, you have to do some little extra work dude:
Option A: Use the managed framework and declare an arraylist object, load it using your native array specifying the length. Your debugger will instantly show all the elements of the array list object expandable/ collapsible with a + sign
Option B: Write them down to a file on the hard disk ([index]:[value] format), open and inspect the file while debugging.
Option C: Declare a test only fixed length array (that you can comment later on), copy the contents of the native pointer array to it, and let the debugger do the rest.
Option D, E, F, ...: Give it up. There are better things to do in life.
bridal flowers
What is wrong with my c++ code?? Im getting an illegal use of floating point in main error?
Is there an easier way of doing this? What about an infinite series? Anyway here is the code that I am using with the Borland Compilier.
double sum = 0;
for (double i = m; i %26lt;= n; i++)
sum = sum+(1/(n^2));
Total = sum;
std::cout %26lt;%26lt; Total %26lt;%26lt; std::endl;
return 0;
}
"file1.cpp": E2060 Illegal use of floating point in function main() at line 21
What is wrong with my c++ code?? Im getting an illegal use of floating point in main error?
This error can only have happened if you have declared n as a float or double.
I guess it's an integer so declare n as an int and it will compile (I have verified this with Borland).
Alternatively you can use math.h and call pow for this one.
Change the line
sum = sum+(1/(n^2));
to
sum = sum+(1/(pow(n,2)));
and
#include %26lt;math.h%26gt; for pow.
That way you do not have to change the declaration of n.
x^y is not guaranteed to compile unless they are both ints.
pow takes 2 doubles and returns a double so no restriction.
Reply:dont use double in for loop,
ie double i gives this error
so better use while loop in this case.
if you wabt to use for loop type cast m and n to int.
Reply:plz refer to the last line...the curly bracket...
where is the open curly bracket?
Reply:Is "m" declared? You're setting m to i, but it's not declared in that code snippet.
double sum = 0;
for (double i = m; i %26lt;= n; i++)
sum = sum+(1/(n^2));
Total = sum;
std::cout %26lt;%26lt; Total %26lt;%26lt; std::endl;
return 0;
}
"file1.cpp": E2060 Illegal use of floating point in function main() at line 21
What is wrong with my c++ code?? Im getting an illegal use of floating point in main error?
This error can only have happened if you have declared n as a float or double.
I guess it's an integer so declare n as an int and it will compile (I have verified this with Borland).
Alternatively you can use math.h and call pow for this one.
Change the line
sum = sum+(1/(n^2));
to
sum = sum+(1/(pow(n,2)));
and
#include %26lt;math.h%26gt; for pow.
That way you do not have to change the declaration of n.
x^y is not guaranteed to compile unless they are both ints.
pow takes 2 doubles and returns a double so no restriction.
Reply:dont use double in for loop,
ie double i gives this error
so better use while loop in this case.
if you wabt to use for loop type cast m and n to int.
Reply:plz refer to the last line...the curly bracket...
where is the open curly bracket?
Reply:Is "m" declared? You're setting m to i, but it's not declared in that code snippet.
Need help with this C++ program. Code provided. What is the solution to my problem?
I'm not sure what all errors I'm getting but I know the one with the equation called out in float, it tells me that asValue is undefined but with the one where it is defined in the float, I get these errors.
Call of nonfunction
Lvalue required
Call of nonfunction
I'm using Borland.
//Program assignment #4 Exercise 13 p.156 - Donald Black
#include %26lt;iostream.h%26gt;
#include %26lt;conio.h%26gt;
#include %26lt;iomanip.h%26gt;
void main()
{
float actualValue, asValue, oneHundred, propertyTax;
cout %26lt;%26lt; "What is the actual value of your propert? \n";
cin %26gt;%26gt; actualValue;
actualValue(.6) = asValue;
cout %26lt;%26lt; "Your property's assessment value is: " %26lt;%26lt; asValue;
propertyTax = asvalue(.0064)
cout %26lt;%26lt; "Your property tax is: \n";
cin %26gt;%26gt; propertyTax;
system ("pause");
}
Need help with this C++ program. Code provided. What is the solution to my problem?
I'm using Dev C++ but the code should be about the same.
1) You are missing a "using namespace std;" statement
2) Change "void main()" to "int main()"
3) If you are multiplying values, use a * not parentheses
4) You asValue variable is case sensetive, so this needs to be changed in your propertyTax = asValue * .0064; statement.
The new version of C++ calls for headers in the format of #include %26lt;iostream%26gt; there is no need for the .h (in Dev C++ anyway--if yours is different, you need only change it back). Also, there is no need for the conio include in this program.
Try this:
#include %26lt;iostream%26gt;
#include %26lt;iomanip%26gt;
using namespace std;
int main()
{
float actualValue, asValue, oneHundred, propertyTax;
cout %26lt;%26lt; "What is the actual value of your property? \n";
cin %26gt;%26gt; actualValue;
asValue = actualValue*.6;
cout %26lt;%26lt; "Your property's assessment value is: " %26lt;%26lt; asValue;
propertyTax = asValue*.0064;
cout %26lt;%26lt; "Your property tax is: \n";
cin %26gt;%26gt; propertyTax;
system ("pause");
}
Happy to see someone learning C++. I took it last semester; you will learn quickly.
Good luck
Call of nonfunction
Lvalue required
Call of nonfunction
I'm using Borland.
//Program assignment #4 Exercise 13 p.156 - Donald Black
#include %26lt;iostream.h%26gt;
#include %26lt;conio.h%26gt;
#include %26lt;iomanip.h%26gt;
void main()
{
float actualValue, asValue, oneHundred, propertyTax;
cout %26lt;%26lt; "What is the actual value of your propert? \n";
cin %26gt;%26gt; actualValue;
actualValue(.6) = asValue;
cout %26lt;%26lt; "Your property's assessment value is: " %26lt;%26lt; asValue;
propertyTax = asvalue(.0064)
cout %26lt;%26lt; "Your property tax is: \n";
cin %26gt;%26gt; propertyTax;
system ("pause");
}
Need help with this C++ program. Code provided. What is the solution to my problem?
I'm using Dev C++ but the code should be about the same.
1) You are missing a "using namespace std;" statement
2) Change "void main()" to "int main()"
3) If you are multiplying values, use a * not parentheses
4) You asValue variable is case sensetive, so this needs to be changed in your propertyTax = asValue * .0064; statement.
The new version of C++ calls for headers in the format of #include %26lt;iostream%26gt; there is no need for the .h (in Dev C++ anyway--if yours is different, you need only change it back). Also, there is no need for the conio include in this program.
Try this:
#include %26lt;iostream%26gt;
#include %26lt;iomanip%26gt;
using namespace std;
int main()
{
float actualValue, asValue, oneHundred, propertyTax;
cout %26lt;%26lt; "What is the actual value of your property? \n";
cin %26gt;%26gt; actualValue;
asValue = actualValue*.6;
cout %26lt;%26lt; "Your property's assessment value is: " %26lt;%26lt; asValue;
propertyTax = asValue*.0064;
cout %26lt;%26lt; "Your property tax is: \n";
cin %26gt;%26gt; propertyTax;
system ("pause");
}
Happy to see someone learning C++. I took it last semester; you will learn quickly.
Good luck
Where can I download C++ Builder 4 IDE ???
I have looked on the Borland web page but cant find a free download for the above. Does anyone know a website that I can download from???
Where can I download C++ Builder 4 IDE ???
have you checked http://www.programmersheaven.com
Where can I download C++ Builder 4 IDE ???
have you checked http://www.programmersheaven.com
Which is the best C?
Of borland, gcc and TC which is the best language to do programing? and does gcc always need linux?
Which is the best C?
GCC is the best. One it's well supported, Two it's standard compliant and three it's available on most platforms.
If you are on Windows try Dev C++, a great IDE for GCC's windows ports Cygwin or MinGW.
Reply:I would go with gcc. gcc is supported on a wide variety of platforms. That's the main reason why I would prefer gcc over others.
Reply:I agree. gcc is available for just about every platform, it's extremely popular so help on the web is easy to find...and it always has been and always will be open source.
Reply:If you don't care for standards, GCC also has a nice set of extensions--a few features not found in other Cs. However, if you want a nice IDE with your compiler, and have money, Visual C++ is good.
wedding reception flowers
Which is the best C?
GCC is the best. One it's well supported, Two it's standard compliant and three it's available on most platforms.
If you are on Windows try Dev C++, a great IDE for GCC's windows ports Cygwin or MinGW.
Reply:I would go with gcc. gcc is supported on a wide variety of platforms. That's the main reason why I would prefer gcc over others.
Reply:I agree. gcc is available for just about every platform, it's extremely popular so help on the web is easy to find...and it always has been and always will be open source.
Reply:If you don't care for standards, GCC also has a nice set of extensions--a few features not found in other Cs. However, if you want a nice IDE with your compiler, and have money, Visual C++ is good.
wedding reception flowers
How to run c++ on my pc ?
i ve installed borland cpp 5.5 builder on my xp sp 2,,, its installed,,, but which is its main exe to run programm ? no shortcuts created on desktop or start menu,,,
How to run c++ on my pc ?
well, it depends on which one you have, like i have turbo c++ 4.5 version, and that can be opened from the start menu, by clicking
on turbo c++.
How to run c++ on my pc ?
well, it depends on which one you have, like i have turbo c++ 4.5 version, and that can be opened from the start menu, by clicking
on turbo c++.
Very basic C++ question to do with function?
My program, very, very basic, says that "Function should return a value" (I have a very old compiler - Borland TurboC++)
int main()
{ //prints T as a block letter
cout %26lt;%26lt;"*****" %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
}
What am I missing? Ok, my spacing is correct when I type the program, but it seems to change when I publish... !?!
Very basic C++ question to do with function?
you are writing a program in cpp
and the main type is int and it should return a value...
you should return either 1 or 0 at the end of program.
returning 0 compiles your program and 1 doesn't compile your program
Reply:*int* main().
... your main function is not returning a value.
"Whoever can tell me why gets my best answer vote!!! I'm going bald tearing my hair out over here... :)"
My guess is that you are not setting up your project correctly. I do not use Borland, but there must be an option to create a 'New Console Project'. You are probably creating a blank or empty project. By default this will *not* create a console window, but simply generate an executable. When you run the program it does print out statements, but it has no display device specified.
Check the borland tutorials for a console project.
Btw, do NOT use void as the return type for the main declaration. This is bad programming. All applications should return a status value to the operating system: 0 - good exit, anything else - bad.
Reply:#include %26lt;iostream%26gt;
using namespace std;
int main()
{ //prints T as a block letter
cout %26lt;%26lt;"*****" %26lt;%26lt; endl;
cout %26lt;%26lt;" *" %26lt;%26lt; endl;
cout %26lt;%26lt;" *" %26lt;%26lt; endl;
cout %26lt;%26lt;" *" %26lt;%26lt; endl;
cout %26lt;%26lt;" *" %26lt;%26lt; endl;
cout %26lt;%26lt;" *" %26lt;%26lt; endl;
system("PAUSE");
}
Reply:use void main() instead of int main() and message you are getting(i.e "Fucntion should return a value") is a Waring and not an error.
Reply:int main()
{ //prints T as a block letter
cout %26lt;%26lt;"*****" %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
return 0; %26lt;%26lt;- Add this line to remove warning: Function should return a value.
}
Hope this helps.
Reply:Add "return 0;" at the very end of the function. Changing main to return void instead of int works too.
int main()
{ //prints T as a block letter
cout %26lt;%26lt;"*****" %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
}
What am I missing? Ok, my spacing is correct when I type the program, but it seems to change when I publish... !?!
Very basic C++ question to do with function?
you are writing a program in cpp
and the main type is int and it should return a value...
you should return either 1 or 0 at the end of program.
returning 0 compiles your program and 1 doesn't compile your program
Reply:*int* main().
... your main function is not returning a value.
"Whoever can tell me why gets my best answer vote!!! I'm going bald tearing my hair out over here... :)"
My guess is that you are not setting up your project correctly. I do not use Borland, but there must be an option to create a 'New Console Project'. You are probably creating a blank or empty project. By default this will *not* create a console window, but simply generate an executable. When you run the program it does print out statements, but it has no display device specified.
Check the borland tutorials for a console project.
Btw, do NOT use void as the return type for the main declaration. This is bad programming. All applications should return a status value to the operating system: 0 - good exit, anything else - bad.
Reply:#include %26lt;iostream%26gt;
using namespace std;
int main()
{ //prints T as a block letter
cout %26lt;%26lt;"*****" %26lt;%26lt; endl;
cout %26lt;%26lt;" *" %26lt;%26lt; endl;
cout %26lt;%26lt;" *" %26lt;%26lt; endl;
cout %26lt;%26lt;" *" %26lt;%26lt; endl;
cout %26lt;%26lt;" *" %26lt;%26lt; endl;
cout %26lt;%26lt;" *" %26lt;%26lt; endl;
system("PAUSE");
}
Reply:use void main() instead of int main() and message you are getting(i.e "Fucntion should return a value") is a Waring and not an error.
Reply:int main()
{ //prints T as a block letter
cout %26lt;%26lt;"*****" %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
cout %26lt;%26lt;" * " %26lt;%26lt; endl;
return 0; %26lt;%26lt;- Add this line to remove warning: Function should return a value.
}
Hope this helps.
Reply:Add "return 0;" at the very end of the function. Changing main to return void instead of int works too.
Setting up opengl in new turbo c++(turbo explorer)?
i'm trying to learn opengl. I found an old code in this borland site
http://bdn.borland.com/article/10528 but it's not working. Library names are wrong. i dropped the vcl part. For example %26lt;vclClasses.hpp%26gt; to %26lt;Classes.hpp%26gt; ,but it's still not working. Do you have any suggestions
Setting up opengl in new turbo c++(turbo explorer)?
try this site for OpenGL
http://www.allanpetersen.com/opengl.htm
or just go to http://sourceforge.net and find OpenGL there
http://bdn.borland.com/article/10528 but it's not working. Library names are wrong. i dropped the vcl part. For example %26lt;vclClasses.hpp%26gt; to %26lt;Classes.hpp%26gt; ,but it's still not working. Do you have any suggestions
Setting up opengl in new turbo c++(turbo explorer)?
try this site for OpenGL
http://www.allanpetersen.com/opengl.htm
or just go to http://sourceforge.net and find OpenGL there
Sunday, July 26, 2009
I need the GUI compiler TurboC++ 4.5 by Borland?
Please tell me the website where Turbo C++ 4.5 GUI compiler can be downloaded.
Thanks
I need the GUI compiler TurboC++ 4.5 by Borland?
http://www.borland.com/bcppbuilder/freec...
hope this would help...if you are really a programmer you search the net...pls let us know if you have find one
Reply:You BUY IT... I don't think you can get it for FREE.
flowers gifts
Thanks
I need the GUI compiler TurboC++ 4.5 by Borland?
http://www.borland.com/bcppbuilder/freec...
hope this would help...if you are really a programmer you search the net...pls let us know if you have find one
Reply:You BUY IT... I don't think you can get it for FREE.
flowers gifts
Is there any built-in parameter-passing devices in Borland's Turbo Assembler 5.0?
I am getting confused with manipulating all the registers, so I was wondering if there's some built-in parameter-passing devices in TASM like that in C and Java. I believe MASM has one but, fortunately or unfortunately, we use TASM for my Assembly Programming class.
Is there any built-in parameter-passing devices in Borland's Turbo Assembler 5.0?
You can use the CALL instruction (it's extended to support the calling of object methods)..
CALL instance_otr METHOD [object_name:]method_name [USES [segreg:]offreg] [language_and_args]
If you have the TASM manual, you ge the syntax in chapter 13..
Is there any built-in parameter-passing devices in Borland's Turbo Assembler 5.0?
You can use the CALL instruction (it's extended to support the calling of object methods)..
CALL instance_otr METHOD [object_name:]method_name [USES [segreg:]offreg] [language_and_args]
If you have the TASM manual, you ge the syntax in chapter 13..
Borland turbo assembler problem?
I downloaded the following:
tasm.exe
tlink.exe
rtm.exe
td.exe
tlib.exe
i created a new folder and when i try to do the following :
tasm /zi/l/c pgm1
i get this message:
C:\41%26gt;tasm /zi/l/c pgm1
'tasm' is not recognized as an internal or external command,
operable program or batch file.
C:\41%26gt;
what gives???
Borland turbo assembler problem?
Which folder did you install Turbo Assembler to? The problem is that the folder that you used to store Turbo Assembler is not part of the "path" that Windows uses to look for executables (including batch files). That is, there is a system variable called Path that Windows uses whenever you type in a command at the DOS prompt.
From the DOS prompt, if you type PATH and hit the Enter key, you'll see something like:
c:\41%26gt;PATH
PATH=C:\WINDOWS\system32;C:\WINDOWS;
Each folder along the path, which are separated by semicolons, is searched whenever you try to run a DOS command or executable.
There are two ways around this:
1) Include the full path name when you execute tasm. For example, if you stored your Turbo Assembler files in C:\TA, then you could type:
C:\41%26gt;c:\ta\tasm /zi/l/c pgm1
2) Best way, though, is to add the Turbo Assembler folder to the Path. Right-click on My Computer, click the Advanced tab, click the button at the bottom labeled Environment Variables. Scroll through the bottom list box, labeled System Variables, until you see Path. Highlight that row and click the Edit button. Add a semicolon at the end of the current path, then add your Turbo Assembler folder after that. Click OK three times and re-open a new DOS window. Now Windows will be able to find tasm when you type it in the DOS window.
Keep in mind that you may also need to add other environment variables for Turbo Assembler; if so, follow the same steps above to add the ones you need.
daylily
tasm.exe
tlink.exe
rtm.exe
td.exe
tlib.exe
i created a new folder and when i try to do the following :
tasm /zi/l/c pgm1
i get this message:
C:\41%26gt;tasm /zi/l/c pgm1
'tasm' is not recognized as an internal or external command,
operable program or batch file.
C:\41%26gt;
what gives???
Borland turbo assembler problem?
Which folder did you install Turbo Assembler to? The problem is that the folder that you used to store Turbo Assembler is not part of the "path" that Windows uses to look for executables (including batch files). That is, there is a system variable called Path that Windows uses whenever you type in a command at the DOS prompt.
From the DOS prompt, if you type PATH and hit the Enter key, you'll see something like:
c:\41%26gt;PATH
PATH=C:\WINDOWS\system32;C:\WINDOWS;
Each folder along the path, which are separated by semicolons, is searched whenever you try to run a DOS command or executable.
There are two ways around this:
1) Include the full path name when you execute tasm. For example, if you stored your Turbo Assembler files in C:\TA, then you could type:
C:\41%26gt;c:\ta\tasm /zi/l/c pgm1
2) Best way, though, is to add the Turbo Assembler folder to the Path. Right-click on My Computer, click the Advanced tab, click the button at the bottom labeled Environment Variables. Scroll through the bottom list box, labeled System Variables, until you see Path. Highlight that row and click the Edit button. Add a semicolon at the end of the current path, then add your Turbo Assembler folder after that. Click OK three times and re-open a new DOS window. Now Windows will be able to find tasm when you type it in the DOS window.
Keep in mind that you may also need to add other environment variables for Turbo Assembler; if so, follow the same steps above to add the ones you need.
daylily
Whats the best ASM compiler for Intel processors (16 bit or others)?
I need for learning in college. Currently we use the one from Borland C++ 3.1 for Dos (tasm.exe).
Whats the best ASM compiler for Intel processors (16 bit or others)?
I don't think you can get them anymore...
What's wrong with the tasm.exe ?? That seems like what you should use, if that's what your class is using.
Go to the Microsoft web site and search for it. I used Microsoft assemblers a long time ago. (Back in the DOS days)
Search for 2500AD compilers, they make all kinds of stuff.
Keil also should have it....
That's all I can think of off the top of my head,
good luck..
Whats the best ASM compiler for Intel processors (16 bit or others)?
I don't think you can get them anymore...
What's wrong with the tasm.exe ?? That seems like what you should use, if that's what your class is using.
Go to the Microsoft web site and search for it. I used Microsoft assemblers a long time ago. (Back in the DOS days)
Search for 2500AD compilers, they make all kinds of stuff.
Keil also should have it....
That's all I can think of off the top of my head,
good luck..
Any one good at programming ?
i wanna write a program in borland c language when the user write a even number the program print this number is even and if else else print to the user this number is odd how i can make the computer characterize which is even and which is odd
Any one good at programming ?
Use the modulo (%) character. The modulo is like a division character but it only returns a 0 or 1.
0=no remainder
1=remainder
Example:
input: 67
------------------------------------
number = 67;
if((67%2)=0){
printf("the number %d is even", number);
}
else{
printf("the number %d is odd", number);
}
In the above example, when you express (67%2) this returns a 1 since there is a remainder. Therefore, 1=0 is a false statement and the program will print the line in the else block.
Reply:just another unique way would be:
int number;
//get input
if (number %26amp; 0x1)
printf("number is odd");
else
printf("number is even");
Reply:very simple...two ways to find it out...
you can take the mod % of the entered number by 2
if the answer is 1 then its an odd number, else its an even number
secondly you can divide the entered number with 2
if the result is integer...the number is even, if the result is float, the result is odd
Any one good at programming ?
Use the modulo (%) character. The modulo is like a division character but it only returns a 0 or 1.
0=no remainder
1=remainder
Example:
input: 67
------------------------------------
number = 67;
if((67%2)=0){
printf("the number %d is even", number);
}
else{
printf("the number %d is odd", number);
}
In the above example, when you express (67%2) this returns a 1 since there is a remainder. Therefore, 1=0 is a false statement and the program will print the line in the else block.
Reply:just another unique way would be:
int number;
//get input
if (number %26amp; 0x1)
printf("number is odd");
else
printf("number is even");
Reply:very simple...two ways to find it out...
you can take the mod % of the entered number by 2
if the answer is 1 then its an odd number, else its an even number
secondly you can divide the entered number with 2
if the result is integer...the number is even, if the result is float, the result is odd
Laptop for software programming?
i need a laptop with very high speed because i want to do software programming on it .i will be running softwares like netbeans,borland c++,visual basic,....
no apple laptops ,can u please name the brands which will suit me.
Laptop for software programming?
It is correct that you will not need a really fast machine unless you are doing intensive object oriented programming in java or other high level languages and testing interfaces. Anyway, be sure not to get Dell, there best performance is in server machines for business and desktops for personal use. Look into Toshiba and Acer they are the most prominant and successful laptop brands out right now. Also, avoid emachines, for saving money I recommend CompaQ, they are not the fastest, but the best for the money and there ties with Hewlitt Packard have made them much more Customer service oriented so you can get the best support and services after purchases.
Hope this helps. Also if you can hold out on laptop for 1 year it would be wise because the release of Windows vista in the next few months and 6 months to attribute quality patches and the industry will start making major hardware changes to keep up and support the latest and greatest operating system.
Reply:Depends how complex is your environment, what resources are you using and what type of hardware is the most solicitated... If you intend to do a lot of OpenGL or DirectX programming you will need one with more than 1Ghz on processor, a good graphical card and at least 1Gb of RAM. Also 7200 rpm on hdd (if you use a lot of texture loading). I'm doing a lot of graphics and I've bought last year a new "Fujitsu-Siemens" with pentium mobile (M750) (1.7 Ghz... but the real freq. is arround 3Ghz compared to P4... this is another discusion), with 1Gb of RAM, graphical card GeForce 6800 with 256MB, and 100Gb on my HDD (with 7200 rpm) (I'm not describing here the other components). It has a 17" screen (a little heavy (arround 4.5 kg)) and it costs 1300E... This is a good computer for programming and not very expensive... If you don't intend to use it for this purpose, you can try a cheaper model, (they have some models on less than 800E) ... If you live in Germany, you can check any Mediamarkt...:D
Reply:I'd say go with either an IBM or a Dell, they both make good laptops. If you are going to do 3d graphics then dell has a wider variety, but IBM has good quality.
Reply:.... what? wait a second.
You don't need high speed for software engineering. Any 1.X Ghz machine will work just fine for you. The only reason you'll ever need anything with super high power is for gaming and/or graphics. Otherwise, there is no need.
As for what brand of laptop to get, you really should check on consumer reports. Every laptop has its pros and cons. You have to choose what YOU can live with, to fit your specific palette.
ie: I have a dell at work that is dual-core 2.2Ghz with 2 gigs of ram. That's because I do intensive computer graphics and engineering at work. If I were doing other forms of development, I'd use a 1.4Ghz with 1Gig of Ram.
no apple laptops ,can u please name the brands which will suit me.
Laptop for software programming?
It is correct that you will not need a really fast machine unless you are doing intensive object oriented programming in java or other high level languages and testing interfaces. Anyway, be sure not to get Dell, there best performance is in server machines for business and desktops for personal use. Look into Toshiba and Acer they are the most prominant and successful laptop brands out right now. Also, avoid emachines, for saving money I recommend CompaQ, they are not the fastest, but the best for the money and there ties with Hewlitt Packard have made them much more Customer service oriented so you can get the best support and services after purchases.
Hope this helps. Also if you can hold out on laptop for 1 year it would be wise because the release of Windows vista in the next few months and 6 months to attribute quality patches and the industry will start making major hardware changes to keep up and support the latest and greatest operating system.
Reply:Depends how complex is your environment, what resources are you using and what type of hardware is the most solicitated... If you intend to do a lot of OpenGL or DirectX programming you will need one with more than 1Ghz on processor, a good graphical card and at least 1Gb of RAM. Also 7200 rpm on hdd (if you use a lot of texture loading). I'm doing a lot of graphics and I've bought last year a new "Fujitsu-Siemens" with pentium mobile (M750) (1.7 Ghz... but the real freq. is arround 3Ghz compared to P4... this is another discusion), with 1Gb of RAM, graphical card GeForce 6800 with 256MB, and 100Gb on my HDD (with 7200 rpm) (I'm not describing here the other components). It has a 17" screen (a little heavy (arround 4.5 kg)) and it costs 1300E... This is a good computer for programming and not very expensive... If you don't intend to use it for this purpose, you can try a cheaper model, (they have some models on less than 800E) ... If you live in Germany, you can check any Mediamarkt...:D
Reply:I'd say go with either an IBM or a Dell, they both make good laptops. If you are going to do 3d graphics then dell has a wider variety, but IBM has good quality.
Reply:.... what? wait a second.
You don't need high speed for software engineering. Any 1.X Ghz machine will work just fine for you. The only reason you'll ever need anything with super high power is for gaming and/or graphics. Otherwise, there is no need.
As for what brand of laptop to get, you really should check on consumer reports. Every laptop has its pros and cons. You have to choose what YOU can live with, to fit your specific palette.
ie: I have a dell at work that is dual-core 2.2Ghz with 2 gigs of ram. That's because I do intensive computer graphics and engineering at work. If I were doing other forms of development, I'd use a 1.4Ghz with 1Gig of Ram.
Can u tell me where i can copy the output.?
in borland c
we cant copy the out put
tell me where we can copy the out put
of the program
Can u tell me where i can copy the output.?
copy it in word.
Reply:If the output is in cmd console, right click on it, click mark, select the output, press CTRL+C. Go to another text editor, press CTRL+V
flamingo plant
we cant copy the out put
tell me where we can copy the out put
of the program
Can u tell me where i can copy the output.?
copy it in word.
Reply:If the output is in cmd console, right click on it, click mark, select the output, press CTRL+C. Go to another text editor, press CTRL+V
flamingo plant
How can I write a progam that calculate age from current date to:year, month,day,hour?? (cosidering leap year?
I have to solve it with borland C++
How can I write a progam that calculate age from current date to:year, month,day,hour?? (cosidering leap year?
Something like this?
#include%26lt;stdio.h%26gt;
#include%26lt;conio.h%26gt;
#include%26lt;iostream.h%26gt;
#include%26lt;time.h%26gt;
#include%26lt;alloc.h%26gt;
#include%26lt;math.h%26gt;
char months[12][3]={"Jan","Feb","Mar","Apr","...
void main()
{
clrscr();
int j,d,m,y,day=0,month,year=0;
char ch;
char *p;
time_t tnow;
time(%26amp;tnow);
p=(char *)malloc(sizeof(tnow));
p=ctime(%26amp;tnow);
for(month=0;month%26lt;12;month++)
if(months[month][0]==p[4])
if(months[month][1]==p[5])
if(months[month][2]==p[6])
{
month++;
break;
}
for(j=0;j%26lt;4;j++)
year=(year*10)+abs(48-(int)p[j+20]);
day=abs(48-(int)p[8])*10+abs(48-(int)p...
wrong:
cout%26lt;%26lt;"enter the date of birth::";
cin%26gt;%26gt;d%26gt;%26gt;ch%26gt;%26gt;m%26gt;%26gt;ch%26gt;%26gt;y;
if(!(d%26gt;=1 %26amp;%26amp; d%26lt;=31 %26amp;%26amp; m%26gt;=1 %26amp;%26amp; m%26lt;=12)||(y%4==0 %26amp;%26amp; m==2 %26amp;%26amp; d%26gt;29) || (y%4!=0 %26amp;%26amp; m==2 %26amp;%26amp; d%26gt;28))
{
printf("You have entered wrong data\n");
goto wrong;
}
cout%26lt;%26lt;"Your current age is"
if(m%26lt;=month %26amp;%26amp; d%26lt;=day)
cout%26lt;%26lt;year-y;
else
cout%26lt;%26lt;(year-y-1);
getch();
}
Reply:Use excel sheet
put current date in date formatted cell
put your date of birth in another cell
get the dufference between above cells in formula assigned cell. You gaet exact no.of days.
How can I write a progam that calculate age from current date to:year, month,day,hour?? (cosidering leap year?
Something like this?
#include%26lt;stdio.h%26gt;
#include%26lt;conio.h%26gt;
#include%26lt;iostream.h%26gt;
#include%26lt;time.h%26gt;
#include%26lt;alloc.h%26gt;
#include%26lt;math.h%26gt;
char months[12][3]={"Jan","Feb","Mar","Apr","...
void main()
{
clrscr();
int j,d,m,y,day=0,month,year=0;
char ch;
char *p;
time_t tnow;
time(%26amp;tnow);
p=(char *)malloc(sizeof(tnow));
p=ctime(%26amp;tnow);
for(month=0;month%26lt;12;month++)
if(months[month][0]==p[4])
if(months[month][1]==p[5])
if(months[month][2]==p[6])
{
month++;
break;
}
for(j=0;j%26lt;4;j++)
year=(year*10)+abs(48-(int)p[j+20]);
day=abs(48-(int)p[8])*10+abs(48-(int)p...
wrong:
cout%26lt;%26lt;"enter the date of birth::";
cin%26gt;%26gt;d%26gt;%26gt;ch%26gt;%26gt;m%26gt;%26gt;ch%26gt;%26gt;y;
if(!(d%26gt;=1 %26amp;%26amp; d%26lt;=31 %26amp;%26amp; m%26gt;=1 %26amp;%26amp; m%26lt;=12)||(y%4==0 %26amp;%26amp; m==2 %26amp;%26amp; d%26gt;29) || (y%4!=0 %26amp;%26amp; m==2 %26amp;%26amp; d%26gt;28))
{
printf("You have entered wrong data\n");
goto wrong;
}
cout%26lt;%26lt;"Your current age is"
if(m%26lt;=month %26amp;%26amp; d%26lt;=day)
cout%26lt;%26lt;year-y;
else
cout%26lt;%26lt;(year-y-1);
getch();
}
Reply:Use excel sheet
put current date in date formatted cell
put your date of birth in another cell
get the dufference between above cells in formula assigned cell. You gaet exact no.of days.
Could not load tllink.exe?
i get the above error when try to run a graphics program in my Borland c++ compiler under DOS(standard) mode..
what should i do to get rid of it??
any idea y this occurs??
Could not load tllink.exe?
Well, depending on the exact situation one of three things is going on. They are:
1.) The path variable in the editor for the linker (tlink.exe) is incorrect or non-existent.
2.) The file itself is corrupt. Try a re-install from the media or a download from Borland's Software Mueseum.
3.) If you're actually running some version of the original DOS on a VERY OLD machine, you may have to set up memory differently to assure you have space to run the complier and linker at the same time. This is a black art involving himem.sys and emm386.exe and the autoexec.bat and config.sys files. LOL, (lord, I'm old!?)
Reply:The path you need to set is a variable that is usually accessible through the IDE (editor) menus somewhere. If I knew which version you're running, I might be more specific here. Check menu items that say things like "Directories" or "Tool Menu Options". Report It
what should i do to get rid of it??
any idea y this occurs??
Could not load tllink.exe?
Well, depending on the exact situation one of three things is going on. They are:
1.) The path variable in the editor for the linker (tlink.exe) is incorrect or non-existent.
2.) The file itself is corrupt. Try a re-install from the media or a download from Borland's Software Mueseum.
3.) If you're actually running some version of the original DOS on a VERY OLD machine, you may have to set up memory differently to assure you have space to run the complier and linker at the same time. This is a black art involving himem.sys and emm386.exe and the autoexec.bat and config.sys files. LOL, (lord, I'm old!?)
Reply:The path you need to set is a variable that is usually accessible through the IDE (editor) menus somewhere. If I knew which version you're running, I might be more specific here. Check menu items that say things like "Directories" or "Tool Menu Options". Report It
Installing softwares in other langauges.?
My operating system is in English though i use most of japanese software for my studies.First when i installed my dell printer I found the the japanese words could not be shown.There are just some signs like this $B$j$,$H$%26amp;$4$6$$$^$. I have tried t
my level best to do a way with it but it can`t work out for me.Just was also trying to install borland c++ compiler 5.5 for my programming lession but then in the task bar the same thing came out.HEeeeeeeeelp.How can I help my self so that the i can read japanese words and commands
Installing softwares in other langauges.?
Try this-
It shud help you - http://nitchiddl.prophp.org
Reply:go to religion setting and choose the language
my level best to do a way with it but it can`t work out for me.Just was also trying to install borland c++ compiler 5.5 for my programming lession but then in the task bar the same thing came out.HEeeeeeeeelp.How can I help my self so that the i can read japanese words and commands
Installing softwares in other langauges.?
Try this-
It shud help you - http://nitchiddl.prophp.org
Reply:go to religion setting and choose the language
Developing Symbian Application?
How can i create symbian application using VC++ and VB 6.0 or even Borland C++ (I am pretty good in all of them)
Developing Symbian Application?
Download the specific SDK for your Platform and Programing language u wan2 use. You can use VC++ (Using SDK ), VB 6.0 (using Appforge VB Mobile), Borland X Builder, Python, CodeWarrior, Microsoft .NET and many other language.
Reply:aright
first you need to have Symbian SDK
you may download it from www.symbian.com or from Nokia's Technical development Lounge
www.nokia.com
once u have the development kit installed, it purges your computer with a hundred of predefined libraries,
the usual programming syntax is the same whether you choose VB or VC , u just have to look for the methods and Objects in the Symbian Libraries ( i hope u can easily judge, if u have an idea to retrieve the API functions of windows ),
Dont forget to download the Symbian Emulator, Once your project is compiled, it emulates and makes a (.SIS) file.
there u go
done
try using this , if still have any problem, just give me a buzz
omer@omerch.net
umbrella plant
Developing Symbian Application?
Download the specific SDK for your Platform and Programing language u wan2 use. You can use VC++ (Using SDK ), VB 6.0 (using Appforge VB Mobile), Borland X Builder, Python, CodeWarrior, Microsoft .NET and many other language.
Reply:aright
first you need to have Symbian SDK
you may download it from www.symbian.com or from Nokia's Technical development Lounge
www.nokia.com
once u have the development kit installed, it purges your computer with a hundred of predefined libraries,
the usual programming syntax is the same whether you choose VB or VC , u just have to look for the methods and Objects in the Symbian Libraries ( i hope u can easily judge, if u have an idea to retrieve the API functions of windows ),
Dont forget to download the Symbian Emulator, Once your project is compiled, it emulates and makes a (.SIS) file.
there u go
done
try using this , if still have any problem, just give me a buzz
omer@omerch.net
umbrella plant
How can I write a program that calculate age from current date to year,month,day,hour??(cosideri... leap year)?
I have to write it with Borland C++
PLz help meeeee.
I am in hurry:)
How can I write a program that calculate age from current date to year,month,day,hour??(cosideri... leap year)?
Google it.
Google "Borland C++ tutorials" - it will be good learning for you.
Reply:Do the normal addition and multiplication function in order to find estimated age (not counting leap year) then add age in years divided by four as days for leap year. This should work out alright since this year was a Leap Year. If you want a more accurate approach, you will have to write a lot of if's and then's.
PLz help meeeee.
I am in hurry:)
How can I write a program that calculate age from current date to year,month,day,hour??(cosideri... leap year)?
Google it.
Google "Borland C++ tutorials" - it will be good learning for you.
Reply:Do the normal addition and multiplication function in order to find estimated age (not counting leap year) then add age in years divided by four as days for leap year. This should work out alright since this year was a Leap Year. If you want a more accurate approach, you will have to write a lot of if's and then's.
THashedStringList?
I'm using Borland c++ builder. I've added objects which are basically lists to a THashedStringList, how would I retrieve the object from the THashedStringList at a later date. I know I need to iterate through the list..possibly a for loop
TIA
THashedStringList?
Nobody knows that stuff. Maybe you should invest in a c++ book..
TIA
THashedStringList?
Nobody knows that stuff. Maybe you should invest in a c++ book..
MS-DOS command line problems?
i have installed borland c++ comman line tools
but when i type bcc32.exe on commandline
i get the following error message:
"bcc32.exe is not recognised as an internal or external command,
operable program or batch file."
How can i solve this?
MS-DOS command line problems?
.
You have to give the path where the exe of borland C is present in Dos.
For eg. consider you have the exe file in the path "c:\BorlandC\bin", then you should give the below command in dos before executing bcc32.exe.
path=%path%;c:\BorlandC\bin
For further info, visit http://www.textpad.com/support/tips/borl...
**********
Vasu M
**********
Reply:Make sure you have your file bcc32.exe in correct path and you have set the path parameter with path=c:\Dirname;
Also check that you are using correct spelling.
Reply:go to that particular directory where u install your software and run command from that location.
Reply:When you start MS DOS it tosses you into "Documents and Settings" Are you in the right directory?
Not being recognized tells me you aren't.
Change directories to your Borland installation and then type "run bcc32.exe"
Reply:Which version of Windows/DOS are you running this program.
1)see if application is compatible with windows/dos version?
2)If you have installed it on Windows. Look for the path where Boroland is installed. By default installation path is c:\Program Files\.. To set the path in windows2000/XP Right click on My computers, select properties. Go-to Advanced. Click on Environment Variables.Under system variables select path , Edit and enter the exact path.
3) If you are running on DOS. edit c:\autoexec.bat
and type
PATH=c:\Dir(where borland is installed)
Reply:1. open NotePad program
2. type the complete path(along with the name of hard-disk ) of bcc32.exe in it
3. save the file as bcc32.cmd in C:\WINDOWS
now u can use command "bcc32" from anywher in windows, irrespective of the directory u r in
======================================...
I installed Borland myself and discovered a
BETTER SOLUTION !!!!!!!!!!!!
1. open notepad
2. type this:-
set path=c:\borland\bcc55\bin;%path%
(replace the 3 dots "..." with "h%" above)
3. save this file as "setenv.bat" in "c:\borland\bcc55\bin"
5. right-click anywhere in empty space on desktop
6. move mouse to "New"
7. click "Shortcut"
8. type this in the text-box :
%comspec% /k "c:\borland\bcc55\bin\setenv.bat"
(replace the 3 dots ' ... ' with ' at" ' )
9. hit "Next" button
10. type this in text-box : "BORLAND C++"
11. hit "Finish" button
12. double click on this shortcut and type any borland_C++ command, on the commandline. all will work!!!!
but when i type bcc32.exe on commandline
i get the following error message:
"bcc32.exe is not recognised as an internal or external command,
operable program or batch file."
How can i solve this?
MS-DOS command line problems?
.
You have to give the path where the exe of borland C is present in Dos.
For eg. consider you have the exe file in the path "c:\BorlandC\bin", then you should give the below command in dos before executing bcc32.exe.
path=%path%;c:\BorlandC\bin
For further info, visit http://www.textpad.com/support/tips/borl...
**********
Vasu M
**********
Reply:Make sure you have your file bcc32.exe in correct path and you have set the path parameter with path=c:\Dirname;
Also check that you are using correct spelling.
Reply:go to that particular directory where u install your software and run command from that location.
Reply:When you start MS DOS it tosses you into "Documents and Settings" Are you in the right directory?
Not being recognized tells me you aren't.
Change directories to your Borland installation and then type "run bcc32.exe"
Reply:Which version of Windows/DOS are you running this program.
1)see if application is compatible with windows/dos version?
2)If you have installed it on Windows. Look for the path where Boroland is installed. By default installation path is c:\Program Files\.. To set the path in windows2000/XP Right click on My computers, select properties. Go-to Advanced. Click on Environment Variables.Under system variables select path , Edit and enter the exact path.
3) If you are running on DOS. edit c:\autoexec.bat
and type
PATH=c:\Dir(where borland is installed)
Reply:1. open NotePad program
2. type the complete path(along with the name of hard-disk ) of bcc32.exe in it
3. save the file as bcc32.cmd in C:\WINDOWS
now u can use command "bcc32" from anywher in windows, irrespective of the directory u r in
======================================...
I installed Borland myself and discovered a
BETTER SOLUTION !!!!!!!!!!!!
1. open notepad
2. type this:-
set path=c:\borland\bcc55\bin;%path%
(replace the 3 dots "..." with "h%" above)
3. save this file as "setenv.bat" in "c:\borland\bcc55\bin"
5. right-click anywhere in empty space on desktop
6. move mouse to "New"
7. click "Shortcut"
8. type this in the text-box :
%comspec% /k "c:\borland\bcc55\bin\setenv.bat"
(replace the 3 dots ' ... ' with ' at" ' )
9. hit "Next" button
10. type this in text-box : "BORLAND C++"
11. hit "Finish" button
12. double click on this shortcut and type any borland_C++ command, on the commandline. all will work!!!!
How can I delete a program where the uninstall is on CD I don't have?
I've an old Borland C++ program using up nearly 400MB of my hard drive and I've never once used it, but when I try and uninstall it, it says it needs the CDROM to uninstall. Is there any way around this?
I'm having serious memory shortage issues ( I need to get myself sorted with a usb hard-drive, but can't afford one just yet..), any suggestions for a short-term solution?
How can I delete a program where the uninstall is on CD I don't have?
Click on Start- Control Panel- Add/Remove Programs- Find the program- Click on Remove/un-install button. If it doesn't allow to remove the program from Add/Remove programs try deleting it from Registry.
Please follow the steps below to delete the program from Registry.
These steps involve Windows Registry modifications and hence I suggest you take a backup of the registry before applying the solution.
Registry Backup:
1. Click Start, Run and type regedit.
2. Click File on Registry menu and select Export to File option.
3. Select the radio button beside “All” option.
4. Give a file name (say regbackup) and save it onto the desktop.
Please follow the steps below to delet the program from Registry
1. Click Start, Run and type regedit and hit enter to open Registry menu.
2. Click "+" beside HKEY_LOCAL_MACHINE.
3. Click "+" beside Software .
4. Click "+" beside Microsoft.
5. Click "+" beside Windows.
6. Click "+" beside CurrentVersion.
7. Click "+" beside Uninstall.
Try to find the program which you want to delete. After finding the program, Right-Click on the program and select Delete/Uninstall.
After deleting the program, close the Registry Menu and restart the system.
Reply:if you have windows, got to start and control pannel, and there i an option that says change/remove programs. you click on that and it creates a list and you just find it on the list and remove it!!
Reply:hello!
i suggest that delete it in add/remove or remove programs in control panel.... it is start menu then control panel and click the add/remove programs... from there just click the program you want to delete whether its on cd or not... Godbless! =)
deliver flowers
I'm having serious memory shortage issues ( I need to get myself sorted with a usb hard-drive, but can't afford one just yet..), any suggestions for a short-term solution?
How can I delete a program where the uninstall is on CD I don't have?
Click on Start- Control Panel- Add/Remove Programs- Find the program- Click on Remove/un-install button. If it doesn't allow to remove the program from Add/Remove programs try deleting it from Registry.
Please follow the steps below to delete the program from Registry.
These steps involve Windows Registry modifications and hence I suggest you take a backup of the registry before applying the solution.
Registry Backup:
1. Click Start, Run and type regedit.
2. Click File on Registry menu and select Export to File option.
3. Select the radio button beside “All” option.
4. Give a file name (say regbackup) and save it onto the desktop.
Please follow the steps below to delet the program from Registry
1. Click Start, Run and type regedit and hit enter to open Registry menu.
2. Click "+" beside HKEY_LOCAL_MACHINE.
3. Click "+" beside Software .
4. Click "+" beside Microsoft.
5. Click "+" beside Windows.
6. Click "+" beside CurrentVersion.
7. Click "+" beside Uninstall.
Try to find the program which you want to delete. After finding the program, Right-Click on the program and select Delete/Uninstall.
After deleting the program, close the Registry Menu and restart the system.
Reply:if you have windows, got to start and control pannel, and there i an option that says change/remove programs. you click on that and it creates a list and you just find it on the list and remove it!!
Reply:hello!
i suggest that delete it in add/remove or remove programs in control panel.... it is start menu then control panel and click the add/remove programs... from there just click the program you want to delete whether its on cd or not... Godbless! =)
deliver flowers
Which of the following tools is a direct competitor to Visual Studio?
a. Borland C# Builder
b. InstallShield DevStudio
c. Nant
d. Altova xmlspy
Which of the following tools is a direct competitor to Visual Studio?
b
Now gimme my 10 points
Reply:c. Nant
Reply:Borland C#Builder
b. InstallShield DevStudio
c. Nant
d. Altova xmlspy
Which of the following tools is a direct competitor to Visual Studio?
b
Now gimme my 10 points
Reply:c. Nant
Reply:Borland C#Builder
Challenging Question for IT Only !!!?
Do it using C Language. So, I will check your answer in my Borland C. I will pick the best answer for the fastest and the right answer. Better fasten your seat belt !?
Find the Perfect Number.
Sample Number : 28
The factorial from 28 is : 1,2,4,7,14
If you multiple the factorial, you will get back the sample Number :
1+2+4+7+14 = 28.
That's called Perfect Number.
Sample input :
6
28
Sample output :
1,2,3
1,2,4,7,14
Challenging Question for IT Only !!!?
I shouldn't be doing this but.... This code will generate all perfect numbers from an interval which you place into the stdin (the console). For example if you want all perfect numbers from [1,1000] just type 1 1000. Here is the code:
#include %26lt;stdio.h%26gt;
bool perfect(int x){
int s=0;
for (int i=1;i%26lt;=(x/2)+1;i++)
if (x%i==0) s+=i;
if (s==x) return true;
return false;
}
void gen(int x){
for (int i=1;i%26lt;=(x/2)+1;i++)
if (x%i==0) printf("%d ",i);
printf("\n");
}
int main() {
int a,b;
scanf("%d %d",%26amp;a,%26amp;b);
if ((a*b%26lt;0) || (a%26gt;b)) {printf("Input error!"); return 1;}
for (int i=a;i%26lt;=b;i++)
if (perfect(i)) {printf("%d :",i); gen(i);}
return 0;
}
Be careful how you ask qusetions next time :). That's not multiplying.
Reply:THATS IT.....
..........U GOT IT!
Reply:huh
Reply:Certainly NOT gonna write in C. Would take some effort in VB, but I don't feel like doing it right now. Also, this is not necessarly for IT experts -- more for developers as most "IT experts" don't do a whole lot of C developing.
Reply:They're kinda called factors not factorials... Oh and you're excluding the number itself, which is always a factor of itself... But I'm gonna base it without the number itself... I'm guessing you mean a program that finds perfect numbers... so... Here it goes:
#include %26lt;cstdlib%26gt;
#include %26lt;iostream%26gt;
#include %26lt;string%26gt;
#include %26lt;sstream%26gt;
using namespace std;
int findFactorsSum(int k)
{
int sum = 0;
for(int i = 1; i %26lt; k; ++i)
{
if(k%i==0)
{
sum+=i;
}
}
return sum;
}
int main(int argc, char *argv[])
{
if ( argc == 3)
{
istringstream buffer(argv[1]);
int start;
int end;
buffer %26gt;%26gt; start;
istringstream buffer2(argv[2]);
buffer2 %26gt;%26gt; end;
for(int i = start; i %26lt; end; ++i)
{
int sum = findFactorsSum(i);
if (sum == i)
{
cout %26lt;%26lt; i %26lt;%26lt; endl;
}
}
}
else
{
cout %26lt;%26lt; "Usage: pn %26lt;startingNo%26gt; %26lt;endingNo%26gt;" %26lt;%26lt; endl;
}
system("PAUSE");
return EXIT_SUCCESS;
}
Reply:You said multiple the factoral when actually you are adding the factorals
Reply:thats not a factorial e.g a factorial for 7 is 1*2*3*4*5*6*7
,
and thats adition not multiple(1+2+4+7+14)
Find the Perfect Number.
Sample Number : 28
The factorial from 28 is : 1,2,4,7,14
If you multiple the factorial, you will get back the sample Number :
1+2+4+7+14 = 28.
That's called Perfect Number.
Sample input :
6
28
Sample output :
1,2,3
1,2,4,7,14
Challenging Question for IT Only !!!?
I shouldn't be doing this but.... This code will generate all perfect numbers from an interval which you place into the stdin (the console). For example if you want all perfect numbers from [1,1000] just type 1 1000. Here is the code:
#include %26lt;stdio.h%26gt;
bool perfect(int x){
int s=0;
for (int i=1;i%26lt;=(x/2)+1;i++)
if (x%i==0) s+=i;
if (s==x) return true;
return false;
}
void gen(int x){
for (int i=1;i%26lt;=(x/2)+1;i++)
if (x%i==0) printf("%d ",i);
printf("\n");
}
int main() {
int a,b;
scanf("%d %d",%26amp;a,%26amp;b);
if ((a*b%26lt;0) || (a%26gt;b)) {printf("Input error!"); return 1;}
for (int i=a;i%26lt;=b;i++)
if (perfect(i)) {printf("%d :",i); gen(i);}
return 0;
}
Be careful how you ask qusetions next time :). That's not multiplying.
Reply:THATS IT.....
..........U GOT IT!
Reply:huh
Reply:Certainly NOT gonna write in C. Would take some effort in VB, but I don't feel like doing it right now. Also, this is not necessarly for IT experts -- more for developers as most "IT experts" don't do a whole lot of C developing.
Reply:They're kinda called factors not factorials... Oh and you're excluding the number itself, which is always a factor of itself... But I'm gonna base it without the number itself... I'm guessing you mean a program that finds perfect numbers... so... Here it goes:
#include %26lt;cstdlib%26gt;
#include %26lt;iostream%26gt;
#include %26lt;string%26gt;
#include %26lt;sstream%26gt;
using namespace std;
int findFactorsSum(int k)
{
int sum = 0;
for(int i = 1; i %26lt; k; ++i)
{
if(k%i==0)
{
sum+=i;
}
}
return sum;
}
int main(int argc, char *argv[])
{
if ( argc == 3)
{
istringstream buffer(argv[1]);
int start;
int end;
buffer %26gt;%26gt; start;
istringstream buffer2(argv[2]);
buffer2 %26gt;%26gt; end;
for(int i = start; i %26lt; end; ++i)
{
int sum = findFactorsSum(i);
if (sum == i)
{
cout %26lt;%26lt; i %26lt;%26lt; endl;
}
}
}
else
{
cout %26lt;%26lt; "Usage: pn %26lt;startingNo%26gt; %26lt;endingNo%26gt;" %26lt;%26lt; endl;
}
system("PAUSE");
return EXIT_SUCCESS;
}
Reply:You said multiple the factoral when actually you are adding the factorals
Reply:thats not a factorial e.g a factorial for 7 is 1*2*3*4*5*6*7
,
and thats adition not multiple(1+2+4+7+14)
How can I write a program that calculate age from current date to year,month,day,hour??(cosideri... leap year)?
I have to write it with Borland C++
PLz help meeeee.
I am in hurry:)
How can I write a program that calculate age from current date to year,month,day,hour??(cosideri... leap year)?
Do the normal addition and multiplication function in order to find estimated age (not counting leap year) then add age in years divided by four as days for leap year. This should work out alright since this year was a Leap Year. If you want a more accurate approach, you will have to write a lot of if's and then's.
Reply:Google it.
Google "Borland C++ tutorials" - it will be good learning for you.
PLz help meeeee.
I am in hurry:)
How can I write a program that calculate age from current date to year,month,day,hour??(cosideri... leap year)?
Do the normal addition and multiplication function in order to find estimated age (not counting leap year) then add age in years divided by four as days for leap year. This should work out alright since this year was a Leap Year. If you want a more accurate approach, you will have to write a lot of if's and then's.
Reply:Google it.
Google "Borland C++ tutorials" - it will be good learning for you.
'friend' access modifier in MS Visual Studio?
Does anyone have any idea why the 'friend' modifier in VB.net works the way it does? In VB.net (and other .net languages), the friend modifier allows the element to be accessed from anywhere in the assembly. But the way I learned it in Borland C++, a friend modifier didn't give universal assembly access, but allowed you to give selective access to other classes. For example:
--- code starts here ---
class a {
public:
void aFunc(void);
}
void a::aFunc(void) {
b *B = new b();
B-%26gt;bFunc();
}
class b {
friend void a::aFunc(void);
private:
void bFunc(void);
}
void main(void) {
a A;
b B;
// the following line is legal:
A.aFunc();
// the following line is illegal (it's private):
B.bFunc();
}
--- code ends here ---
'void a::aFunc(void)' is able to call 'void b::bFunc(void)', but main() is not allowed. 'a::aFunc' is a friend.
Why doesn't VB.net work this way? Is this one of the things that fell out of the obsolete AT%26amp;T C++ Standard?
'friend' access modifier in MS Visual Studio?
The "friend" access modifier in C++ is similar to the "internal" access modifier in VB.NET and C#. "friend" in VB.NET is similar to "protected internal" in C# and doesn't really have an analog in C++.
The main difference that you are seeing is that in C++ you explicitly state that another class has access to the friend class. In .NET either everyone in the assembly has access or not (with regard to the "internal" keyword anyway... obviously you can use public / private etc). In general .NET enforces encapsulation and OO principles more tightly than C++ does... which makes it better or worse depending on your point of view! :)
Reply:If what you are saying is correct, it would be weird behavior indeed. But I'm not an expert .Net programmer. so I don't know.
So, you are saying that the "B.bFunc();" would succeed in .Net, even if the bFunc was declared private???
floral bouquets
--- code starts here ---
class a {
public:
void aFunc(void);
}
void a::aFunc(void) {
b *B = new b();
B-%26gt;bFunc();
}
class b {
friend void a::aFunc(void);
private:
void bFunc(void);
}
void main(void) {
a A;
b B;
// the following line is legal:
A.aFunc();
// the following line is illegal (it's private):
B.bFunc();
}
--- code ends here ---
'void a::aFunc(void)' is able to call 'void b::bFunc(void)', but main() is not allowed. 'a::aFunc' is a friend.
Why doesn't VB.net work this way? Is this one of the things that fell out of the obsolete AT%26amp;T C++ Standard?
'friend' access modifier in MS Visual Studio?
The "friend" access modifier in C++ is similar to the "internal" access modifier in VB.NET and C#. "friend" in VB.NET is similar to "protected internal" in C# and doesn't really have an analog in C++.
The main difference that you are seeing is that in C++ you explicitly state that another class has access to the friend class. In .NET either everyone in the assembly has access or not (with regard to the "internal" keyword anyway... obviously you can use public / private etc). In general .NET enforces encapsulation and OO principles more tightly than C++ does... which makes it better or worse depending on your point of view! :)
Reply:If what you are saying is correct, it would be weird behavior indeed. But I'm not an expert .Net programmer. so I don't know.
So, you are saying that the "B.bFunc();" would succeed in .Net, even if the bFunc was declared private???
floral bouquets
What is the best guide to learn Visual basic programming?
I am new to programming and I already have a Borland C++ compiler and a "Visual Basic for Dummies" book. The book kind of beats around the bush though, and I am interested in learning Visual Basic, then C, then C++. To see which one would suit me better, thats the order I would like to learn them in.
What is the best guide to learn Visual basic programming?
first, since you're new to programming i suggest you try
a clinical c course. them move onto c++. if you combine vb with c or c++ or any other language then vb becomes a wrapper. within vb you can execute other programs. you can also open ms applications, web applications and many other
applications from within vb. however, if you insist on vb first try
Microsoft Visual Basic 6.0 by Michael Halverson...
ISBN 1-57231-809-0 my version is copyright 1998. Check first. there may a newer version. it comes with a CD so you don't have to invest more $$ until you're sure you like it. FYI..
i too have a borland c++ complier, circa 1997. it doesn't recognize a lot of the newer c++ syntax. goto a web site
for a corp called "bloodshed". you can download a new c++ compiler for free. make sure you have a broadband internet connection.
Reply:i think you should go for the book visual basic 6.0 it has everything and detailed
Reply:The book - "Programming in Visual Basic 6.0" by Tata McGraw Hill Publications is really a good one for beginners.
Do try it, it helps a lot.
Reply:you can visit wikipedia.... there are tips and hints on how to learn visual programming... :-)
What is the best guide to learn Visual basic programming?
first, since you're new to programming i suggest you try
a clinical c course. them move onto c++. if you combine vb with c or c++ or any other language then vb becomes a wrapper. within vb you can execute other programs. you can also open ms applications, web applications and many other
applications from within vb. however, if you insist on vb first try
Microsoft Visual Basic 6.0 by Michael Halverson...
ISBN 1-57231-809-0 my version is copyright 1998. Check first. there may a newer version. it comes with a CD so you don't have to invest more $$ until you're sure you like it. FYI..
i too have a borland c++ complier, circa 1997. it doesn't recognize a lot of the newer c++ syntax. goto a web site
for a corp called "bloodshed". you can download a new c++ compiler for free. make sure you have a broadband internet connection.
Reply:i think you should go for the book visual basic 6.0 it has everything and detailed
Reply:The book - "Programming in Visual Basic 6.0" by Tata McGraw Hill Publications is really a good one for beginners.
Do try it, it helps a lot.
Reply:you can visit wikipedia.... there are tips and hints on how to learn visual programming... :-)
Graphics Help?
I hav Windows XP home edition SP2, , nd m trying to compile a grachics program in Borland C++ and Turbi C++ with the header file graphics.h, , , but m getting an error as
Fatal ..\INCLUDE\GRAPHICS.H 19: Error directive: BGI graphics not supported under Windows
it works in coll on Windows NT. . Whats the Problem??
Graphics Help?
The reason it works on NT is because NT is more DOS-based, and much older than XP (even tho' XP is NT with a cartoon interface GUI, get the -vers in DOS prompt one day to see for yourself). BIG is antiquated. BIG uses direct rendering to the graphics card. See link below.
Use DirectX if you love and adore the Windoze sandbox. Use OpenGL if you want platform indie.
Fatal ..\INCLUDE\GRAPHICS.H 19: Error directive: BGI graphics not supported under Windows
it works in coll on Windows NT. . Whats the Problem??
Graphics Help?
The reason it works on NT is because NT is more DOS-based, and much older than XP (even tho' XP is NT with a cartoon interface GUI, get the -vers in DOS prompt one day to see for yourself). BIG is antiquated. BIG uses direct rendering to the graphics card. See link below.
Use DirectX if you love and adore the Windoze sandbox. Use OpenGL if you want platform indie.
Progressing to another programming language?
When I was at college I learned to program using c++ with Borland C++ builder.I now know the language quite well.It was a few years ago when I learned it and things have moved on a bit since then. I would like to start programming again but which programming language would be best to learn now and what compiler should I use?It would be a shame to learn something totally different after I know C++ so is there a way where I can still use my C++ knowledge?
Progressing to another programming language?
Why move on? Borland made good compilers. C++ is well used, Linux is written in C. Bprland C++ builder is a C++ compiler with a simple to user windows interface. Latter versions are available and will do well. Or you could look a Delphi which is the same front end as C++ builder but uses Pascal as the language.
Reply:Java, or D (which comes from C++ if I'm correct), or the .NET languages. But C++ is a good language to keep.
Reply:Move to visual studio 2005 and the .NET platform. You can leverage your knowledge of c++ to pick up c# (becoming very widely used) or c++/cli, or just plain c++.
Reply:C++ is still the central language of many projects large and small (For example, the Firefox web browser is written mostly in C++), so depending on what you want to accomplish, why not stay with C++? If you want to develop for Windows only, the free Visual C++ Express Edition (http://msdn2.microsoft.com/en-us/express... ) is a good choice to get started. If want to be cross-platform, look into tools and IDEs that use the free GNU gcc/g++ compiler instead (Cygwin - http://www.cygwin.com is a nice commandline environment for g++ on Windows). But if you really want to move on to more "modern" languages, maybe C# is worth a look. Microsoft has a free "Express Edition" for C# too and there's some support for C# and the .NET framework outside of Windows too with the Mono Project - http://en.wikipedia.org/wiki/Mono_%28sof...
Reply:There are many Free Software projects out there using C++ . For example, Inkscape, Scribus, 7-zip, and thousands more. If you're using one, and there's something bugging you, why not join in and create a patch?
If you'd like to try something else for the experience of it, the closest thing in syntax is Java. Or, you could move further away, and try a language using a different programming concept, such as Haskell.
Progressing to another programming language?
Why move on? Borland made good compilers. C++ is well used, Linux is written in C. Bprland C++ builder is a C++ compiler with a simple to user windows interface. Latter versions are available and will do well. Or you could look a Delphi which is the same front end as C++ builder but uses Pascal as the language.
Reply:Java, or D (which comes from C++ if I'm correct), or the .NET languages. But C++ is a good language to keep.
Reply:Move to visual studio 2005 and the .NET platform. You can leverage your knowledge of c++ to pick up c# (becoming very widely used) or c++/cli, or just plain c++.
Reply:C++ is still the central language of many projects large and small (For example, the Firefox web browser is written mostly in C++), so depending on what you want to accomplish, why not stay with C++? If you want to develop for Windows only, the free Visual C++ Express Edition (http://msdn2.microsoft.com/en-us/express... ) is a good choice to get started. If want to be cross-platform, look into tools and IDEs that use the free GNU gcc/g++ compiler instead (Cygwin - http://www.cygwin.com is a nice commandline environment for g++ on Windows). But if you really want to move on to more "modern" languages, maybe C# is worth a look. Microsoft has a free "Express Edition" for C# too and there's some support for C# and the .NET framework outside of Windows too with the Mono Project - http://en.wikipedia.org/wiki/Mono_%28sof...
Reply:There are many Free Software projects out there using C++ . For example, Inkscape, Scribus, 7-zip, and thousands more. If you're using one, and there's something bugging you, why not join in and create a patch?
If you'd like to try something else for the experience of it, the closest thing in syntax is Java. Or, you could move further away, and try a language using a different programming concept, such as Haskell.
Symbian Programming?
How i can write programs for Mobile with Symbian OS (Nokia Series 60) in Borland Delphi and/or Borland C++ Builder
I prefer Borland Delphi 7, but C++ Builder is also another good choice
i searched SDKs for this IDEs but i cannot find anything. help me!
Symbian Programming?
http://www.symbian.com/developer/index.h...
There is all the information you need.
dried flowers
I prefer Borland Delphi 7, but C++ Builder is also another good choice
i searched SDKs for this IDEs but i cannot find anything. help me!
Symbian Programming?
http://www.symbian.com/developer/index.h...
There is all the information you need.
dried flowers
How can i tell my turboc compliler to find the directories in the correct path?
as i downloaded the borland c++ version 3.1 on my winow xp. and when i downloaded the version , i went in the option directories and gave path'c:\turboc'. i am actually a beginner in c\c++ programming and i do not have much knowledge about the path and directory, but i fulfilled all the instructions written on readme file of the downloading cd.so kindly help to make me feel that i can be a good programmer in c\c++ as the starting trouble seems to break my courage to make my career in programming. the program is unable to include any kind of header file as i am giving it as%26lt;stdio.h%26gt; or iostream............only this is the error iam getting this time but i think it is most probably the first and foremost thing in c\c++ programming.
How can i tell my turboc compliler to find the directories in the correct path?
Usually a compiler will have and "include" directory below the main directory so you may have to enter C:\turboc\include instead of just turboc. If that does not work, do a search for stdlib.h on your computer and enter the path where the search finds that file which will most likely be the path of the rest of the include files.
How can i tell my turboc compliler to find the directories in the correct path?
Usually a compiler will have and "include" directory below the main directory so you may have to enter C:\turboc\include instead of just turboc. If that does not work, do a search for stdlib.h on your computer and enter the path where the search finds that file which will most likely be the path of the rest of the include files.
How to disable "inline" keyword in C??
I am doing unit testing of some C code written in Unix. There is a inline keyword before so many functions in header file.
e.g.
static inline functionname(int arg)
(
// function body
}
I am compiling this code on borland compiler fo unit testing.
above function is called inside function under unittest. How do I remove significance on "inline" in one line from all other functions also.
How to disable "inline" keyword in C??
I am not sure will it work in Borland compiler, but you can try to redefine "inline" keyword with a preprocessor.
#define inline
will remove all "inline" from your code before the compilation.
Reply:First of all, inline is not a reserved word in C. It is however a reserved word in C++.
Is the compiler you are using a C compiler or a C++ compiler?
If it is indeed a C++ compiler, you may find the following tutorial to be of use:http://dn.codegear.com/sv/print/23055
On the other hand, if it is a C compiler, more information on the compiler would be helpful.
e.g.
static inline functionname(int arg)
(
// function body
}
I am compiling this code on borland compiler fo unit testing.
above function is called inside function under unittest. How do I remove significance on "inline" in one line from all other functions also.
How to disable "inline" keyword in C??
I am not sure will it work in Borland compiler, but you can try to redefine "inline" keyword with a preprocessor.
#define inline
will remove all "inline" from your code before the compilation.
Reply:First of all, inline is not a reserved word in C. It is however a reserved word in C++.
Is the compiler you are using a C compiler or a C++ compiler?
If it is indeed a C++ compiler, you may find the following tutorial to be of use:http://dn.codegear.com/sv/print/23055
On the other hand, if it is a C compiler, more information on the compiler would be helpful.
How can i replace the #include<graphics.h> for Visual Studio C++?
Em unable to compile my file edited in Visual studio C++ becooz i have used graphics functions and hav included %26lt;graphics.h%26gt; , only borland supports %26lt;graphics.h%26gt;
so wot i gota do? if i want ti use graphics functions?
How can i replace the #include%26lt;graphics.h%26gt; for Visual Studio C++?
Try to get the opengl headers and library and try to use it.The functions are different however.Mesa is the only free graphics implementation i can think of in VC++.
so wot i gota do? if i want ti use graphics functions?
How can i replace the #include%26lt;graphics.h%26gt; for Visual Studio C++?
Try to get the opengl headers and library and try to use it.The functions are different however.Mesa is the only free graphics implementation i can think of in VC++.
How can i replace the #include<graphics.h> for Visual Studio C++?
Em unable to compile my file edited in Visual studio C++ becooz i have used graphics functions and hav included %26lt;graphics.h%26gt; , only borland supports %26lt;graphics.h%26gt;
so wot i gota do? if i want ti use graphics functions?
How can i replace the #include%26lt;graphics.h%26gt; for Visual Studio C++?
Try to get the opengl headers and library and try to use it.The functions are different however.Mesa is the only free graphics implementation i can think of in VC++.
gift baskets
so wot i gota do? if i want ti use graphics functions?
How can i replace the #include%26lt;graphics.h%26gt; for Visual Studio C++?
Try to get the opengl headers and library and try to use it.The functions are different however.Mesa is the only free graphics implementation i can think of in VC++.
gift baskets
When C++ was created, what was the compiler made by Bjarne stroustrup?
I can't seem to understand why there are so many compilers out there that suck and each of them produces a different error and none of them is ANSI/ISO compatible fully, while the creator of the language himself should have made the right one! I mean, one of them even says it has a syntax error in one of its own libraries!
I'm going to try out eclipse cuz Dev C++ is driving me nuts but I need to get a good compiler! Borland doesn't even have a debugger so what can I do?
P.S: I only write console applications because I program for contests and training sites like USACO's training site.
Please answer the main question cuz it's the one that's killing me. Where's the original compiler?
When C++ was created, what was the compiler made by Bjarne stroustrup?
Even the "original" compiler had lots of bugs. C++ is a very complex language, making it extremely difficult to create a bug-free compiler. I feel your pain.
Good luck!
Reply:Have you tried Microsoft Visual Studio? It comes with a console compiler. You need to set it up, but it works...as long as you aren't on Vista.
Reply:Stroustrup did a book, not a compiler. Everyone has been free to implement their own subset of the C++ language, all along.
I'm on Linux, incidently, so I haven't had to pay for a Borland Compiler for a while: however the last time I actually bought one (around 2002) it came with an IDE -- Integrated Debugging Editor which certainly worked. Have you bought a Borland compiler or did you just download it?
Naturally when I hear someone is having trouble with Dev C++ or any implementation of GCC I'm sorry to hear it. If you are just programming for the console, have you considered DJGPP? With GDB and GProf GCC does have debugging capabilities. I've never used CDT but I do wish you luck.
Still, a reasonably complete implementation of the C++ programming language and (separately) the Standard Template Library is available at http://www.digitalmars.com. Their IDE, which I've never used, is available on their CD which costs $54. You can download and install a command line version for free. You also have to install the STL separately, which can be tricky (before I dumped DOS I used a batch file to compile my C++ programs) but once you get it working it is very awesome.
Reply:If yo want a good compiler, Go to www.bloodshed.net and download the free Dev C++,
Good Luck
Omar
I'm going to try out eclipse cuz Dev C++ is driving me nuts but I need to get a good compiler! Borland doesn't even have a debugger so what can I do?
P.S: I only write console applications because I program for contests and training sites like USACO's training site.
Please answer the main question cuz it's the one that's killing me. Where's the original compiler?
When C++ was created, what was the compiler made by Bjarne stroustrup?
Even the "original" compiler had lots of bugs. C++ is a very complex language, making it extremely difficult to create a bug-free compiler. I feel your pain.
Good luck!
Reply:Have you tried Microsoft Visual Studio? It comes with a console compiler. You need to set it up, but it works...as long as you aren't on Vista.
Reply:Stroustrup did a book, not a compiler. Everyone has been free to implement their own subset of the C++ language, all along.
I'm on Linux, incidently, so I haven't had to pay for a Borland Compiler for a while: however the last time I actually bought one (around 2002) it came with an IDE -- Integrated Debugging Editor which certainly worked. Have you bought a Borland compiler or did you just download it?
Naturally when I hear someone is having trouble with Dev C++ or any implementation of GCC I'm sorry to hear it. If you are just programming for the console, have you considered DJGPP? With GDB and GProf GCC does have debugging capabilities. I've never used CDT but I do wish you luck.
Still, a reasonably complete implementation of the C++ programming language and (separately) the Standard Template Library is available at http://www.digitalmars.com. Their IDE, which I've never used, is available on their CD which costs $54. You can download and install a command line version for free. You also have to install the STL separately, which can be tricky (before I dumped DOS I used a batch file to compile my C++ programs) but once you get it working it is very awesome.
Reply:If yo want a good compiler, Go to www.bloodshed.net and download the free Dev C++,
Good Luck
Omar
Is TURBO C++ Compiler different then boreland compiler in sence of source code rules ??
I was practicing c++ in turbo compiler but somehow need to switch to borland compiler. o rules differ in this one in sence of source code %26amp; any special header file need to be imported as the compliler borlan was errroring in cout even when iostrem was imorted. ??
Is TURBO C++ Compiler different then boreland compiler in sence of source code rules ??
Without knowing exactly which versions of what you were using, I'd take a guess at it that *MIGHT* help. Try these 2 things:
1) In the #include directive(s) remove the '.h' file extension. This is part of the newer ANSI specifications for C++. Borland C/C++ later than 5.0 should implement this, Turbo C++ will not.
2) After all the "#include" directives, use the statement 'using namespace std;' . This is another part of the newer ANSI specifications for C++. Borland C/C++ later than 5.0 should implement this, Turbo C++ will not.
These are the most obvious differences that would likely occur assuming that you're using Turbo C++ and Borland C/C++ %26gt; 4.52. I hope this solves your problem. If not, you can contact me from my Answers User's page with further details.
Is TURBO C++ Compiler different then boreland compiler in sence of source code rules ??
Without knowing exactly which versions of what you were using, I'd take a guess at it that *MIGHT* help. Try these 2 things:
1) In the #include directive(s) remove the '.h' file extension. This is part of the newer ANSI specifications for C++. Borland C/C++ later than 5.0 should implement this, Turbo C++ will not.
2) After all the "#include" directives, use the statement 'using namespace std;' . This is another part of the newer ANSI specifications for C++. Borland C/C++ later than 5.0 should implement this, Turbo C++ will not.
These are the most obvious differences that would likely occur assuming that you're using Turbo C++ and Borland C/C++ %26gt; 4.52. I hope this solves your problem. If not, you can contact me from my Answers User's page with further details.
I am using Java , C++ and dot net .which program can carter to all? Is eclipse better or JBuilder?
Currently I or C++ and JAVA, I am using Eclipse and Borland JBuilder ? And then using Visual Studio to program dot net ? I looking for a program which have every programming needs.
I am using Java , C++ and dot net .which program can carter to all? Is eclipse better or JBuilder?
I like NetBeans the best because it has the most documentation, and it will do textbook code. JBuilder will utilize proprietary classes outside of traditional java to make the project work. NetBeans also lets you add a plug-in for C++. Microsoft and Sun had a disagreement so I don't think VisualStudio will ever accomplish java.
In the Open Source community is the mono project. mono is a wrapper for .net and it is still under development.
There is one other solution, QT from Trolltech. They offer a student version of their product that is free to use. Should you write commercial code, then Trolltech wants a license fee. QT is cross-platform C++. VisualStudio is Windows only.
Really, the Linux platform is the powertool for what you are seeking to be all-in-one.
Reply:notepad.
I am using Java , C++ and dot net .which program can carter to all? Is eclipse better or JBuilder?
I like NetBeans the best because it has the most documentation, and it will do textbook code. JBuilder will utilize proprietary classes outside of traditional java to make the project work. NetBeans also lets you add a plug-in for C++. Microsoft and Sun had a disagreement so I don't think VisualStudio will ever accomplish java.
In the Open Source community is the mono project. mono is a wrapper for .net and it is still under development.
There is one other solution, QT from Trolltech. They offer a student version of their product that is free to use. Should you write commercial code, then Trolltech wants a license fee. QT is cross-platform C++. VisualStudio is Windows only.
Really, the Linux platform is the powertool for what you are seeking to be all-in-one.
Reply:notepad.
How companies work on c or cpp project?
wen a programmer work on real projects in c language or cpp....
are they really working on turbo or borland cpp tools that are available .wen i studied c ..i did it on tools like that...i want to know the difference between a programming wen u get to join a company and work on real programs .....wat make the diiff....can any help....can any one get a sample c program that show me how the company programs will look like
How companies work on c or cpp project?
yeah.. umm.. most use visual studio by microsoft
http://msdn2.microsoft.com/en-us/vstudio...
there is a free express version:
http://msdn2.microsoft.com/en-us/vstudio...
also c is pretty much legacy, c++ is getting there. people are turning to next gen languages, such as c# in the case of the c family.
Reply:Companies use the same commercial products that universities use. The difference is most "real" products are much larger in scope than the projects you do in school. They also have a lot more legacy code (code written years ago). The commercial tools can handle these large, mixed generation projects as well as the small projects University students write in class. Companies do NOT develop projects using toy or designer languages or compilers - it is too risky for long term support. Universities do use these to illustrate concepts that are cutting edge and that will eventually make it into mainstream programming.
wedding
are they really working on turbo or borland cpp tools that are available .wen i studied c ..i did it on tools like that...i want to know the difference between a programming wen u get to join a company and work on real programs .....wat make the diiff....can any help....can any one get a sample c program that show me how the company programs will look like
How companies work on c or cpp project?
yeah.. umm.. most use visual studio by microsoft
http://msdn2.microsoft.com/en-us/vstudio...
there is a free express version:
http://msdn2.microsoft.com/en-us/vstudio...
also c is pretty much legacy, c++ is getting there. people are turning to next gen languages, such as c# in the case of the c family.
Reply:Companies use the same commercial products that universities use. The difference is most "real" products are much larger in scope than the projects you do in school. They also have a lot more legacy code (code written years ago). The commercial tools can handle these large, mixed generation projects as well as the small projects University students write in class. Companies do NOT develop projects using toy or designer languages or compilers - it is too risky for long term support. Universities do use these to illustrate concepts that are cutting edge and that will eventually make it into mainstream programming.
wedding
How do you display a Tic-Tac-Toe board in C++?
I'm not sure which variation of C++ it is, sorry. My compiler is Borland v. 5.02.
How do you display a Tic-Tac-Toe board in C++?
K, i found this STEP by STEP tutorial for you.
http://xoax.net/comp/cpp/console/Lesson9...
It has a complete video tutorial and you can download the source code on the same page.
How do you display a Tic-Tac-Toe board in C++?
K, i found this STEP by STEP tutorial for you.
http://xoax.net/comp/cpp/console/Lesson9...
It has a complete video tutorial and you can download the source code on the same page.
Turbo c++ download?
i need free turbo c++ download?
is it available free from borland
tell me website to free download of turbo c++
Turbo c++ download?
well here is the free trial
http://dn.codegear.com/article/21751
u will have to pay to get the full version
is it available free from borland
tell me website to free download of turbo c++
Turbo c++ download?
well here is the free trial
http://dn.codegear.com/article/21751
u will have to pay to get the full version
Is there a way to say what C/C++ compiler and linker were used to compile and link an application?
The matter is that I would like to know if there is a way to find out which compiler and linker were used to compile a C or C++ application.
I have the Borland compiler/linker and two versions of Microsoft Visual C++ (v6.0 and .NET). Is there a way to say if an application (final .exe) was built using one of these (or other compilers/linkers)?
Thanks for any help.
Is there a way to say what C/C++ compiler and linker were used to compile and link an application?
The build tools don't usually put what was used to build the particular executable in them. The only way you can really do this is to have the source code, generate a new executeable and then compare that to the one you wish to find out about.
I have the Borland compiler/linker and two versions of Microsoft Visual C++ (v6.0 and .NET). Is there a way to say if an application (final .exe) was built using one of these (or other compilers/linkers)?
Thanks for any help.
Is there a way to say what C/C++ compiler and linker were used to compile and link an application?
The build tools don't usually put what was used to build the particular executable in them. The only way you can really do this is to have the source code, generate a new executeable and then compare that to the one you wish to find out about.
C++ compiler?
What do you think the most common C++ compiler is? GCC, Microsoft, Borland? I am just curious. Or if i am completely off on my question, help me out. THanks
C++ compiler?
borland..
Reply:From what i've seen, Dev C++ from bloodshed.net is very popular
Reply:Borland is very good, but GCC is free :)
flowers on line
C++ compiler?
borland..
Reply:From what i've seen, Dev C++ from bloodshed.net is very popular
Reply:Borland is very good, but GCC is free :)
flowers on line
I want Turbo C++ 4.5 or higher or user's guide of version 3.0?
Can I get Turbo C++ version 4.5 or higher by Borland International Inc. including its manual from the internet or other source?
Currently I am having Turbo C++ version 3.0 by Borland International Inc. I want its user's guide manual.
I would like to emphasize that it would be better if I could get the above stuffs for free.
Please tell me the source from where I can fetch these stuffs!
A decent and informative answer is appreciated.
Thank You!
I want Turbo C++ 4.5 or higher or user's guide of version 3.0?
..Hi ...Try that link below..Otherwise..you can try bittorent sites ...
Kind regards..
Reply:Thanks, to the voters!;)
my regards! .. x x x ... ;) Report It
Reply:reintall it from download.com the read readme file
got it sweety
Reply:you wish
Reply:wrong question
Currently I am having Turbo C++ version 3.0 by Borland International Inc. I want its user's guide manual.
I would like to emphasize that it would be better if I could get the above stuffs for free.
Please tell me the source from where I can fetch these stuffs!
A decent and informative answer is appreciated.
Thank You!
I want Turbo C++ 4.5 or higher or user's guide of version 3.0?
..Hi ...Try that link below..Otherwise..you can try bittorent sites ...
Kind regards..
Reply:Thanks, to the voters!;)
my regards! .. x x x ... ;) Report It
Reply:reintall it from download.com the read readme file
got it sweety
Reply:you wish
Reply:wrong question
SOS in C programing assigment?
c programing question no 1
Write an interactive program that plays a game of hangman .Store the word to be gueesed in successive elements of an array of individual character called word.the player must guess the letter belonging to word ,The program should terminate when either all letters hav been guessed corectly(d player wins) / a specefied no of incorrect guesses hav been made (the computer wins) .Hint : Use another array guessed to keep track of the solution so far ,Initialize all elements of guessed to the '*' symbol .Each time a letter in word guessed replace the coresponding '*' in guessed with the letter .
Im using turbo c version 2 from borland .well its my assigment due in 1 week time
SOS in C programing assigment?
Are you asking us to do ALL your homework for you?
Write an interactive program that plays a game of hangman .Store the word to be gueesed in successive elements of an array of individual character called word.the player must guess the letter belonging to word ,The program should terminate when either all letters hav been guessed corectly(d player wins) / a specefied no of incorrect guesses hav been made (the computer wins) .Hint : Use another array guessed to keep track of the solution so far ,Initialize all elements of guessed to the '*' symbol .Each time a letter in word guessed replace the coresponding '*' in guessed with the letter .
Im using turbo c version 2 from borland .well its my assigment due in 1 week time
SOS in C programing assigment?
Are you asking us to do ALL your homework for you?
I am developing a code in c++ which requires calling an exe file to run can any one help me out.?
iam running windows xp and using borland 5.01 turbo c++.
I am developing a code in c++ which requires calling an exe file to run can any one help me out.?
system(abc.exe);
runs the abc.exe from c++ code
spawn and execxxx may help too
Reply:Look into the system and (possibly) spawn or execxxx functions. Sorry, but I don't have Turbo C++ on my machine.
I am developing a code in c++ which requires calling an exe file to run can any one help me out.?
system(abc.exe);
runs the abc.exe from c++ code
spawn and execxxx may help too
Reply:Look into the system and (possibly) spawn or execxxx functions. Sorry, but I don't have Turbo C++ on my machine.
Strings and arrays in c programming?
i am using the borland compiler and using c programming not c++ i was wondering how to create a four element array of strings to hold the suit's of a deck(hearts,spades, clubs, and diamonds). Thank you
Strings and arrays in c programming?
Ever use pointers?
const char *suits[4] = {"hearts","spades","clubs","diamonds"};
Reply:char *suits[]={{"hearts"},{"spades"},{"clubs"...
//to get hearts string use *suits, to get spades string use *(suits+1)
Reply:use pointers or use two dimensional array of char type
char ch[4][9]={"hearts","clubs","spades","dia...
here 9 is the maximum of length of string in the array ie.."Diamonds"
florist shop
Strings and arrays in c programming?
Ever use pointers?
const char *suits[4] = {"hearts","spades","clubs","diamonds"};
Reply:char *suits[]={{"hearts"},{"spades"},{"clubs"...
//to get hearts string use *suits, to get spades string use *(suits+1)
Reply:use pointers or use two dimensional array of char type
char ch[4][9]={"hearts","clubs","spades","dia...
here 9 is the maximum of length of string in the array ie.."Diamonds"
florist shop
Need help how to use the C++ builder compiler v5.5?
help me to those using the latest c++ builder of borland.. i dont still get it of how to enter code to make some programs and run it.. please i badly need this program....
Need help how to use the C++ builder compiler v5.5?
Ok, if you want to know how to make the source code, you just use a text editor like notepad. Then save the file with a ".cpp" extension. If notepad makes the file have a ".txt" extension, you will have to remove that, as the compiler will not recognise it.
If you need to know how to use the compiler and associated tools, have a look at the "readme.txt" file in the "BCC55" folder. That is where you installed the compiler, if you installed in a different place, you will find it there.
Need help how to use the C++ builder compiler v5.5?
Ok, if you want to know how to make the source code, you just use a text editor like notepad. Then save the file with a ".cpp" extension. If notepad makes the file have a ".txt" extension, you will have to remove that, as the compiler will not recognise it.
If you need to know how to use the compiler and associated tools, have a look at the "readme.txt" file in the "BCC55" folder. That is where you installed the compiler, if you installed in a different place, you will find it there.
C PROGRAMING HELP?
C programing software : Turbo c Ver. 2 Borland
Write a program thet accepts any number from the keyboard and tells you whether it is a non negative interger .the number should be sent to the function int_test (),which returns either value or -1 if the number is negative / zero .If it is non negative but not an interger .Inputs should continue until a zero is input
Function and variable
Main()
input from keyboard
interger Return from function
Int _test()
value from main()
result Value to return
OUTPUT
Your number:48
The number is :48
Your number :-14.3
The number is negative
Your number :12.345
The number is not an interger
Your number :0
My assigment due in 1 week time
C PROGRAMING HELP?
Are you asking us to do ALL your homework for you?
Write a program thet accepts any number from the keyboard and tells you whether it is a non negative interger .the number should be sent to the function int_test (),which returns either value or -1 if the number is negative / zero .If it is non negative but not an interger .Inputs should continue until a zero is input
Function and variable
Main()
input from keyboard
interger Return from function
Int _test()
value from main()
result Value to return
OUTPUT
Your number:48
The number is :48
Your number :-14.3
The number is negative
Your number :12.345
The number is not an interger
Your number :0
My assigment due in 1 week time
C PROGRAMING HELP?
Are you asking us to do ALL your homework for you?
C programing help?
C programing Software : Turbo C ver.2 Borland
Write a program that accepts any number of value (up to100) from the terminal and sorts them in decending order (highest number first ).USe some alpha character ,such as q to end input.
Variables
Choose appropriate variables
OUTPUT
Input numbers,
%26gt;27
%26gt;92
%26gt;-116
%26gt;41
%26gt;.007
%26gt;-0.007
%26gt;0
Here they are in descending order
92 41 27 0.007 -0.007 -116
My assigment due in 1 week
C programing help?
Here is the code for a Selection Sort. That's the main part of the program. You should be able to do the rest pretty easily.
void selectionSort(int numbers[], int array_size)
{
int i, j;
int min, temp;
for (i = 0; i %26lt; array_size-1; i++)
{
min = i;
for (j = i+1; j %26lt; array_size; j++)
{
if (numbers[j] %26lt; numbers[min])
min = j;
}
temp = numbers[i];
numbers[i] = numbers[min];
numbers[min] = temp;
}
}
Reply:Stand up on your own legs, if not in your life yo have to suffer, now you have one week of time to do you home work, just open google and type "sorting program in c" by this you can get list of program or list ideas by that experiment them on you system if you have c configered in you system see the result by this you some satisfaction that wore one programm.
here is example program for you
http://www.engin.umd.umich.edu/CIS/cours... but understand it and try it dont just submit it as your home work.
Reply:Are you asking us to do your homework for you???
Write a program that accepts any number of value (up to100) from the terminal and sorts them in decending order (highest number first ).USe some alpha character ,such as q to end input.
Variables
Choose appropriate variables
OUTPUT
Input numbers,
%26gt;27
%26gt;92
%26gt;-116
%26gt;41
%26gt;.007
%26gt;-0.007
%26gt;0
Here they are in descending order
92 41 27 0.007 -0.007 -116
My assigment due in 1 week
C programing help?
Here is the code for a Selection Sort. That's the main part of the program. You should be able to do the rest pretty easily.
void selectionSort(int numbers[], int array_size)
{
int i, j;
int min, temp;
for (i = 0; i %26lt; array_size-1; i++)
{
min = i;
for (j = i+1; j %26lt; array_size; j++)
{
if (numbers[j] %26lt; numbers[min])
min = j;
}
temp = numbers[i];
numbers[i] = numbers[min];
numbers[min] = temp;
}
}
Reply:Stand up on your own legs, if not in your life yo have to suffer, now you have one week of time to do you home work, just open google and type "sorting program in c" by this you can get list of program or list ideas by that experiment them on you system if you have c configered in you system see the result by this you some satisfaction that wore one programm.
here is example program for you
http://www.engin.umd.umich.edu/CIS/cours... but understand it and try it dont just submit it as your home work.
Reply:Are you asking us to do your homework for you???
Subscribe to:
Posts (Atom)