Hi all,
I want to do different functionalities on two button click events.
I Added code
Button1.Attribu tes.Add("onClic k","Showpre()") ;---line1
Button2.Attribu tes.Add("onClic k","Showresp()" );---line2
on page_load.
Even if I am clicking button2, line1 is executed...
I want to check which button is clicked on page load..and...
User Profile
Collapse
-
Checking which button is clicked on page_load..
-
problem in HExadecimal to decimal conversion
Hi all,
Code:int main() { FILE *fp1; char *c, *d; c = new char[54]; d = c; fp1=fopen("C:\\xyz.dcm","r"); for(int i=128;i<=163;i++) { fseek(fp1,i,SEEK_SET); *d =(char )fgetc(fp1); d++; cout<<*c++; } for(int j=164;j<=166;j++)
-
It is DCOM image format..
I m new in DICOM
Code:FILE *fp1; char *c, *d; c = new char[8]; d = c; fp1=fopen("C:\\xyz.dcm","r"); ZeroMemory(c , 8); for(int i=128;i<=132;i++) { fseek(fp1,i,SEEK_SET);
-
It is DCOM image format..
I m new in DICOM
Code:FILE *fp1; char *c, *d; c = new char[8]; d = c; fp1=fopen("C:\\xyz.dcm","r"); ZeroMemory(c , 8); for(int i=128;i<=132;i++) { fseek(fp1,i,SEEK_SET); *d =(char)fgetc(fp1);
Leave a comment:
-
How to read .dcm file using byte array
hi all
I m trying to read an .dcm file using byte array.But i dont know actually how to read byte code from file.please give me any example of reading byte code.
I search in google also...but in vein.
It's urgent...
please help. -
Hi,
system("cd C:\\Rupali1\\c+ + examples\\listC oncat\\Debug & listConcat.exe" );
This is working fine........... .....
Thanks.
Happy Programming To U also.Leave a comment:
-
Run an .exe file from an c++ application
Hi all,
How to run one c++ .exe file from another c++ application...
I used following code...but not working..
Code:#include<iostream.h> #include<stdlib.h> int main() { system("C:\Rupali1\c++ examples\listConcat\Debug\listConcat.exe"); //system("explorer.exe"); return i; }
-
why do we use "&" (E&xit)??
We use" &" sign before letter "x"........ It means tat when we press "x" in keyboard...Exit is pressed.......
tat is
we can use & sign for traversing the menuitems using keyboard......Leave a comment:
-
Thanks,
It's working fine now...I learn many things from this example...Leave a comment:
-
How float values stored in file??
hi all,
In following code itemdescription value is stored properly in file but the float values are stored as different symbols such as @,@A etc.
If i want to store float values also as it is...what should I do??
Code:#include <iostream> #include <conio.h> #include <fstream> #include <string> using namespace std; class Inventory
-
-
Hi,
Syntax of strcat is: char * strcat(char *,const char *)
I changed code as follows..but still same error
char * str="c:\\";
add1=strcat(str ,add);
what should i do to append "c:\\" to the beginning of string add?
Thanks,
Rupali...Leave a comment:
-
Access violation error
Hi...
I got exception access violation at
add1=strcat("c: \\",add); statement...
why?wats solution?
void main()
{
char * output;
char * output2;
char * add;
char * add1;
int msgno;
msgno=1;
char name1[20];
char name[20];
strcpy(name,"na me");
output2=new char[2];
itoa((msgno+1), output2,10);...
No activity results to display
Show More
Leave a comment: