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

Search:

Type: Posts; User: BioPhysEngr

Page 1 of 40 1 2 3 4

Search: Search took 0.03 seconds; generated 55 minute(s) ago.

  1. Replies
    2
    Views
    3,564

    Re: declarative harachy build

    Hello,

    You have made a number of similar posts that seem to be (thinly) disguised ads for your product. Forum rules allow you to make one product announcement in the Announcements forum, but...
  2. Replies
    2
    Views
    3,170

    Re: secondary thread

    Hello,

    You have made a number of similar posts that seem to be (thinly) disguised ads for your product. Forum rules allow you to make one product announcement in the Announcements forum, but...
  3. Replies
    2
    Views
    703

    Re: Data template

    Hello,

    You have made a number of similar posts that seem to be (thinly) disguised ads for your product. Forum rules allow you to make one product announcement in the Announcements forum, but...
  4. Replies
    3
    Views
    10,307

    Re: Newbie Needs Help Creating Timer

    Here is more specific information about the P/Invoke call Arjay mentioned: http://stackoverflow.com/questions/484278/log-off-user-from-win-xp-programmatically-in-c-sharp

    Depending on your...
  5. Replies
    2
    Views
    9,638

    Re: Modify large text file

    You can, of course, do this in C#, but you might consider using some GNU utilities under Linux or Cygwin (under Windows) to do it as a command-line one-liner, like:



    cat mytextfile.txt | sed...
  6. Replies
    2
    Views
    11,606

    Re: Auto generation of game puzzle data

    Well, the tricky part is ensuring that it is possible to complete the puzzle in a specific number of moves. Why not generate them by working backward?

    (1) Start with an empty grid
    (2) Add some...
  7. Re: First project: Esimation for feasability and level of difficulty appreciated

    This sounds like a feasible project, though will have several challenges. Here is some advice to get you going.

    Basically, you have three phases in a loop: SENSE the state of the game, DETERMINE...
  8. Re: Replacing GUI in a Win32 application - best strategy?

    I think the fruitful discussion in this thread has run its course, and am therefore closing this thread.

    Zizz, I understand you are upset with the modification of your post. However, this is also...
  9. Re: Hella Games Entertainment looking for C# Programmer

    [ Moved to Open Positions (jobs) forum ]
  10. Re: Webinar (Feb 25): Improve Testing Coverage with Automated Code Coverage Analysis

    [Moved to announcements forum]
  11. Replies
    1
    Views
    1,644

    Re: Simple (to some) dice game

    Your PairOfDice objects have the exposed methods int SumOfFaces(), void Roll() and bool isDoubles(). You can use these to carry out all the needed functions. For example, to "roll the dice" you can...
  12. Re: Noob Needs Direction - Dynamically Named Variables in C#

    Just replying to a small part:

    You are having trouble printing the Dictionary. You should try it like this:



    static void Display(Dictionary<string, List<double>> data)
    {
    //Display the...
  13. Re: Noob Needs Direction - Dynamically Named Variables in C#

    You'll want to use
    and tags around your code to keep formatting; I've updated your reply with them.
  14. Re: out of memory exception reading large files.

    HABO's answer on StackOverflow looks good to me: http://stackoverflow.com/questions/9237324/encrypting-decrypting-large-files-net
  15. Replies
    1
    Views
    2,169

    Re: JavaScript (Banner Rotator) Simple Fix

    [ Moved Thread to the Client Side Scripting Forum ]
  16. Thread: Loop

    by BioPhysEngr
    Replies
    4
    Views
    1,666

    Re: Loop

    Looks OK to me (though I didn't really read through the SQL part in much detail). Yes, you should definitely be able to shorten the second one. Mostly like (you can check for bugs, just doing it...
  17. Thread: Loop

    by BioPhysEngr
    Replies
    4
    Views
    1,666

    Re: Loop

    Alternatively, you can throw them into an array:


    Label[] lblRecipArray = { lbl_Recipient1, lblRecipient2, /*etc*/ };
    ComboBox[] cbRecipArray = { cb_recipient1, cb_recipient2, /*etc*/ };...
  18. Re: packing rectangles into a container rectangle with minimum overlap

    Maybe this will help? Link: http://www.codeproject.com/Articles/210979/Fast-optimizing-rectangle-packing-algorithm-for-bu
  19. Replies
    2
    Views
    1,111

    Re: What is the purpose of @ here?

    It declares the string to be literal. It will therefore NOT interpret \r as a carriage return escape sequence and \n as a newline escape sequence. Read more at...
  20. Replies
    3
    Views
    3,912

    Re: c# advice - parsing text file

    A Dictionary is a hash-table data structure that associates a key with a value. Asking for the key will return the value. Think of it a little like accessing an array, except that you don't have to...
  21. Replies
    1
    Views
    2,585

    Re: creating adjacency matrix , using c#

    Your problem seems a little under specified. In particular, the metadata for each paper will need to declare its own numerical identifier (not just the IDs of the papers it cites). In your example,...
  22. Replies
    1
    Views
    1,086

    Re: linq on two string array

    I don't know of a quick way to do it with Linq (probably because I don't use Linq terribly often, perhaps another member will know).

    You can do it normally though, if you have a way to quickly...
  23. Replies
    2
    Views
    5,753

    Re: Help with understanding an Algorithm

    Aye, I strongly agree with nuzzle. People love it when people take an interest in their work...!
  24. Replies
    3
    Views
    3,912

    Re: c# advice - parsing text file

    It depends. If you have a one-off hack that you need to just work as fast as possible and never-ever have to use it again, then either your if-elseif blocks or switch statements with hard-coded...
  25. Replies
    2
    Views
    1,135

    Re: Class Vs Structure in program design ..

    tl;dr version: probably classes, unless you have a good reason to choose structs.

    Longer version, you'll probably want to read about the differences:...
Results 1 to 25 of 980
Page 1 of 40 1 2 3 4





Click Here to Expand Forum to Full Width

Featured