17 Discussion / Question Topics
Remove Filter
|
|
Hi pals, I am a Newbie in C++ Programming field. I plan to add graphics.h header class in Dev -C++ Version 4.9.9.2 from Bloodshed which is come along with Borland Compiler. I follow the Steps in URL : [url]http://www.uniqueness-template.com/devcpp/#step2[/url] But I Got Error in the Sample code which test the … |
|
Roots of quadratic equcation #include<iostream.h> #include<conio.h> #include<math.h> void main() { float a,b,c,disc,root1,root2; cout<<"enter a"<<endl; cin>>a; cout<<"enter b"<<endl; cin>>b; cout<<"enter c"<<endl; cin>>c; disc=(b*b)-(4*a*c); root1=(-b+sqrt(disc))/(2*a); root2=(-b-sqrt(disc))/(2*a); cout<<"root1"<<root1<<endl; cout<<"root2"<<root2<<endl; getch(); } any question or assignment ask to me!guys |
|
I got 2 Declaration syntax error... i really need help :D Thanks! Btw .. i'm using Borland C++ #include<iostream.h> #include<graphics.h> #include<stdlib.h> #include<stdio.h> #include<ctype.h> #include<conio.h> void main() {clrscr(); int opt,opt1,opt2,opt3,opt4,opt5,opt6; /* request auto detection */ int gdriver = DETECT, gmode, errorcode; int style, midx, midy; int size = 1; int x,y; … |
|
Hi, I need little help with using MediaPlayer from System tab in Borland Builder 6 for C++. Does anyone know what member function of MediaPlayer returns bool variable which tells us is music currently being played or not? I have seen solution for this problem where we use Timer which … |
|
Hi, Is anyone familiar with this problem in BorlandBuilderC++: void Print(AnsiString Path){ Label1->Caption=Path.c_str(); } ... Print("C:\Directory1\Directory2\Music.mp3"); When I pass this string to Print(AnsiString) and try to display it in Label1, I lose all '' signs and text in Label1 looks like this : **"C:Directory1Directory2Music.mp3"** Why is this like that? Thank … |
|
Hi, I have simple question: how do I make Windows Media Player in BorlandC++ ( an ActiveX component ) plays all songs from specified folder? Thanks. |
|
Hi, Can you tell me how can I make my application recognizes when the user presses a button on keyboard? *For example*: presses 'S', application prints "Hello.". I need this information for BorlandC++, but it would be useful even though you provide the same for VC++ :) *(I am not … |
|
/*PROGRAM TO PRINT SUM OF THE FOLLOWING SERIES - X + X*X/2! + X*X*X/3! + X*X*X*X/4!....n terms. I'm not getting the correct output. eg-for n=3 and x=2; compiler's ans = 4.66 correct ans = 5.3. HELP ME OUT...*/ [CODE]#include<iostream.h> #include<math.h> #include<conio.h> void main () { clrscr(); float x,sum=0; int n,fact=1,j,k; … |
|
I have only started learning borland c++ programming a few months ago, I'm actually a math student, so my knowledge of c++ is pretty limited. I have an assignment where X represents an ant that moves around in a 7x7 grid box. It can move up, left, down or right … |
|
Hi there, I'm having some real issues with restoring a piece of legacy software at my workplace. I have an offending line of code that I can't debug. [CODE]bFound := tblComp.Locate('CompPhone;Title;AddLine2', VarArrayof([sPhone, sTitle, sAddLine2]), [])[/CODE] When the script gets to this point sPhone, sTitle and sAddLine2 are correctly populated. When … |
|
|
Hello, I have problem using StrToDateTime function from Borland in my project. I made a custom component, it's called Month view (calendar). One of the basic steps of the component's initialization is to set the default month and year. To do this, I use the "1/1/2010" string passed to StrToDateTime … |
I have been given an assignment to plan, code, and execute a program to calculate data about a person. I am not here asking about how to code the program, but rather to troubleshoot at what's wrong with my compiler/command prompt. Here's what's happening: I will code a program in … |
|
Hello, I'm working on a project that involves making two dlls: one of them is in Borland C++ (file1-bc.dll), the other one is in Visual C++ (file2-vc.dll). Right now I'm prototyping and trying to make them as simple as possible and to see data being exchanged from one side to … |
|
Hello guys, this is my first time in these forums, so I apologize for my bad English. Well, here's the problem: I need to get the frequency of integer numbers that are stored in a file, their range is from 0 to 100, their amount is unknown and depends on … |
|
hey xpert i'm class 12 cbse student...unfortunately i'm not able to get the output from my project. the project is based on bank employee detail.........i'm gettin the output ,but the thin is xcept aading records of the employee i'm not able to do other operation like modifiaction,deletion,listing...!!!!!!! your will be … |
|
can anyone guide me how to run a c++ program inclusive of graphics through notepad++ by using borland compiler OR plz guide me hw to compile n run a c++ graphics prog in vista..as it's not possible by normal tcpp |
|
I'm working on a Project, which includes downloading some files from INTERNET, and the code language is C++, I'm using Codegear C++ Builder 2009, If anyone knows how to download a file using c++ code. please help me, I'll be greatly thankful if you provide a code snippet and then … |
The End.