954,193 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Borland c++ builder question

Hi guys. Im a noob programmer trying to make a trainer. This is just for hobby. I been using borland c++ builder. I made my dialog and button. I need the button to when pressed access a process and change the value of 5 offsets. I have the offsets and the values they need to be changed to. As well as the process id for the program. I been looking all over on how to insert this into borland and what command line to use. This is what I have so far. I just started looking at vb two days ago and got that fast :p and c++ today but c++ is much harder. Any help is appreciated. My MSN is [email="faith_plus_1@hotmail.com"]faith_plus_1@hotmail.com[/email] and AIM: Sars3D

//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include
#include
#include
#include
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TButton *Button1;
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

Sars
Newbie Poster
1 post since May 2004
Reputation Points: 10
Solved Threads: 0
 

Am I being thick or something?

The concept is so basic that I'm not sure that you have
even got a Borland IDE open! You are using an IDE?

regards

Bob

Hi guys. Im a noob programmer trying to make a trainer. This is just for hobby. I been using borland c++ builder. I made my dialog and button. I need the button to when pressed access a process and change the value of 5 offsets. I have the offsets and the values they need to be changed to. As well as the process id for the program. I been looking all over on how to insert this into borland and what command line to use. This is what I have so far. I just started looking at vb two days ago and got that fast :p and c++ today but c++ is much harder. Any help is appreciated. My MSN is [email="faith_plus_1@hotmail.com"]faith_plus_1@hotmail.com[/email] and AIM: Sars3D //--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include #include #include #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TButton *Button1; private: // User declarations public: // User declarations __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif
robgxxx
Newbie Poster
10 posts since Jun 2005
Reputation Points: 8
Solved Threads: 1
 

i have some Problem with my program who made from borland C++ builde 6

this is my list program

//---------------------------------------------------------------------------

#include
#pragma hdrstop

#include "Unit2.h"
#include "Unit3.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm2 *Form2;
const masukan=100;
//---------------------------------------------------------------------------
__fastcall TForm2::TForm2(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm2::Button1Click(TObject *Sender)
{
Application->Terminate();
}
//---------------------------------------------------------------------------
void __fastcall TForm2::Button2Click(TObject *Sender)
{
Form3->Show();
}
//---------------------------------------------------------------------------


void __fastcall TForm2::Button4Click(TObject *Sender)
{
int loop, loop2, palike, pali, max = 6, atas=0,bawah, awal,panjang,ran=0,indx=0;
String rantai, rantai2[100], palindrome[100][100][100];
int jumlah[100][100];
rantai = AnsiString(Edit1->Text);
for (loop=0;loop<100;loop++){
if (rantai[loop]=='a' ||'A'){
rantai2[loop]= "T";
panjang++;
} else if (rantai[loop]=='t' ||'T'){
rantai2[loop]= 'A';
panjang++;
} else if (rantai[loop]=='c' ||'C'){
rantai2[loop]= 'G';
panjang++;
} else if (rantai[loop]=='g' ||'G'){
rantai2[loop]= 'C';
panjang++;
}else break;
}
for (loop=0;loopran){
ran=bawah;
}else ran = ran;
}
for(loop=0;loop<=palike;loop++){
for(loop2=0;loop2Lines->Add(AnsiString(rantai[loop][ran]));
}
}}
//---------------------------------------------------------------------------


error "Stack overflow"....
what happen with my program?
is anyone can help me??

NonoMeme
Newbie Poster
1 post since Dec 2011
Reputation Points: 10
Solved Threads: 0
 

Put your code in the code tag first.At least make it readable.

richieking
Master Poster
764 posts since Jun 2009
Reputation Points: 61
Solved Threads: 152
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You