compilation error

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2004
Posts: 1
Reputation: pandey is an unknown quantity at this point 
Solved Threads: 0
pandey pandey is offline Offline
Newbie Poster

compilation error

 
0
  #1
Jul 3rd, 2004
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.
  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
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 634
Reputation: daviddoria is a jewel in the rough daviddoria is a jewel in the rough daviddoria is a jewel in the rough 
Solved Threads: 46
daviddoria daviddoria is offline Offline
Practically a Master Poster

Re: compilation error

 
0
  #2
Mar 30th, 2009
There seem to be random *'s all over the code...
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 978
Reputation: mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice 
Solved Threads: 208
mitrmkar mitrmkar is offline Offline
Posting Shark

Re: compilation error

 
0
  #3
Mar 30th, 2009
Originally Posted by daviddoria View Post
There seem to be random *'s all over the code...
Yes, those *'s have been there for quite some time ...
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,484
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1478
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: compilation error

 
0
  #4
Mar 30th, 2009
Originally Posted by pandey View Post

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)?
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC