C++ and Html Files

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: C++ and Html Files

 
1
  #11
Mar 1st, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 678
Reputation: Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold 
Solved Threads: 101
Sky Diploma's Avatar
Sky Diploma Sky Diploma is offline Offline
Practically a Master Poster

Re: C++ and Html Files

 
0
  #12
Mar 1st, 2009
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 .
1. Please Mark Your Thread as Solved After Getting Your Answers.
2. Please Use CODE TAGS .
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 678
Reputation: Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold 
Solved Threads: 101
Sky Diploma's Avatar
Sky Diploma Sky Diploma is offline Offline
Practically a Master Poster

Re: C++ and Html Files

 
0
  #13
Mar 2nd, 2009
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?
1. Please Mark Your Thread as Solved After Getting Your Answers.
2. Please Use CODE TAGS .
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 644 | Replies: 12
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC