Search:
Type: Posts; User: RSASKA
Search:
Search took 0.02 seconds.
-
February 18th, 2010, 08:37 PM
Goodness, now I realize. At case 9 it appends 9 to string s, then it drops down to case 10, prints 10 and then breaks from the switch. Then the for loop continues where x is incremented to 10 and...
-
February 18th, 2010, 06:15 PM
Hello,
I am studying for SCJP 6 Exam, and came across this question which shows code as asks for the output
3. public class Ebb {
4. static int x = 7;
5. public static void...
-
February 11th, 2010, 10:49 AM
That's a good point. I'll work on converting the code from C to C++ (I'm not an experienced programmer, hence using C may introduce more security bugs in my case)
-
February 11th, 2010, 09:32 AM
Having an EXIT option is a good point, just in case the person wants to terminate the program
My intent for using try-throw-catch was to create robust code. If a program can be made to act...
-
February 10th, 2010, 10:53 AM
Hello,
I am creating code that seemed fine, except when I entered a single character, or strings instead of numbers, the console continually prompts for user input and it is difficult to terminate...
-
February 2nd, 2010, 03:23 PM
Hello,
I am trying to create a function that compares lower and upper bound IP addresses. If the lower bound IP address is greater than the upper bound IP address I would like the program to
...
-
December 22nd, 2009, 03:45 PM
The code uses ofstream.
How would I write the output of a command to a file, I am really clueless about this.
Case in point, cmd is assembled and written to outputx
-
December 22nd, 2009, 03:17 PM
Still no luck with
C:\[name of scipt.exe] > filetooutput.txt
I forgot to mention, this is an interactive script, i.e. it prompts the user to select an option and based on that option, it...
-
December 22nd, 2009, 02:43 PM
Hello,
There is a script that I have been tasked to run and modify.
However, I am having quite difficulty in understanding the signifigance of return codes, and it would make my life easier if...
-
December 16th, 2009, 09:35 AM
Speedo, now it makes sense. I'll re-structure my code accordingly.
Thanks everyone!
-
December 16th, 2009, 08:31 AM
Please see attached code:
# include <iostream>
# include "stdafx.h"
# include <fstream>
# include <string>
# include <time.h>
-
December 16th, 2009, 08:16 AM
I have created a procedure, exitFailure() that is invoked if a file doesn't exist:
int exitFailure()
{//start exitFailure()
printf("Failure, hit any key to exit and press enter.\n");...
-
December 9th, 2009, 03:41 PM
Hello,
I am using Visual Studio 2008 to program in C++. My program needs to read in a line, break it into two strings. It seems that the String Toolkit Library (StrTk)...
-
December 8th, 2009, 10:33 AM
I added numFile.clear(); and it works, thanks!
-
December 8th, 2009, 09:30 AM
Actually, I'm kind of not sure what program is going to be used. Just borrowed a book, ASP.NET MVC Framework Unleashed (ISBN: 9780768689815), perhaps that may help.
-
December 8th, 2009, 09:20 AM
Good Morning,
I added logic to the code such that:
1. prompt user for name of letter file
2. prompt user for name of number file
3. check whether letter file can be open
4. close letter file...
-
December 4th, 2009, 03:06 PM
Good Afternoon,
I have been tasked to create a program using Java and .NET application. Java tutorials can be found by googling for them, however I've been trying to look for tutorials on .NET...
-
December 4th, 2009, 01:41 PM
Paul, I tried out the code, it compiles and when it runs, I see the terminal screen pop-up with it listing characters before exiting. I'll introduce the other logic to get it fully functional.
...
-
December 3rd, 2009, 11:02 AM
I am trying to write a program that
1. opens letterFile containing letters on each line
2. reads in first line of letterFile
3. save the pointer position of letterFile in pos
4. opens numFile...
-
December 3rd, 2009, 09:15 AM
Awesome, it now works, thanks!
-
December 2nd, 2009, 01:28 PM
Hello,
I am developing code to
1. read the number of lines in a file ipFile, and store that value in ipLength
2. create a dynamic array ipArray of size ipLength
3. initialize ipArray
4....
|
Click Here to Expand Forum to Full Width
|