954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

compilation error

I am trying to run one program using GNU compiler GCC 3.2.3.
*i am seding u *partial code of my program and the compilation error i am getting.

#include <iostream.h>
 #include <fstream>
 #include <iomanip>
 #include <stdio.h>
 
 
 void fileinput();
 
 int m,n, k, r;
 *
 main()
 {}
 
 
 void fileinput()
 {
 *int i,j;
 **ifstream read("data1");
 **cout << "No. of variables and constraints = " << endl;
 **read >> m ;
 **read >> n; //reading dimension of the problem.
 **cout << *n << " *and *" << m;
 
 }/* function filemode() ends *here */




Bug I ma getting is thses error which i am not able to solve out. Can anyone help me.

thsnks.

pandey
Newbie Poster
1 post since Jul 2004
Reputation Points: 10
Solved Threads: 0
 

There seem to be random *'s all over the code...

daviddoria
Posting Virtuoso
1,996 posts since Feb 2008
Reputation Points: 437
Solved Threads: 204
 
There seem to be random *'s all over the code...

Yes, those *'s have been there for quite some time ...;)

mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395
 
Bug I ma getting is thses error which i am not able to solve out. Can anyone help me. thsnks.

What are the error message(s)?

Ancient Dragon
Retired & Loving It
Team Colleague
30,050 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You