Search:

Type: Posts; User: Diablo02

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    3,665

    Thx for the help guys, ill try to implement this...

    Thx for the help guys, ill try to implement this to my program and if I run into errors ... i'll let u know :)
    Thx very much!
  2. Replies
    12
    Views
    3,665

    hmm, i see what you mean now... So basically have...

    hmm, i see what you mean now... So basically have an array '0' for key up and '1' for key down to act as a bool right? So if key A is pressed -'1'- and key W are pressed -'1'-, I should then have a...
  3. Replies
    12
    Views
    3,665

    If I was to go with arrays how would the program...

    If I was to go with arrays how would the program know if the user intended to press a different key instead of pressing two keys... What im saying is that since c# can only read 1 input at a time, if...
  4. Replies
    12
    Views
    3,665

    Hmm, ok :( Thx.

    Hmm, ok :(
    Thx.
  5. Replies
    12
    Views
    3,665

    need help for reading two keyboard inputs

    I have the following code and was wandering if someone could help me in telling me how i could make the program read 2 inputs such as: 87 and 68 ('w' and 'd') instead of reading just one input at a...
  6. Replies
    4
    Views
    2,517

    hmm, alright, i got it to work, thx.

    hmm, alright, i got it to work, thx.
  7. Replies
    4
    Views
    2,517

    Globally

    Globally
  8. Replies
    4
    Views
    2,517

    how to specify a specific KeyPress event?

    private void Form1_KeyPress(object sender, KeyPressEventArgs e)
    {
    }


    During the KeyPress event, it takes any key pressed, but how would i make it to ONLY accept the "w" key for...
  9. Replies
    3
    Views
    2,767

    Hmm, ive tried the code, but it doesn't draw...

    Hmm, ive tried the code, but it doesn't draw it... Am I missing something?

    Nevermind, i got it to work. Thx!
  10. Replies
    3
    Views
    2,767

    How to draw shapes and output?

    Could someone tell me how i could accomplish this?
    Basically .. i want to draw a circle and fill it with a colour. Could you show me the code thats needed to do this?
  11. Replies
    4
    Views
    2,333

    ohhhh! gotcha :) That makes sense now ... ...

    ohhhh! gotcha :)

    That makes sense now ...

    Thx for the help. -got it to work
  12. Replies
    4
    Views
    2,333

    Doesn't work ... a = Math.Asin(0.25); a =...

    Doesn't work ...
    a = Math.Asin(0.25);
    a = 0.25268...
  13. Replies
    4
    Views
    2,333

    How to inverse a trig?

    Im coding in console app, and i can't seem to find a way to get the inverse of sine.

    I need it to evaluate:
    a = sin^-1(0.2/0.5)
    a=23.58 degrees

    but while looking through the different 'Math.'...
  14. Replies
    13
    Views
    7,737

    Hmm, thats better, thanks

    Hmm, thats better, thanks
  15. Replies
    13
    Views
    7,737

    hmmm .. doesn't work .. Ive tried using: if...

    hmmm .. doesn't work ..
    Ive tried using:
    if (narray[y] == ((a * ((2 / 3) * (2 / 3))) + (b * ((2 / 3) * -1)) + c))
    but didn't work .. why not? It should output the exact same value shouldn't it?...
  16. Replies
    13
    Views
    7,737

    hmm... So what should i do? Is there a way to...

    hmm... So what should i do? Is there a way to round it off?
    if not .. then could i have c# read that as 0 by adding an if statement?
  17. Replies
    13
    Views
    7,737

    using System; using System.Collections.Generic;...

    using System;
    using System.Collections.Generic;
    using System.Text;

    namespace Factoring_2
    {
    class Program
    {

    static void Main(string[] args)
  18. Replies
    13
    Views
    7,737

    no no... This is what i get, '...

    no no...
    This is what i get, ' 4.44089209850063E-16 ' if calculated with 2/3.. Which is utterly wrong... Any other number works perfectly fine and the problem only stays with 1/3 or 2/3. I have...
  19. Replies
    13
    Views
    7,737

    C# calculation problem

    I was wandering if someone could tell me how I could make c# do a round off for 1/3 or 2/3 before placing it into a calculation.

    For example:
    I know that c# is terrible with 1/3 and 2/3 and will...
  20. Replies
    5
    Views
    10,349

    hmm, ill check it out...

    hmm, ill check it out...
  21. Replies
    5
    Views
    10,349

    would the text field expand for me as the arrays...

    would the text field expand for me as the arrays make a new line each time? or do I have to make it large enough to fit all of them?
  22. Replies
    5
    Views
    10,349

    Output an array in a textbox

    Im working in the application GUI layout and was wandering if there was a scrollbox or something like that that would allow me to output several arrays in it...

    For example, user inputs something,...
  23. Replies
    4
    Views
    1,745

    You could set the new window's opacity to be...

    You could set the new window's opacity to be translucent...
    Another thing u can do is have the new window pop up at a certain corner of your screen that is a certain length and width that won't...
  24. thx man!

    thx man!
  25. Another thing came up... how would i specify a...

    Another thing came up... how would i specify a random coordinate (random x, random y) for the window to open at?
Results 1 to 25 of 33
Page 1 of 2 1 2