• Member Avatar for cgeier
    cgeier

    Began Watching device driver

    my pc os is windows7 ultimate .curently my mobile not connected on pc .pc display windows divice driver not installed .please resolve my problem than you
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in device driver

    You might try the following to install the standard bluetooth COM port driver. 1. Control Panel 2. Devices and Printers (If "View by" is large icons or small icons). If …
  • Member Avatar for cgeier
    cgeier

    Began Watching Getline Question

    Can someone explain this line a bit for me, I get the big picture, but the under-the-hood aspects are eluding me. testFile.getline(buffer, sizeof(buffer)); I have a char array buffer of …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Getline Question

    My C++ is a bit rusty, but I think that it may be because you are comparing a character array to a character. Which means that it will point to …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Getline Question

    Here are a couple of articles I found: [Null-terminated Character Arrays](http://classes.mst.edu/compsci53/ntca.htm) [Character sequences](http://www.cplusplus.com/doc/tutorial/ntcs/) [What is a null-terminated string?](http://programmers.stackexchange.com/questions/181505/what-is-a-null-terminated-string) [GetLine](http://www.cplusplus.com/reference/istream/istream/getline/)
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in PLEASE HELP HOW TO DO THIS

    **Account** It looks like you forgot to initialize 'id' and 'balance' to 0. Line 5 and line 8.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in PLEASE HELP HOW TO DO THIS

    TestAccount class with main method. public class TestAccount { public static void main(String[] args) { // add your code here }//main }//TestAccount
  • Member Avatar for cgeier
    cgeier

    Began Watching PostFix Evaluator

    Hi all - I am writing a program that uses two classes: One class is the InfixtoPostfix, which is actually the class that changes expressions from infix to postfix. (Example: …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Why does this code throw execption

    Because it's not a TimeSpan. Use `DateTime.Now.TimeOfDay`. That is if ts1 is of type TimeSpan.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in How would I extract number out of a String after a character?

    Convert string to char array, then check each character to see if it is a digit using `Character.isDigit(char c)` See [isDigit Documentation](http://download.java.net/jdk7/archive/b123/docs/api/java/lang/Character.html#isDigit%28char%29) OR Use regex, with the split function. See …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Need to configure alternate IP on 400+ remote Win 7 Machines

    The following urls for powershell may be helpful: [Windows and Windows Server Automation with Windows PowerShell](http://technet.microsoft.com/en-us/library/dn249523.aspx) [Use PowerShell to Configure the NIC on Windows Server 2012](http://blogs.technet.com/b/heyscriptingguy/archive/2012/11/21/use-powershell-to-configure-the-nic-on-windows-server-2012.aspx)
  • Member Avatar for cgeier
    cgeier

    Began Watching Guidance on implementing 3 different fast sorting algorithms

    Hello, as it can be inferred from profile, I am new. I have read the community guidelines and I have done prior research. I am a very weak coder(through my …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Guidance on implementing 3 different fast sorting algorithms

    1. Use a timer. For an example, [Click Here](http://stackoverflow.com/questions/3220477/how-to-use-clock-in-c) 2. Create 3 sorting functions. 3. Use a counter. 4. There is no substitution for practice.
  • Member Avatar for cgeier
    cgeier

    Began Watching volume water pseduo code

    I just started programming in C our first asssignment is writing an alogrithm to compute the volume of water in cubic feet, flowing through a pipe of diameter d in …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in volume water pseduo code

    For your program, pseudo-code might look like: Get diameter from user Get velocity from user radius = diameter / 2.0 PI = 3.14 area = PI * radius * radius …
  • Member Avatar for cgeier
    cgeier

    Began Watching Brute force

    Hi guys , I have to do simple brute force program for my homework and I dont know what to do. It should work when I put there some password(max. …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Brute force

    Updated code: added `int permutationCount = 1;`, `permutationCount += 1;`, and `printf ("%d", permutationCount);` #define AsciiArraySize 52 int i,j = 0; int permutationCount = 1; //keeps track of # of …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Brute force

    I would use a character array to hold the valid characters. #define AsciiArraySize 52 int i,j = 0; char asciiArray[AsciiArraySize]; int arrCount = 0; // insert upper case letters // …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Brute force

    However, if your password is case-sensitive, then you have, in essence, 52 letters--not 26 (26 lower case letters + 26 upper case letters) 4-letter permutations: 52*52*52*52 3-letter permutations: 52*52*52 2-letter …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Brute force

    Please look at the ascii table again. You will see the following: A-Z is 65-90 a-z is 97-122 and 91-96 are other characters.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Brute force

    I believe the number of permutations are as follows (for English alphabet): 4-letter permutations: 26*26*26*26 3-letter permutations: 26*26*26 2-letter permutations: 26*26 1-letter permutations: 26 Here is an article that explains …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Can't see a harddrive in my computer but can see it in device manager

    It may not be an NTFS or FAT/FAT32 partition. Open a cmd window and type the following: diskpart DISKPART> list disk by looking at the size figure out which disk …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in window startup error

    Clear the CMOS. Remove the CMOS battery for 30 - 60 seconds and replace. Reboot the computer.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in My Computer "Pauses" when not in use for a few seconds. HELP!!

    Have you checked the "Power Options"?
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Calling C++ from C#

    What do you mean by "calling C++ from C#"? Are you wanting to use a dll?
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Please Help With Inventory Program Part 6

    The issue of displaying the data in the textfields. **Inventory** **actionPerformed** You haven't called 'displayDVD' -- it is commented out. Uncomment it. // button pushes... // // Sets the void …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Please Help With Inventory Program Part 6

    **Inventory** In **searchProduct ** you ask for the itemNumber, but in the following code: for (int i = 0; i < movieArray.length; i++) { if (searchDVDTitle == movieArray[i].getDVDTitle()) { you …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Please Help With Inventory Program Part 6

    **Inventory** I noticed the "Cancel" button doesn't work on your JOptionPane.showInputDialog. Try something like the following: **getDVDTitle** private String getDVDTitle() { //-------------------------------------- // Changed from: //-------------------------------------- /* String title = …
  • Member Avatar for cgeier
    cgeier

    Began Watching Please Help With Inventory Program Part 6

    I have completed most of the code for my final assignment for my Java class but am having some difficulties getting it to compile. The requirements for the assignment are: …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Please Help With Inventory Program Part 6

    I've added some println statements to the following code, to help you with runtime debugging: **Inventory**: **sortProducts** /** * This method is used to sort the products by DVD Title …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Please Help With Inventory Program Part 6

    **Inventory**, Alternatively, In **addItem**, instead of copying the array yourself: for (int i = 0; i < movieArray.length; i++) { existingArray[i] = movieArray[i]; } int newSize = existingArray.length + 1; …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Please Help With Inventory Program Part 6

    In **Inventory**, change **line 306**, // Change from: // unitPriceText.setText(DVD.getUnitPrice()); // To: unitPriceText.setText(Double.toString(DVD.getUnitPrice())); change **line 307**, from: // Change from: //invValueText.setText(DVDMovie.getInventoryValue());` // To: invValueText.setText(Double.toString(DVDMovie.getInventoryValue())); change **line 312**, // Change from: …

The End.