To implement quantum-information processing, microwave fields are often used to manipulate superconducting qubits. We study how the coupling between superconducting charge qubits can be controlled by variable-frequency magnetic fields. We also study the effects of the microwave fields on the readout of the charge-qubit states. The measurement of the charge-qubit states can be used to demonstrate the statistical properties of photons.