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

Search:

Type: Posts; User: BioPhysEngr

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. 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:...
  2. Replies
    1
    Views
    162

    Re: Program help

    Just your listbox problem should be fixed by:


    listBox1.Items.AddRange(filenumbers.Split(' '));


    To do the math calculations you want though, you'll probably want to parse them from strings...
  3. Replies
    3
    Views
    225

    Re: Regarding Resume Parser Tool

    Fascinating question!

    However, I think trying to apply NLP to this project will transform it into a gigantic boondoggle. It's a pain to get things into a machine-readable format even when the...
  4. Re: populating authorizations using cookie

    Is there a question here...?
  5. Replies
    33
    Views
    373

    Re: How to provide a return URL?

    Sorry, I did not fully parse your question. Can you describe the exact authentication scheme? Who sends what where? when?
  6. Replies
    5
    Views
    181

    Re: DateTime weird

    How are you determining that it is lower than DateTime.Now (and which "now" do you mean?)
  7. Replies
    1
    Views
    144

    Re: Array swapped index

    I don't clearly understand what you want to do here. You want to display the indices the user specified? Or you want to show what's at the array after the swap? Or you want to show the whole array...
  8. Replies
    1
    Views
    205

    Re: pikck up a random out of a text file

    If I had to guess, this appears to be software intended to flood a chat system with a spam message. Discussion of such topics is not permitted by the CodeGuru Acceptable Use Policy (see...
  9. Thread: Need Help

    by BioPhysEngr
    Replies
    2
    Views
    149

    Re: Need Help

    ToString() is a method. You just need to adjust the line to:



    label5.Text = String.Format("with a credit score of {0}", CreditScore.ToString());


    This was a simple problem, but for more...
  10. Thread: Need Help

    by BioPhysEngr
    Replies
    2
    Views
    149

    Re: Need Help

    I have surrounded your code snippet with
    and tags to preserve the indentation. Welcome to the forum!
  11. Replies
    4
    Views
    274

    Re: Need Basic Information

    No header files are needed in C#. The declaration of the signature at method implementation is enough. Not clear about the specifics, but the method signatures are all just contained in the...
  12. Thread: b-trie

    by BioPhysEngr
    Replies
    4
    Views
    446

    Re: b-trie

    Hrm, this thread is a little stale, but what language were you considering?
  13. Re: Looking for some one to help with my Launcher

    [ Moved thread to Jobs Forum ]
  14. Replies
    10
    Views
    1,131

    Re: How "unbreakable" is my code?

    Several observations:

    (1) The presence of 26 distinct glyphs suggests some sort of substitution cypher.
    (2) The cypher does not appear to be a simple polyalphabetic substitution cypher using a...
  15. Replies
    10
    Views
    1,131

    Re: How "unbreakable" is my code?

    Resisted my attempt to decrypt it using HMM-based frequency analysis . But I am not an accomplished cryptanalyst, so that might not mean much. Might have to do with not knowing what the possible...
  16. Replies
    5
    Views
    348

    Re: Loading user input into an array

    Ah! Quite right. That's a bug in the code I suggested. You have to run the loop backward:



    for (int i = totals.Length -1; i > 0; i--)
    {
    totals[i] = totals[i-1];
    }
    totals[0] =...
  17. Replies
    5
    Views
    348

    Re: Loading user input into an array

    This block zeros the saved totals every time the button is clicked:


    totals[0] = 0.0m;
    totals[1] = 0.0m;
    totals[3] = 0.0m;
    totals[4] = 0.0m;

    (Actually, you miss totals[2]). Instead, you...
  18. Replies
    4
    Views
    244

    Re: Private Array is Implicitly Modified

    Or, more explicitly, you can do an array copy like:



    public IntArray(int[] myIntArray)
    {
    //Create two new arrays
    this.myIntArray = new int[myIntArray.Length];
    ...
  19. Replies
    4
    Views
    244

    Re: Private Array is Implicitly Modified

    This block of code assigns two variables (namely this.myIntArray and this.myIntArrayBackup) that both point at the exact same array data structure:



    public IntArray(int[] myIntArray)
    {
    ...
  20. Replies
    4
    Views
    295

    Re: Very new to this language

    I don't think that is correct. I have modified the path environmental variable before without needing to restart for effect. However, open command line consoles will not detect the change if they...
  21. Replies
    4
    Views
    575

    Re: an odd question

    SharpDevelop (my favorite IDE!) can do VB.NET -> C# conversion automagically... might be useful in adapting rogermiller's linked page
  22. Re: map network drives and execute program?

    I think like:



    notepad.StartInfo.FileName = @"Z:\program.exe";


    The @ means string literal. Instead you could have written "Z:\\program.exe"

    Perhaps one of these links might be...
  23. Replies
    2
    Views
    241

    Re: Real time position calculation

    It's probably best to measure time on an absolute scale (from the start of the simulation) rather than constantly calculating time distances between frames; otherwise you will probably accumulate...
  24. Replies
    1
    Views
    374

    Re: Get .flv link of embedded video

    Hello! An interesting question, but unfortunately I think discussion of this topic is not permitted by the Acceptable Use Policy of the forum. While you could use that for legitimate purposes, it...
  25. Replies
    1
    Views
    195

    Re: help with coding

    Hello! Unfortunately, this sort of question is not permitted by the Acceptable Use Policy of the forum.

    [Thread closed]
Results 1 to 25 of 111
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width