CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: blinksumgreen

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Replies
    5
    Views
    9,490

    Re: Best math programming language?

    A speaker recently gave a talk at the university I attend on a language he had created called Frink. It's great when dealing with measurement conversions, which it could do on the fly. It was also...
  2. Re: Determining object identities using image recognition

    For anyone who may have come across this via a Google search, or just perusing the forum, there was a pretty good answer given to the same question when I asked it on StackOverflow.

    Response...
  3. [RESOLVED] Determining object identities using image recognition

    I've written some image analysis software that can determine the basic shape, color, and dimensions (in cm) of what it considers to be the most dominant object in the image.

    I've also created a...
  4. MPLab PIC Microchip / Version of Assembly Question

    I've been tasked with writing a concise bit of code for a microchip and have been using the MPLAB IDE. I have a little experience with Assembly, but it was with MASM. I've got the pseudo code and my...
  5. Replies
    11
    Views
    1,199

    Re: Simple I/O question

    Thank you! That solved the problem!
  6. Replies
    11
    Views
    1,199

    Re: Simple I/O question

    Thank you, and sorry for not seeing that earlier.


    cout << "Input employee name" << endl;

    string input = "";
    //cin.get();
    getline(cin, input, '\n');
    std::cin.ignore(...
  7. Replies
    11
    Views
    1,199

    Re: Simple I/O question

    #include <iostream>
    #include <string>
    using namespace std;

    void inputEmployeeInfo(string name[], float hours[], float payrate[], int & size){
    bool k = true;
    int i = 0;

    while(k == true){
  8. Replies
    11
    Views
    1,199

    Re: Simple I/O question

    That's pretty much the code for it.
  9. Replies
    11
    Views
    1,199

    Re: Simple I/O question

    Below is the output I get with the cin.get() in there, which is exactly what I want, with the exception of not having the first letter.

    Input employee name
    Bill
    Input hours employee worked
    45...
  10. Replies
    11
    Views
    1,199

    Simple I/O question

    while(true){
    string input = "";
    cin.get();
    getline(cin, input, '\n');
    cout << "NAME: " << input << endl;
    }

    For some reason the code above cuts off the first character entered.

    Example:
  11. Replies
    4
    Views
    908

    Re: Need help with Quicksort

    I am using Visual Studio and its built in debugger.

    I'm not necessarily working on the main portion of the program, I'm just responsible for writing the sorting algorithm using quicksort, and I'm...
  12. Replies
    4
    Views
    908

    Need help with Quicksort

    I've done the code below to try and implement Quicksort and it works... almost. It switches the positions of the last two items to be sorted.

    Example: (using some randomly generated numbers)
    - it...
  13. Replies
    0
    Views
    1,444

    Replicate Strings.exe

    I need to replicate the ascii portion of what the

    http://technet.microsoft.com/en-us/sysinternals/bb897439.aspx

    strings.exe program does. From the description of the file it says, "Search for...
  14. Replies
    0
    Views
    705

    Replicate Strings.exe

    Sorry, accidentally did a multipost.

    http://www.codeguru.com/forum/showthread.php?t=487330
  15. Replies
    13
    Views
    1,700

    Re: Need help manipulating StringBuffer

    I understand.

    Output:

    'Hello'
    'how'
    'how'
    'you'
    'how'
    'you'
  16. Replies
    13
    Views
    1,700

    Re: Need help manipulating StringBuffer

    I think it would work just fine, why, does something not seem right in the code?
  17. Replies
    13
    Views
    1,700

    Re: Need help manipulating StringBuffer

    I ended up doing something kind of like that.

    When it reads in the file, if the beginning of the line starts with ! or does not contain a single quote, then it doesn't even bother appending it to...
  18. Replies
    13
    Views
    1,700

    Re: Need help manipulating StringBuffer

    Thank you for all the help!
  19. Replies
    13
    Views
    1,700

    Re: Need help manipulating StringBuffer

    Thanks, that did the trick.

    I have one more question. I need to be able to print all string literals that appear in a file. The problem is that a line can contain multiple string literals.
    ...
  20. Replies
    13
    Views
    1,700

    Need help manipulating StringBuffer

    I want to be able to read in a text file and then print it out. That in itself is fairly straight forward. But I also need to be able to eliminate a line of text if it starts with a certain...
  21. Replies
    4
    Views
    1,597

    Re: Run program with batch file

    When I try this method it says that it cannot create the java virtual machine. I've attached an image of what it tells me.

    Batch file consists of: java - jar printStatement Input.txt >> output.txt...
  22. Replies
    4
    Views
    1,597

    Run program with batch file

    I know when using C++ you can do the following to read in a list of commands from a text file, run them against the program, and output the results to a text file:

    ExampleProg < test.txt >...
  23. Use of Anagrams for security purposes

    Does anyone know of ways in which an anagram could be used for security purposes?
  24. Replies
    3
    Views
    1,575

    Re: Printing in rows, then columns

    Thank you!
  25. Replies
    3
    Views
    1,575

    Printing in rows, then columns

    I'm in the final stages of a project and I have a question.

    Recape + New info - keyword has any non unique characters removed.
    "Alphabet (without J, so as to keep it to 25 letters, and therefore...
Results 1 to 25 of 58
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured