#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define MAX_ROWS 5
#define MAX_COL 5
struct dozens
{
int arraydozens[MAX_ROWS][MAX_COL];
Type: Posts; User: Leite33
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define MAX_ROWS 5
#define MAX_COL 5
struct dozens
{
int arraydozens[MAX_ROWS][MAX_COL];
[I mean if my first nymber of txt file will be for example 15 then in the first position of array [1][1] i must save
1 dozen
5 units (15)
So in the struct i need i guess 2 arrays in first array...
Dear Friends
I try to make a program that will read from txt file 5x5= 25 numbers and save them in array again 5x5. My numbers are positive integers. I want to ask here instead of save them in a...
Hi
I have a question on a practical problem in optical programming with c Builder 6.I have made a project with forms and buttons and etc.I didnt put the name i want on form captions of forms so the...
Hi
i did something like this but dont work:
FILE *fp;
AnsiString FileName;
FileName=Edit1->Text;
FileName="c:\\"+FileName;
ofcourse in C the site is Cprogramming remember????
Hi
I have made an simple explorer!!!!!!!
I used DirectoryListBox,FileListBox,DriveComboBox and connect them.....
My question is when i change from DriveComboBox from HardDisk to drives(c:\\ to...
Hi
I want to open a file like:
FILE *fp;
fp=fopen("c:\\leite.txt","w+");
My question is if i want to open the file like this;
Ansistring FileName;
FileName="leite.txt"
Ηι
I want to see progress in something in my project by Using ProgressBar!!!!!
So Max will be 100 Min 0 and Step 1...
Can anyone give me any idea codes?????
ok if you think anything send me!!! Thanks for help
Hey ok but you dont have any more practical idea to help me???? Any simple example just how i can post the result in edit or something????
Please any good ideas for help????
Hi
I want to ask something about queries!!!! I want to make a complicate query in C++ but i dont know how to get the result in MessageBox....
More spesifiec:
ADOQuery1->Close();...
Dear stranger.
My problem wasnt the theory part (SQL Basics) but how i will make them in practise in C++( with all "" and ').. But thanks anyway you helped
Hi i made an application in BCB6 for save records in database
I have one field pSize and i made the above query:
ADODataSet1->CommandText= "SELECT * FROM Pictures WHERE pSize>="+Edit1->Text;
...
Why??? In 3, two in English and one in greek.... Any ideas??
Yes thats the table and the errors i got one in ADOQuery->Parameters say that its no right...If i leave that outside the code then my application run the query but brings me an error that say "Value...
Hi
I wonder if someone know if there is a component in BCB6 (like DBgrid) that you can use,connect with database and see the pics that you have saved there!!!! I know that there is one in Visual...
Hi i made the above query in BCB 6 but when i run my application brings me an error in params
ADOQuery1->Close();
ADOQuery1->SQL->Clear();
Edit4->Text=InputBox("Name","Search:","");
...
Hi
I have many values in a array in BCB6 and i want to pass the values in fields in SQL Server database table. My question because the values are many 100000 or more is if i can pass all the array...
Hi
I made something in BCB6 to save values in table in database in Access.
i used ODBC drivers.
my code is:
for(i=0;i<x1;i++)
for(j=0;j<y1;j++)
{
Hi
How i can clear the table of my database of the records that are saved there????
Is possible to clear only one field and leave the others????
I used BCB6,SQLServer2000, ODBC drivers
Hi i made an application in BCB6 and connected with SQL Server 2000.
insert
int i,records;
records=ADOTable1->RecordCount;
//Array for save values from Access
int *getvalues=new...
Hi
I have 2 questions. I made an application to BCB6 that is connected with a database to M.Server 2000(ODBC Drivers)
1. Is there any code to bring in my application the database size;;;;
2. I...
Ok. But i use the method Image1->Canvas->Pixels[i][j] is possible to use that you say on that?? And you use 4 for how the array will save the values??? Because you stop one for and then start...