943,789 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 2924
  • C++ RSS
Jul 3rd, 2004
0

compilation error

Expand Post »
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.
C++ Syntax (Toggle Plain Text)
  1.  
  2. #include <iostream.h>
  3. #include <fstream>
  4. #include <iomanip>
  5. #include <stdio.h>
  6.  
  7.  
  8. void fileinput();
  9.  
  10. int m,n, k, r;
  11. *
  12. main()
  13. {}
  14.  
  15.  
  16. void fileinput()
  17. {
  18. *int i,j;
  19. **ifstream read("data1");
  20. **cout << "No. of variables and constraints = " << endl;
  21. **read >> m ;
  22. **read >> n; //reading dimension of the problem.
  23. **cout << *n << " *and *" << m;
  24.  
  25. }/* function filemode() ends *here */

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

thsnks.
Last edited by Ancient Dragon; Mar 30th, 2009 at 7:15 pm. Reason: add code tags
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pandey is offline Offline
1 posts
since Jul 2004
Mar 30th, 2009
0

Re: compilation error

There seem to be random *'s all over the code...
Featured Poster
Reputation Points: 437
Solved Threads: 204
Posting Virtuoso
daviddoria is offline Offline
1,968 posts
since Feb 2008
Mar 30th, 2009
0

Re: compilation error

Click to Expand / Collapse  Quote originally posted by daviddoria ...
There seem to be random *'s all over the code...
Yes, those *'s have been there for quite some time ...
Reputation Points: 1105
Solved Threads: 389
Posting Virtuoso
mitrmkar is offline Offline
1,714 posts
since Nov 2007
Mar 30th, 2009
0

Re: compilation error

Click to Expand / Collapse  Quote originally posted by pandey ...

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)?
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,950 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: DLL drivers using c++.....Urgent!!
Next Thread in C++ Forum Timeline: User input to start the program?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC