what mean void creat_object?in public class
in this code
class A{
public:
int x;
A(){ cout << endl<< "Constructor A";}
~A(){ cout << endl<< "Destructor A, x is\t"<< x;}
};
void create_object();
void main()
{
A a;
a.x=10;
{
A c;
c.x=20;
}
create_object();
}
void create_object()
{
A b;
b.x=30;
}
can any body give me answer to this question please?
please give me code in cl with the folling specifications.
1.Accept 2 parameters-date and date type
2.If date type is J then convert date to *MDY format
3.If date type is M convert date to *JUL format
4. Send a program message with the value of converted date?
Please give me the answer.Because im practicing in my
house.Im taking trining on AS/400.
211
I am configuring my anaconda file in linux, i want to use as
kickstart file, in post installation how can i edit file or
change the content of file and save it.
36
How to Snap the Cursor to a Button?
193
How to block double clicks
157
Which network design layer provides a connection point for
end user devices to the network?
access
core
distribution
networkby a networking device
196
Code for Small C++ Class to Transform Any Static Control
into a Hyperlink Control?
206
How to Bind Nested XML to a Repeater Control with
Container.DataItem?
371
code to sorting an array of objects
200
Performance
Algorithm A performs 10n2 basic operations and algorithm B
performs 300 lg n basic operations. For what value of n does
algorithm B start to show its better performance?
What is the code of Password Recovery or Forget your
password? Plz tell in c # language.
313
How to get the version(major,minor,revision ) of VB6.0
delphi code .I am able to fetch dll file of vb6.0 but not
vba file .Can u send me the code snippet in delphi to get
the value for vb6.0.
362
plzzzzzzzzz xplain this code
import java.awt.*;
import java.awt.event.*;
public class Link extends Frame implements ActionListener
{
Label l1;
Button b1;
public static void main(String sr[])
{
new Link().setVisible(true);
}
public Link()
{
super("Warning");
setSize(500,500);
setBackground(Color.lightGray);
setLayout(null);
l1=new Label("There is no Link");
l1.setBounds(0,0,500,460);
l1.setFont(new Font("TimesRoman",Font.BOLD,35));
l1.setAlignment(Label.CENTER);
add(l1);
b1=new Button("QUIT");
b1.setBackground(Color.orange);
b1.setBounds(0,460,500,40);
b1.addActionListener(this);
add(b1);
}
public void actionPerformed(ActionEvent e)
{
this.dispose();
}
}
main()
{
int (*functable[2])(char *format, ...) ={printf, scanf};
int i = 100;
(*functable[0])("%d", i);
(*functable[1])("%d", i);
(*functable[1])("%d", i);
(*functable[0])("%d", &i);
}
a. 100, Runtime error.
b. 100, Random number, Random number, Random number.
c. Compile error
d. 100, Random number
Hello
I am hosting remoting within IIS. Everything works just
fine as long as
I allow anonymous access at the IIS level.
When I allow only Windows Authenticated sessions, something
very
strange happens:
If the client activates the remote object with IP address -
works fine
If the client activates it using a machine name - get http
401 exception is thrown.
The exception is thrown when the client calls the remote
method.
I set the channel's useDefaultCredentials property to true.
Any idea how to allow Windows Authentication?
Here is the call stack:
System.Net.WebException: The remote server returned an
error: (401)
Unauthorized
.. ---> System.ComponentModel.Win32Exception: The target
principal name
is incorrect
at System.Net.NTAuthentication.GetOutgoingBlob(Byte[]
incomingBlob,
Boolean handshakeComplete)
at System.Net.NTAuthentication.GetOutgoingBlob(String
incomingBlob,
Boolean handshakeComplete)
at System.Net.NegotiateClient.DoAuthenticate(String
challenge,
WebRequest webRequest, ICredentials credentials, Boolean
preAuthenticate)
at System.Net.NegotiateClient.DoAuthenticate(String
challenge,
WebRequest webRequest, ICredentials credentials, Boolean
preAuthenticate)
at System.Net.NegotiateClient.Authenticate(String challenge,
WebRequest webRequest, ICredentials credentials)
at System.Net.AuthenticationManager.Authenticate(String
challenge,
WebRequest request, ICredentials credentials)
at System.Net.AuthenticationState.AttemptAuthenticate
(HttpWebRequest
httpWebRequest, ICredentials authInfo)
--- End of inner exception stack trace ---