Hi
Try this code and you will get your answer..
It will go to statement #2
#include <stdio.h>
#include <conio.h>
Type: Posts; User: Gugge
Hi
Try this code and you will get your answer..
It will go to statement #2
#include <stdio.h>
#include <conio.h>
OK to start out with I got:
typedef struct TreeCell *Treeptr;
struct TreeCell
{
struct TreeCell *parent;
struct TreeCell *left;
struct TreeCell *right;
Tx for answering, but I not sure I understand .
I do need to delete a number second time it is comming in..
This is how it works.
A software is counting which phonenumbers is calling a...
If you wish to use clearscreen in testmode..
I can use clrscr();
Remember to include ...
#include <conio.h>
Conio is not ANSI C, but Borland Extension I think!!!
Then you can write
clrscr();...
I have made a Bintree, where I sort numbers.
It can fx be phonenumbers.
But how do I delete on in the memorystack,
fx if a numbers is is in the stack and the number is drawn again It has to...
I'm not sure, I understand it.
How can I see what my memo is called, so I can see if the right name is on the memo.
Is it possible to fx. right click on a memo, and then get the name from it.?...
Hi I'm trying to make a program, which can calculate in minuts and hours.
If I have the time 1140 and add 40 min. so It should tell me that the time = 1220, and not 1180.
Dows anyone have a good...
How do I get in touch with my Runtime-Made Memo.
How do I call them, if I like to write some TEXT in some of
them...?
I have tried to call some names, but It has to be called runtime, 'couse at...
First:
Couldnt' I also use this.
void __fastcall TBagground::testbuttonClick(TObject *Sender)
{
TMemo *memo1 = new TMemo(this);
memo1->Parent = this;
memo1->Left = 100;
Hi tx for answering.
It worked allmost.
There are the only changes I made to your answer...
void __fastcall TBagground::testbuttonClick(TObject *Sender)
{
TMemo *memo1 = new...
Using C++ Builder 4.0
I need to push a button and insert a Memo on my Form.
Here is my code, what am I doing wrong...
This doesn't work proper...
void __fastcall...
i just need to make a simple question on the Interface.
fx How many fields do you want.??
then I write in: 10 ....and hit a button.
Then it should automatically make 10 memofields on the...
I using C++ Builder and I making a program to a bowling center.
I can make the whole thing, but I hard-code the Graphic User Interface.
And then I can make fx 10 bowlings-allies, but If someone...
I'm using
C+ Builder. There comes a exe file, but when I can only use the exe file with alot of dll files etc.
So I would make a setup file to unpack the whole thing...
I have made a program, but how do I make the setup.exe file to the program so it's easy to install..
tx for you help
Gugge
isn't main suppose to be int main?
--------
no, because all names and variables is all with the "label" int before them.
It's standard in the compilers understanding of the language.
It only...
What is the best way to search for some data in a file.
I have used:
if(seekfile)
{
while(fgets(DataBuffer,(int)sizeof DataBuffer, seekfile) != NULL)...
How do I seek and delete in a file ?
I need to find a number in a file, and delete it.
seekfile = fopen("seeknr.dat","a+");
What shall I use to open the file with.
a+ is only to append some...
Tx I have been over that thought too, but what can be done then..
How can I make a pointer til the Memoname.
I have made 6 Memoboxes in C+Builder.
And I need to call the 6 names from the same function.
ex:
int x;
char buf[80] = "b1";
char tal[4];
...
C+Builder problems.
How do I write some text in a label, where after pushing Enter it will be saved into a file.
And the Question goes the other way around.
How can I read a file into a label. ...
I thought it was 2 seperated forums....
sorry... I just needed to ask how it would seem in C++ instead of C.
How do I write the in C++, it's should be called from a program a made i C++Builder, but I can't call it when it is written in C.
It comes up with a error:
canot convert 'void *' to 'char *'
...
I figured it all out.
Tx a lot for all your help...
Now it seems to work , but not text is comming up.
Is the something missing.
Here is the whole test code:
---------code clip
#include <stdio.h>
#include <conio.h>
#include <alloc.h>