hello I have an inquiry about reading from a file. so if i have a file and if it opens (meaning it is there) how do i check if there is data? ifstream file("example.txt"); if (file.good()) { //file.open("example.txt"); // is this necessary again???????? i read that the ".good" provide checking if file exists AND opens it if it does //check if there is data...how???? } ..... i know if i have like getline and if it cant get anything, the program will obviously crash/not build, but instead of crashing, i want to make it a message that there is no …

Member Avatar
Member Avatar
+0 forum 2

Hello Community, I'm making a new service called Gimme Support, currently my domain is [http://gimmesupport.co](http://gimmesupport.co). I need to renew it soon and I was debating on weather to change it to [http://gimme.support](http://gimme.support). Which would you say is better [http://gimmesupport.co](http://gimmesupport.co) or [http://gimme.support](http://gimme.support)? I'm still not sure which one I should go with, I'd probably consider renewing the .CO extension for a few months just for the cross-over stage (only because it is still under-construction so no one really knows about it yet) as well as buy the .SUPPORT extension and move everything over.

Member Avatar
Member Avatar
+0 forum 5

How we can write a program to get out put given below in c?? 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 4 5 4 3 2 1

Member Avatar
Member Avatar
+0 forum 2

I have created a project in which i am printing Hall ticket for an examination. i am using visual studie 2008 as front end and sql2008 as backend. I have created a report in crystal reprot. I have photographs of students in a local folder. how do i access or call each of the photo in the report. i m not getting anything how to go about. Pls help n pls give detailed steps how to go about.

Member Avatar
Member Avatar
+0 forum 1

The End.