Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

Nooner

@Nooner
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Audio vedio caputing
    N Nooner

    The guys that are the gurus today started with just a pixel. It changed color as the sensor moved to a light environment to a dark environment. Then they got the opportuntity to mess around with two pixels, then three.. then 25. As the number of pixels they were recording over time increased, they had different techniques to capture the video, and different techniques to play back the video. Now we have very high resolution, but many of the same tecniques still apply to the single pixel screen. If you are thinking about creating your own video capture utility I would strongly recommend that you review the history of the video recording and capture technology as you learn to spell.

    Life is too short to program in Visual Basic.

    C# tutorial question

  • How to cast to a type stored in a field
    N Nooner

    redivider, to get data out of the dictionary you have to give it the key. In a dictionary, the key is the first type whatever that is. So since you are using an int, then the integer value that you entered must exist in your dictionary, else it will be null. For a list, this is completely different from a dictionary, and you can just sellect the first field or [0]. int key = 39292; String testObj = "Hello I'm a string"; object value = (object)testObj; so in your example... _BlobData.add(key, value); To get out the value... you have to put in the correct key... String myOldDefinition = (String)_BlobData[key]; Console.Writeln("My old string = " + myOldDefinition); HTH, Marc

    Life is too short to program in Visual Basic.

    C# question help tutorial

  • Letter from Number generator
    N Nooner

    ok I'll try and add a StringBuilder to this. I spent a day on it and the solution was not cliquing. I think I'll just get out an algorithms book and start from square one. :doh: Thanks, Marc

    Life is too short to program in Visual Basic.

    C# help question

  • Letter from Number generator
    N Nooner

    Hey I'm looking for a bit of help for a generic letter (see code below) Generator. The funciton takes a number and returns a String. expected: input output ----- ------ 1 a 26 z 27 aa 28 ab 52 az 53 ba 54 bb 78 bz 79 ca 702 aaa 703 aab 704 aac ... Here is the code I got so far:

        public String getLetter(int? number)
        {
            number -= 1;
            String letter = "";
            char\[\] lettersA = {
                                 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 
                                 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r',
                                 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'
                              };
    
            int size = number.Value % 26;
            int bigSize = number.Value % 676;
            int loop = (int)Math.Floor((decimal)(number.Value / 26));
            int bigLoop = (int)Math.Floor((decimal)(number.Value / 676));
    
    
            for (int i = 0; i < loop; i++)
            {
                letter += lettersA\[i\];
            }
            letter += lettersA\[size\];
    
            return letter;
        }
    

    Please respond if you have a solution. Thank you, Marc

    Life is too short to program in Visual Basic.

    C# help question

  • Random physics question
    N Nooner

    Now... that brings up a good point... how the heck do you have a mass of air rush past you at the speed of sound with little or no turbulence so you can test this theory. Maybe in your wind tunnel have a bunch of pressurized pin holes feeding air into the wind tunnel. heh -- Marc Life is too short to program in Visual Basic.

    The Lounge question html database com game-dev
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups