\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{capt-of}

\begin{document}
\subsection*{A Demo for figure-table side by side}

the package \verb|capt-of| with \verb/\usepackage{capt-of}/ in
the latex preamble is needed! This package allows different types
of captions in a float environment.

Table/figure or table/table side by side needs minipages. So there
are some different solutions which all produce the same.

\subsubsection*{Figure/Table side by side in a TABLE-float environment:}

\begin{table}[ht]
\begin{minipage}[b]{0.48\columnwidth}%
    \centering
    \includegraphics[bb = 0 0 150 50, draft, type=eps]{filename}%
    % delete the above options for an exsting file
    \captionof{figure}{a side by side figure/table demo (Figure Caption No. 1)}
% or \captionof{table}[lot]{a side by side table demo (TAble Caption No. 1)}
\end{minipage}%
\hfill%
\begin{minipage}[b]{0.48\columnwidth}%
\begin{tabular}{c|c} 
x     & y\\\hline 
rr    & t\\ 
rrrrr & g
\end{tabular}
\caption{a side by side figure/table demo (Table Caption No. 1) }
\end{minipage}
\end{table}



\subsubsection*{Figure/Table side by side in a FIGURE-float environment:}

\begin{figure}[ht]
\begin{minipage}[b]{0.48\columnwidth}%
    \centering
    \includegraphics[bb = 0 0 150 50, draft, type=eps]{filename}%
    % delete the above options for an exsting file
    \caption{a side by side figure/table demo (Figure Caption No. 2)}
% or \captionof{table}[lot]{a side by side table demo (TAble Caption No. 1)}
\end{minipage}%
\hfill%
\begin{minipage}[b]{0.48\columnwidth}%
\begin{tabular}{c|c}
x     & y\\\hline 
rr    & t\\ 
rrrrr & g
\end{tabular}
\captionof{table}{a side by side figure/table demo (Table Caption No. 2) }
\end{minipage}
\end{figure}

\end{document}
