Search:

Type: Posts; User: valaris

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    76
    Views
    8,062

    Apple.com homepage really a sight to see. A very...

    Apple.com homepage really a sight to see. A very sad sight.

    RIP Steve. Will really miss you and all your contributions to humanity.
  2. Replies
    11
    Views
    4,981

    Your syntax for a for loop is not even close to...

    Your syntax for a for loop is not even close to being correct. Review in your book/notes the syntax for the loops. For instance for a "for" loop:



    for (int i = 1; i <= n; i+=2)
    {
    ...
  3. Replies
    9
    Views
    2,275

    Notice you are expecting a char value into num...

    Notice you are expecting a char value into num but you have declared it an int. num (or perhaps some better named variable) should be of type char. Then set an integer value to the numeric value of...
  4. Replies
    9
    Views
    2,275

    You can't just change value to num in the if...

    You can't just change value to num in the if statements. "num" doesn't become initialized to anything valid until it gets to the cin >> num; call. You need to get the users input before you check...
  5. Replies
    4
    Views
    958

    That's because no "array's" are being passed in. ...

    That's because no "array's" are being passed in. You are passing in the memory location of a and b, not their actual values. Two pointers are required by q, and each call to it in the function main...
  6. Replies
    9
    Views
    2,275

    Also note that simply chaining || will not have...

    Also note that simply chaining || will not have the effect you are probably expecting. You will need to individually compare value to each character value. In cases where I find myself doing a lot...
  7. Replies
    1
    Views
    1,483

    if ((DecimalPointAllowed = true) && (BoolChanged...

    if ((DecimalPointAllowed = true) && (BoolChanged != null))


    change that to ==

    Also you have to actually set Value property to something to get your event to fire to listeners.
  8. Replies
    35
    Views
    7,672

    It seems like the simplest solution would be to...

    It seems like the simplest solution would be to just use a hash table of int -> int that maps A[i] to an occurrence count on a first iteration of the array.

    On the second sweep through find the...
  9. Replies
    11
    Views
    12,403

    Well that's just it, you will be "rewriting" the...

    Well that's just it, you will be "rewriting" the part of directshow that saves the video to a file and the part the reads from a file essentially. When you compose your filter graph you will need on...
  10. Yes. The instructions for the method itself will...

    Yes. The instructions for the method itself will still reside in memory.
  11. Thread: WebBrowser

    by valaris
    Replies
    2
    Views
    1,475

    WebBrowser.DocumentCompleted Event...

    WebBrowser.DocumentCompleted Event (System.Windows.Forms)

    This seems to work fine.
  12. That looks really nice and un-cluttered. I think...

    That looks really nice and un-cluttered. I think I'll try it out this weekend.
  13. a isn't an array. It's a pointer. You are...

    a isn't an array. It's a pointer. You are indexing into whatever memory location it points to. So when you change where it points to, then the offsets from that base will also likely be different...
  14. Replies
    10
    Views
    17,176

    Remove the Student students[4]; from main, and...

    Remove the Student students[4]; from main, and remove Student students[]; globally. Set Student students[4]; globally.



    Student students[4];

    void gradeRecursion(int);
    void displayOutput();...
  15. Replies
    10
    Views
    17,176

    Ok, that makes it easier then. As Salem said, is...

    Ok, that makes it easier then. As Salem said, is student.cpp/h part of your project? If not, right click on your project in the solution explorer and add existing item. Then build your project.
  16. Replies
    10
    Views
    17,176

    Yes, post your code. Since it sounds like you...

    Yes, post your code. Since it sounds like you are not using an IDE you will also need to manually compile your stedent cpp file into an object file, and then link everything into your exe. I would...
  17. Make sure you have the correct permissions to the...

    Make sure you have the correct permissions to the directory G:\AI\dataBase\myWord
    Perhaps try running as administrator to attach.
  18. Replies
    2
    Views
    2,279

    I'm not sure what's wrong. Filling in a link...

    I'm not sure what's wrong. Filling in a link with the appropriate query string is a pretty usual way to pass data generated from JS to a php script. If the user clicks a link the parsed query...
  19. Thread: c# config

    by valaris
    Replies
    3
    Views
    3,472

    These are warnings, your project should still...

    These are warnings, your project should still build unless you have turned on "treat warnings as errors". The warning is just telling you what you are currently using is obsolete and you should...
  20. Lately I've been experimenting with F#.

    Lately I've been experimenting with F#.
  21. Replies
    2
    Views
    1,330

    if (labelEVdiffVal.Text == "+0.1%") Usually...

    if (labelEVdiffVal.Text == "+0.1%")

    Usually though your UI layer just displays a representation of some data object you have (the actual data member that is .1% in this case). So you're usually...
  22. Sure, I was just saying he should investigate...

    Sure, I was just saying he should investigate rather or not this is really one of those cases.
  23. No problem, but I didn't pay attention to your...

    No problem, but I didn't pay attention to your pinvoke signatures. adeyblue is right, you can have a better solution by just properly declaring your signature and let the runtime marshal.

    Maybe a...
  24. Try: if...

    Try:


    if (((PokerTable)listBoxTables.Items[i]).HWND.ToInt32() == handle)


    Assuming HWND is an intptr
  25. Was your OS built with DCOM libraries? You will...

    Was your OS built with DCOM libraries? You will probably need this or at least windows rpc for COM to be able to marshal.

    Also from a quick search this seams to be the consensus on ce out of proc...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4