User Profile
Collapse
-
thanx cmrhema, that has really helped me -
pointer to char
why is it that when a pointer is pointed to an int, it displays the address while when a pointer is pointed to char there is no output, in the following program:
int *pptr;
char *cptr;
cout<<pptr; //o/p shows the hexadecimal address
cout<<cptr; // no o/p, it compiles but the output screen is blank
Please help, this has caused a hindrance in understanding pointers
Please also refer... -
Difference between datagrid and MS flexgrid
i am working with the datagrid where i retrieve data from ms -access, how it is different from msflexgid?, is working with flexgrid better than datagrid??????? ?? -
Ms Access provides the facility to form the primary key, there is a key icon in the tool box, and then in the relationships menu, relation between both the tables can be formed.
To retrive data into VB, VB should be connected to Ms access, you can do it by many ways.Leave a comment:
-
using datagrid
i am working on a project where i join data from two tables in Ms access XP. I am using VB as the front end. One table has the primary key, hence the record is single and easy to access in VB6, but the other has the foreign key and has multiple records for the same data in the master table. I would like to display these records in a datagrid, how should i go about it, Is there a better technique than using the datagrid. Help!!!!!!!!!!! ! -
Thanx,
but tried many number of times, on different PC's the output remains the same.
is it something to do with the dynamic declaration of the variable i??Leave a comment:
-
increment operator in C++
how will the following code work
int a=10;
int i=a+a+++a++;
cout<<i;
the output is shown as 32 .
while if the code would have been as follows:
int i, a=10;
i=a+a+++a++;
cout<<i;
the output is 30.
why is this difference???? -
Oracle in VB
i have created a trigger in Oracle which restricts the date in a certain field to be greater than sysdate. it works when i insert the date through a textbox in VB, but it gives a Vb error, how do i give an user error, i.e how do i refer the Oracle trigger in VB?Please help -
try this:
include- iostream, stdio,string.h,
char n[50];
char x='A';
char s='a';
int f=0;
gets(n)
while (x<='Z' && s<='z')
{
for (int y=0;y<=strlen(n );y++)
{
if (x==n[y]||s==n[y])
f++;
}
cout<<"frequenc y of "<<x<<"is"< <f;
f=0;
x++;
s++;
}Leave a comment:
-
Use a for loop from a to z and add up the no of times each alphabet occurs,
u will need a double for loopLeave a comment:
-
diff between cout and puts
Please someone could guide me with the difference between cin,gets,getlin e and cout,puts,write .Especially cout and puts gives the same output then how are they different????? -
int v/s float
hello this is anu. i am working with C++ lately, am tired with the confusion with the float type. am using turbo c++. please could someone explain the working of float type.
No activity results to display
Show More
Leave a comment: