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 everyone...I turn to u in search of help... OK..So in a nut shell : I'm seeking three refurbished laptops with decent specs...shipped fedex international...as we all have learned the hard way at some point buying online can be....so any trusted..(really...yes I'm serious) place i can check out....thanks...please keep in mind i said refurbished...meaning....budget limits..lol

Member Avatar
Member Avatar
+0 forum 3

IF I wanted to change the text inside of a RichTextBox on the click of a button. What code do I need? So far I have: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click RichTextBox1.Text(???? What goes here? because I'm getting Property access must assign to the property or use its value) End Sub End Class

Member Avatar
Member Avatar
+0 forum 6

well...i don't know much about all this and want your help to own a domain like productsliquidators.com. please help.

Member Avatar
Member Avatar
+0 forum 1

`Inline Code Example Here`

Member Avatar
Member Avatar
+0 forum 1

I have an issue when I add "" around text in the statement below. With out it works fine but when I add it the whole page is blank. Can someone please help me out on this one. I need to have the quotes in the verbiage. **This works:** $lang["t_tech_v26_content"]="We have founded this net operation in 1988, only the finest work for more than 20 years.<br> <br> Many of our clients are small to medium companies. <br> <br> we're proud to be members of the National Review Board and the Area Chamber of Commerce. Together, we have a united goal …

Member Avatar
Member Avatar
+0 forum 4

Hi guys, Recently I was struck by a question "[B][COLOR="Red"]HOW MUCH AVERAGE TIME IS REQUIRED TO WRITE A TEST CASE OR TEST STEP FOR ANY APPLICATION. CAN WE HAVE ANY METRICS FOR IT.......[/COLOR][/B] Please Help ! Thanks in advance.......

Member Avatar
Member Avatar
+0 forum 5

Please, please don't tell me to stop being lazy and do this myself. I'm really struggling in my java class and I wouldn't be online asking strangers for help if I wasn't desperate and didn't already try to do the work myself. I've been on a number of programming help forums only to be told to get out and stop being lazy, but there's a reason I got such a low grade in programming the first semester, and that's because I don't get it, and every time I ask for help I get turned down. So though I'm aware you …

Member Avatar
Member Avatar
+0 forum 2

Dear Experts, Thanks in advance for helping me out. I am new to C# as well asp.net. I have already running appllication asp.net , needs to change in asp file with C# code. Scenario: My application is using third party software "activepdf server,webgrabber" to convert and print to pdf. BUT latest version of Activepdf Webgraber is doing all alone. Problem : I can not put code on proper location as given in example by Activepdf at : [url]http://examples.activepdf.com/WebGrabber%20WBE/2010/WebGrabber%20Basic%20Conversion.vbs[/url] Kindly help me to change the code of here . [code] //APWebGrabber wb=new APWebGrabber(); APWebGrbNET.APWebGrabber wb = new APWebGrbNET.APWebGrabber(); //APServer aps=new APServer(); …

Member Avatar
+0 forum 0

Hello everyone and thanks in advance for helping me. I'm a 1st year java student in my first semester of college. Its comming towards the end of the semester and finals are starting up.. well my problem is that my java teacher decided to give us 2 projects to work on both of which im not experienced enough to work on with the time he's given us... The first project is to fix another programmers code... (How am i suppose to do that i wondered i can barely do my own xD) It must: * Be broken into methods * …

Member Avatar
Member Avatar
+0 forum 12

try { string path = Application.StartupPath + @"\IMAGE\"; if (!System.IO.Directory.Exists(path)) System.IO.Directory.CreateDirectory(Application.StartupPath + @"\IMAGE\"); string filename = path + @"\" + openFileDialog1.SafeFileName; pictureBox1.Image.Save(filename, System.Drawing.Imaging.ImageFormat.Jpeg); System.IO.File.Move(path + @"\" + openFileDialog1.SafeFileName, path + @"\" + textBox1.Text + ".jpg"); } catch (Exception ex) { MessageBox.Show("Failed To Save" + ex.Message); i made a registration form.there is a picture box to insert picture who r registering.And upper code is the path where this picture is saved.Now i made a form which will show the profile of that registered parson after login.in the profile form there is also a picture box.after login the exact photo of that …

Member Avatar
Member Avatar
+0 forum 2

Hey guys I'm trying to create a tic-tac-toe program in c++. This is what I have so far. But it just produces garbage. [CODE]#include<iostream> #include<cstdlib> #include<ctime> #define frz system("PAUSE") using namespace std; //Global Variables const int length = 3; const int width = 3; //Function Prototypes void initializeboard(char [length][width], int); void displayboard(char [length][width], int); void playermove(char [length][width], int); void computermove(char [length][width], int); void determinewinner(char [length][width], int, bool); int main() { bool gamefinished = false; char board[length][width]; initializeboard(board, width); cout << "Welcome to tic-tac-toe\n"; while(gamefinished = false) { bool gamecontinue = false; for (int a = 0; a < length; a++) …

Member Avatar
Member Avatar
+0 forum 1

[CODE]#include <stdio.h> void getInput(); void calculate(int num1, int num2, int num3, float num4); void printTable(int num1, int num2, int num3, float num4,int calc1, int calc2, int calc3, int calc4, double calc5, double calc6, float calc7, float calc8); int main (void) { int num1, num2, num3; float num4; int calc1, calc2, calc3, calc4; double calc5, calc6; float calc7, calc8; printf("\nHello World! My name is Daniel Greene\n"); getInput; calculate; printTable; return 0; } void getInput () { int num1, num2, num3; float num4; printf("Enter three integers and a floating point number then press enter: "); scanf("%d %d %d %d" , &num1, &num2, …

Member Avatar
Member Avatar
+0 forum 4

The End.