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

# Search:

Page 1 of 3 1

1. ## Thread: Best math programming language?

Replies
5
Views
4,445

### 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. ## Thread: [RESOLVED] Determining object identities using image recognition

Replies
1
Views
1,035

### 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. ## Thread: [RESOLVED] Determining object identities using image recognition

Replies
1
Views
1,035

### [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. ## Thread: MPLab PIC Microchip / Version of Assembly Question

Replies
2
Views
2,288

### 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. ## Thread: Simple I/O question

Replies
11
Views
781

### Re: Simple I/O question

Thank you! That solved the problem!
6. ## Thread: Simple I/O question

Replies
11
Views
781

### 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. ## Thread: Simple I/O question

Replies
11
Views
781

### 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. ## Thread: Simple I/O question

Replies
11
Views
781

### Re: Simple I/O question

That's pretty much the code for it.
9. ## Thread: Simple I/O question

Replies
11
Views
781

### 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. ## Thread: Simple I/O question

Replies
11
Views
781

### 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. ## Thread: Need help with Quicksort

Replies
4
Views
633

### 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. ## Thread: Need help with Quicksort

Replies
4
Views
633

### 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...

Replies
0
Views
1,209

### 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...

Replies
0
Views
545

### Replicate Strings.exe

Sorry, accidentally did a multipost.

15. ## Thread: Need help manipulating StringBuffer

Replies
13
Views
1,527

### Re: Need help manipulating StringBuffer

I understand.

Output:

'Hello'
'how'
'how'
'you'
'how'
'you'
16. ## Thread: Need help manipulating StringBuffer

Replies
13
Views
1,527

### Re: Need help manipulating StringBuffer

I think it would work just fine, why, does something not seem right in the code?
17. ## Thread: Need help manipulating StringBuffer

Replies
13
Views
1,527

### 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. ## Thread: Need help manipulating StringBuffer

Replies
13
Views
1,527

### Re: Need help manipulating StringBuffer

Thank you for all the help!
19. ## Thread: Need help manipulating StringBuffer

Replies
13
Views
1,527

### 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. ## Thread: Need help manipulating StringBuffer

Replies
13
Views
1,527

### 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. ## Thread: Run program with batch file

Replies
4
Views
1,303

### 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. ## Thread: Run program with batch file

Replies
4
Views
1,303

### 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. ## Thread: Use of Anagrams for security purposes

Replies
0
Views
655

### Use of Anagrams for security purposes

Does anyone know of ways in which an anagram could be used for security purposes?

Replies
3
Views
1,279

Thank you!
25. ## Thread: Printing in rows, then columns

Replies
3
Views
1,279

### 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