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

# Search:

Type: Posts; User: TheGreatCthulhu

Page 1 of 47 1

1. ## Thread: difficult problem of finding a specific numerical minimum in fuzzy series

by TheGreatCthulhu
Replies
6
Views
193

### Re: difficult problem of finding a specific numerical minimum in fuzzy series

Could you just clarify a few more points:

Is the assumption that after the highest maximum that marks the transition to meaningful data (132.2 in your case), all the following maxima will be...
2. ## Thread: difficult problem of finding a specific numerical minimum in fuzzy series

by TheGreatCthulhu
Replies
6
Views
193

### Re: difficult problem of finding a specific numerical minimum in fuzzy series

Are you thinking of the data as if sampled from a curve with a bunch of local maxima and minima? Or is it more along the lines of what tiliavirga said?
What assumptions are you making about the...
3. ## Thread: Abstraction concept problem?

by TheGreatCthulhu
Replies
63
Views
3,512

### Re: Abstraction concept problem?

BTW, the reason this distinction is of certain practical importance, instead of being purely philosophical, is, for example, that you can, legitimately, use pointers (the language feature) to...
4. ## Thread: Abstraction concept problem?

by TheGreatCthulhu
Replies
63
Views
3,512

### Re: Abstraction concept problem?

I don't think that's the case, though! It's quite a semantics game we're playing here. :D

I was under the impression that PredicateNormative and others who were insisting on the distinction...
5. ## Thread: Recursive function: take a non-negative integer and print each digit of that integer

by TheGreatCthulhu
Replies
16
Views
676

### Re: Recursive function: take a non-negative integer and print each digit of that inte

Also,

I have a feeling that your assignment says that you should print it from "left to right" - check that (that's sort of where the recursion comes in - instead of just doing it in a loop).
6. ## Thread: Is Template Method design pattern and Hook the same thing by different names?

by TheGreatCthulhu
Replies
3
Views
310

### Re: Is Template Method design pattern and Hook the same thing by different names?

In addition to the above: the Template method pattern is more about defining a concrete sequence of steps for an operation/algorithm, but with the details of each step abstracted away, so that...
7. ## Thread: Understanding the Composite Design Pattern

by TheGreatCthulhu
Replies
3
Views
2,922

### Re: Understanding the Composite Design Pattern

Yeah - the whole point of the Composite pattern is to have an object composed out of smaller parts, but have the client code treat it the same way as any individual part (by letting the concrete...
8. ## Thread: Abstraction concept problem?

by TheGreatCthulhu
Replies
63
Views
3,512

### Re: Abstraction concept problem?

Seems like you guys are talking about two different things here, while calling it the same name.

Value vs reference semantics is one thing - a concept that is related to the character, and the...

by TheGreatCthulhu
Replies
8
Views
491

### Re: SQL Begginer

Sometimes, you just need to know what to look for ("northwind" in this case). Here, check these out:
MSDN: Working with Sample Databases
MSDN: How to: Install Sample Databases
10. ## Thread: Abstraction concept problem?

by TheGreatCthulhu
Replies
63
Views
3,512

### Re: Abstraction concept problem?

Pointers points aside (heh! :) ), a few more things about the design question (downcasting in client code):
While type-casting from abstractions to concrete types in client code is not necessarily...
11. ## Thread: Newbie in C sharp/ Microsoft Visio

by TheGreatCthulhu
Replies
4
Views
462

### Re: Newbie in C sharp/ Microsoft Visio

Also, after you add assembly & namespace references as described above, check you code for typos and syntax errors (there are both in the code you posted above):

PrincipleContext ctx = new...
12. ## Thread: How to return the integer value of a string?

by TheGreatCthulhu
Replies
9
Views
725

### Re: How to return the integer value of a string?

May I suggest to consider the text of the exercise once again and think about what it's trying to teach you - because I think that the way you are going about it is overly complicated.
To me, it...

by TheGreatCthulhu
Replies
3
Views
392

### Re: Random number/array/histogram

You seem confused about what your histogram should display. The number of calls to roll() has nothing to do with how many different numbers roll() can return. Those two things are independent. Say,...
14. ## Thread: .xml to .txt

by TheGreatCthulhu
Replies
49
Views
1,981

### Re: .xml to .txt

No, what he meant was: if you were to write some code that would insert the line breaks and save the output to a txt file, that code would have to parse the original xml file to achieve this - but...
15. ## Thread: Fixed delete recoders SQL Server database ?

by TheGreatCthulhu
Replies
1
Views
341

### Re: Fixed delete recoders SQL Server database ?

See this: http://stackoverflow.com/questions/4325714/wont-let-me-delete-rows-in-sql-server-2005-management-studio

Looks like your table somehow doesn't have a primary key.
Using SQL Server...
16. ## Thread: How to repeated insert into history by textchanged event problem

by TheGreatCthulhu
Replies
4
Views
504

### Re: How to repeated insert into history by textchanged event problem

Or, in case the user is allowed, but not required, to press enter, you can additionally handle the LostFocus event.
17. ## Thread: Building a parser using two differnt classes

by TheGreatCthulhu
Replies
2
Views
384

### Re: Building a parser using two differnt classes

P.S. For validation, you would check things like if the split results in the expected number of components, and you would catch any exceptions thrown by int.Parse(), etc. If you detect any problems,...
18. ## Thread: Building a parser using two differnt classes

by TheGreatCthulhu
Replies
2
Views
384

### Re: Building a parser using two differnt classes

That shouldn't be too hard to make. You would use some of the methods provided by the string class. Note that none of these methods alter the original string (string type is immutable) - they all...
19. ## Thread: Problem : Unable to connect to specified host From C# application

by TheGreatCthulhu
Replies
3
Views
408

### Re: Problem : Unable to connect to specified host From C# application

Yes, but, what are the details of the exception - stack trace, inner exception and all - there's probably a clue in there as to what is going on.

Try changing
Console.WriteLine(ex.Message);...
20. ## Thread: The handle is invalid error exception when screenshoot from screen why and how to sol

by TheGreatCthulhu
Replies
4
Views
568

### Re: The handle is invalid error exception when screenshoot from screen why and how to

Also, is this a service by any chance? If so, take a look at this.

by TheGreatCthulhu
Replies
4
Views
481

### Re: Gaussian Rationals??

Hi and welcome to the forums.
When posting code, please use the
tags - they will keep existing code formatting and help others read your code.

22. ## Thread: Obj.Orient. Structure question newbie/intermediate

by TheGreatCthulhu
Replies
4
Views
573

### Re: Obj.Orient. Structure question newbie/intermediate

In addition to what Arjay said, let me just add a few thoughts. Your "manager" classes can do more than just store a list of things - as long as it conceptually makes sense, and as long as the...
23. ## Thread: What should I be doing differently?

by TheGreatCthulhu
Replies
3
Views
1,305

### Re: What should I be doing differently?

So far, this peace of code doesn't really do anything:

Private Sub lstNames_SelectedIndexChanged(sender As Object, e As EventArgs) Handles lstNames.SelectedIndexChanged
Dim query = From...
24. ## Thread: Concatenate images - H E L P

by TheGreatCthulhu
Replies
1
Views
528

### Re: Concatenate images - H E L P

Well, the main thing is to figure out how you'll arrange those images, both within a row, and the rows themselves. What you would do is collect all the rectangles in some list-like container...
25. ## Thread: How to access a managed 2D array in C++ *without* making a deep copy?

by TheGreatCthulhu
Replies
2
Views
870

### Re: How to access a managed 2D array in C++ *without* making a deep copy?

It seems that you can simply pin an arbitrary element of the array outside of your loop, and the entire array will be pinned - so you don't really need...
Results 1 to 25 of 1173
Page 1 of 47 1