Search:

Type: Posts; User: darren78

Page 1 of 14 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    3,287

    Show the code that calls the dll file.

    Show the code that calls the dll file.
  2. A static class allows you to access it's methods...

    A static class allows you to access it's methods without having to create an instance of the actual class.

    For example, if you want a group of helper functions/methods that you can use across the...
  3. Replies
    11
    Views
    2,142

    I've never used C, but looking at your code, I...

    I've never used C, but looking at your code, I notice that your palindrome function returns an int in the function signature yet, it never actually returns an int?

    For a palindrome, I would use a...
  4. Have you ever dealt with regular expressions? ...

    Have you ever dealt with regular expressions? Google it and you should be able to find a regular expressions that will allow you to extract text only and use the C# support for Regex....

    Regular...
  5. Replies
    4
    Views
    1,769

    Are they referencing the correct Excel and Core...

    Are they referencing the correct Excel and Core references? If my memory serves me right there are different versions of these, such as 12.0 and 5.0 (i think). Not sure if that would make the...
  6. Replies
    5
    Views
    944

    You have declared the functions signature as...

    You have declared the functions signature as such:



    bool Match(char Lc, char Rc)


    So you need to pass in Lc and Rc when you call the function.
  7. Replies
    5
    Views
    944

    You are not passing any arguments to Match.

    You are not passing any arguments to Match.
  8. I sure did.....Friday afternoon over here! It's...

    I sure did.....Friday afternoon over here! It's been a long week :)
  9. Can you not have an array of a user-defined type?...

    Can you not have an array of a user-defined type?
    So


    Struct cards {
    int suit;
    int card;
    };

    array[52] cards;
  10. Replies
    6
    Views
    2,124

    Yeah, when I said it makes it look neater, I did...

    Yeah, when I said it makes it look neater, I did mean for seperating code. I tend to put a brief comment about each method/function and this splits it up nicely.
  11. Replies
    5
    Views
    2,316

    I use Programming C' 4.0 from O'Reilly. It's a...

    I use Programming C' 4.0 from O'Reilly. It's a good book, not so much for beginners, but it does teach Database connectivity.

    When you say database programming, I would suggest you keep in mind,...
  12. Replies
    6
    Views
    2,124

    Commenting Style

    Hi,

    I was wondering what peoples thoughts wereon commenting style. Since I have been working commercially, I have noticed a few variations. From the simple




    // comment
    void method()
  13. Thread: Logic Problem

    by darren78
    Replies
    16
    Views
    3,178

    Have a look at using switch statements as well. ...

    Have a look at using switch statements as well. They are often the better choice compared to multiple if-else statements.
  14. Thread: datagridview

    by darren78
    Replies
    2
    Views
    1,634

    Fixed: I had ...

    Fixed: I had dataGridView1.AutoGenerateColumns = false;
  15. Thread: datagridview

    by darren78
    Replies
    2
    Views
    1,634

    datagridview

    Hi,

    I have a datagridview that is populated dynamically to a datatable, when the user clicks on a certain area.

    When they click on another area, the datagridview needs to display a completely...
  16. Replies
    2
    Views
    2,092

    Stopping Winform Process

    I have a winform application that can catch any number of possible errors. I have found though, that once a messagebox or some other method of displaying the error has been displayed (within a catch...
  17. Replies
    4
    Views
    4,092

    Thanks again. I will have a read up on what you...

    Thanks again. I will have a read up on what you have advised.

    It is a personal project more than anything. I am a University student, and I want to build up an online portfolio of work that I...
  18. Replies
    4
    Views
    4,092

    Hi, And thanks for the response. The function...

    Hi,

    And thanks for the response. The function is for the Julia Set, used for an example.
    I was looking to allow the user to type in a fractal equation and then to parse that to obtain the x,y...
  19. Replies
    4
    Views
    4,092

    Fractal Generator

    Hello,

    As a small side project, I am going to have a go at makeing a Fractal generator using C++ and SDL.

    I just wanted to check with somebody that knows about Fractals. Am I correct in my...
  20. Replies
    0
    Views
    858

    Clipboard help

    Hi,

    I am copying the contents of an Excel file onto the Clipboard within a program I have written. I can then use that data in memory rather than 'chatting' constantly with Excel.

    When I have...
  21. Replies
    10
    Views
    5,701

    That's incorrect. If, when you create an...

    That's incorrect. If, when you create an instance of a class, you need to initialise data members, then you need to declare a constructor. Otherwise the information stored in the memory locations...
  22. Replies
    9
    Views
    1,249

    Okay, so you are using class methods, it's...

    Okay, so you are using class methods, it's slightly different and there are a few things wrong here.

    I guess my using car[2] you are wanting to create and store multiple car objects. I would...
  23. Replies
    9
    Views
    1,249

    I am going out now so won't be able to help any...

    I am going out now so won't be able to help any further this evening. Have a read up on Cprogramming.com Tutorial: Functions and also do a google search for functions and passing parameters. There...
  24. Replies
    9
    Views
    1,249

    Show what changes you have made and the errors...

    Show what changes you have made and the errors you are getting.
  25. Replies
    9
    Views
    1,249

    You need to pass the car object into the...

    You need to pass the car object into the function.
    So the function would look like:


    void listModified(warehouse car)
    {
    //do stuff
    }

    You could then create your car object in main as you...
Results 1 to 25 of 332
Page 1 of 14 1 2 3 4