943,752 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 1082
  • C++ RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Mar 1st, 2009
1

Re: C++ and Html Files

I wonder if somehow the C++ program is introducing an EOF character prematurely. I strongly doubt it's a crlf \n issue (that is linux uses a different mechanism for new lines than does DOS/Windows). If I'm not mistaken, in linux EOF is ^D, and in M$ I think it's ^Z.... soooooooooo maybe there is an issue there... also, make sure it's not a permissions issue, though I imagine if it were, the web server would give you an error, other than a blank HTML.
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004
Mar 1st, 2009
0

Re: C++ and Html Files

Thank You Camatose And Death Clock. I have finally managed to figure out why my page wasnt displaying. It was because of a faulty piece of php code. So i guess my C++ worked properly

I am absolutely sorry. To have made you all Perplexed with confusion.
I doubted my coding .. Which was not the appropriate to start over with.

When i switched on to display Php errors on the server. I caught a third party script which i was using had a messy but simple error.

Now it all works

Thanks to you guys again .
Reputation Points: 673
Solved Threads: 125
Practically a Posting Shark
Sky Diploma is offline Offline
818 posts
since Mar 2008
Mar 2nd, 2009
0

Re: C++ and Html Files

Sorry for DOuble posting

Now i have another problem guys. Internet explorer 7 and Firefox both have given errors in the adsense scripts that i have posted and they say that there is a un-identified character that is being posted in the code.

here is a example of the website.

http://sim.byethost4.com/Golf.html

Clicky

Now i think that it is being caused by the program becoz of

outputfile <<s<<endl;

So is there anyway of getting rid of that?
Reputation Points: 673
Solved Threads: 125
Practically a Posting Shark
Sky Diploma is offline Offline
818 posts
since Mar 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

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: srand and while() problem
Next Thread in C++ Forum Timeline: Poisson Probability..





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


Follow us on Twitter


© 2011 DaniWeb® LLC