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

Search:

Type: Posts; User: o.fithcheallaigh

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    1,505

    Re: Identifier not found

    Okay, thanks for that.

    Over the summer, I am just going to go right back to the start and learn it the right way!

    Many thanks.

    Seán
  2. Replies
    11
    Views
    1,505

    Re: Identifier not found

    Hello.

    The & symbol will give the address of whatever it is before. So, in this case the address of idum.

    So, it is assigning to x, the address of idum, and not the actual value.

    Seán
  3. Replies
    11
    Views
    1,505

    Re: Identifier not found

    Pretty much.

    I am learning for a class at uni, where the idea seems to be learning through doing. Normally we have lab classes where we can get help, but they ended long before the current work...
  4. Replies
    11
    Views
    1,505

    Re: Identifier not found

    Hello again,

    I have been trying some of the suggested fixes, and now I am getting this error

    "error C2664: 'CAboutDlg::ran2' : cannot convert parameter 1 from 'int *' to 'int &'"

    And I...
  5. Replies
    11
    Views
    1,505

    Re: Identifier not found

    Hey,

    Thanks for that! I will give it a go.



    I didn't compile a .txt file, I just copied the code into it. Also, if you look at my original post, you will see I do know how to use the code...
  6. Replies
    11
    Views
    1,505

    Re: Identifier not found

    Hello,

    Thanks for the reply.

    Sorry about that ...I have attached pretty much the full code. I thought since it was coming under the public deceleration I could call it without any issues.
    ...
  7. Replies
    11
    Views
    1,505

    Identifier not found

    Hello.

    I have function under a 'public:' section of my code. It is called



    double ran2(int &idum)


    Later on, for a button click in the dialog box, I have a line of code that says
  8. Replies
    5
    Views
    909

    Re: Reading in from a dialog box

    That did the trick!

    Again, thanks!

    Seán
  9. Replies
    5
    Views
    909

    Re: Reading in from a dialog box

    I did start off asking my questions there, but I was told to come here.



    I am afraid it wasn't to me :) ...and that is why I have come here to try and get help, and learn.



    Thanks a lot,...
  10. Replies
    5
    Views
    909

    Re: Reading in from a dialog box

    Hello,

    Thanks for the reply. I have tried a different approach, but got a new issue. Hopefully someone can help.

    Here is the code



    {
    CString myEdit1;
  11. Replies
    2
    Views
    594

    Re: Reading text in dialog box

    Will do, thanks.

    I am new to the visual stuff and I'm not to sure of the differences.

    Thanks again.

    Seán
  12. Replies
    5
    Views
    909

    Reading in from a dialog box

    Hello,

    I am just writing a silly little application to add two numbers together, but I am not sure how to read in from the edit control boxes.

    I have been trying to do it this was




    int...
  13. Replies
    2
    Views
    594

    Reading text in dialog box

    Hello,

    I am just writing a silly little application to add two numbers together, but I am not sure how to read in from the edit control boxes.

    I have been trying to do it this was



    int...
  14. Replies
    3
    Views
    957

    Re: Advice on a cipher program

    Hello again.

    I hope everyone is well.

    I am still having a few issues. I am still having a few issues getting this program going. I have put the encryption program below. I am just not sure how...
  15. Replies
    3
    Views
    957

    Re: Advice on a cipher program

    Hello,

    Thanks for the reply.

    This is my first time using Visual Studio, so it is all a bit new to me.

    Seán
  16. Replies
    3
    Views
    957

    Advice on a cipher program

    Hello,

    I am hoping someone can give me some advice on a visual studio program I need to write. (I assume this is the right place to post).

    I have to wrote a program that displays a dialog box...
  17. Replies
    2,690
    Views
    1,021,806

    Re: What Song Are You Listening To Now¿

    Split Kick by Art Blakey ...from A Night At Birdland, Vol. 1
  18. Replies
    15
    Views
    2,870

    Re: Negating a bitmap image

    Hello,

    No, we have not been asked to support any specific variant of bitmap.

    Could I ask one last question on this? It has to dowiththe code for negating the colours. I have put the code I have...
  19. Replies
    15
    Views
    2,870

    Re: Negating a bitmap image

    Hey,

    I have got this written in C (I know this is a C++ board, sorry).

    I do not know what sizes to make the data array. I do not know what image will be loaded it, so I don't know what to put...
  20. Replies
    15
    Views
    2,870

    Re: Negating a bitmap image

    I think my problem here is understad the steps I need to go through. I mean, I can figure the code out when I know WHAT to do.

    For example.

    1. Open the file.
    2. Copy header information into...
  21. Replies
    15
    Views
    2,870

    Re: Negating a bitmap image

    Hello.

    Thanks for the infor on the RGB colour system. I should have realised that by altering any of the RGB values, it will effect all colours.

    And Paul, thanks for the reminder on the RGBQUAD...
  22. Replies
    15
    Views
    2,870

    Re: Negating a bitmap image

    I have been looking at other bits of code I have, and I was wondering would this be a reasonable way to do it.

    In the bitmap.h file I have a structire called BITMAPINFOHEADER which contains...
  23. Replies
    15
    Views
    2,870

    Re: Negating a bitmap image

    Hey, thanks for the reply.



    Okay, that makes sense. But do I just need this for the RGB colours? What about yellow etc?

    And this presents another problem. Knowing what colour they are, so I...
  24. Replies
    15
    Views
    2,870

    Negating a bitmap image

    Hello.

    I hope everyone is well.

    I also hope someone can tell me if I am going along the right path in writing a program to negate a bitmap image. The program as I have it is asking the user to...
  25. Replies
    14
    Views
    2,827

    Re: Converting int to hex function.

    Ah, thanks for that!

    That information actully comes in handy now :)

    But, again, I am going to be a pain. I am trying to change the program a bit so I can use the function for a number that has...
Results 1 to 25 of 92
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured