Search:

Type: Posts; User: Giant

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    38
    Views
    6,459

    on the button as usual mitakeet ;)

    on the button as usual mitakeet ;)
  2. Replies
    38
    Views
    6,459

    garrr -please delete this post mr admin

    garrr -please delete this post mr admin
  3. Thread: c tutorials

    by Giant
    Replies
    7
    Views
    1,246

    googleforit.com ;) hehe, only joking have alook...

    googleforit.com ;) hehe, only joking have alook at this page, its where I first went at first, though I now use reference books as I find them to be alot more help.
    ...
  4. i have shortened the code to isolate the problem...

    i have shortened the code to isolate the problem to this:



    // OneChannelWin32.cpp : Defines the entry point for the console application.
    //
    #include <iostream>
    #include "stdio.h"
    #include...
  5. yes thats what i want to do and I have no...

    yes thats what i want to do and I have no warnings at all, just the error line

    Giant.

    When I take out the casts the compiler fails on all three counts saying ''cannot convert from void* to...
  6. define 'all those casts' ?

    define 'all those casts' ?
  7. erm...:( no sorry, can you take out the large...

    erm...:( no sorry, can you take out the large stick of education and hit me with it please

    from what I think you are saying I should pass
    vGetPixelValueIntoArray(ppfImageData[nCountI],...
  8. error C2664: cannot convert parameter 1 from float** __w64 to float *

    Hi,

    simply put the following code generates the error

    error C2664: 'vGetPixelValueIntoArray' : cannot convert parameter 1 from 'float **__w64 ' to 'float *'




    int main(int argc, char...
  9. Replies
    1
    Views
    5,382

    Porting Matlab to C

    Hi chums, I am trying to turn a matlab script into C, and have a problem with one line:
    X = A\b

    Where A is a matrix that m~=n and b is a column matrix of proportions m,1.

    The full script I...
  10. Replies
    41
    Views
    8,862

    just a quick update, slotted your program into my...

    just a quick update, slotted your program into my existing code, and it showed me where I was going wrong (especially with allocating memory) and even showed me where I was getting memory leaks which...
  11. Replies
    41
    Views
    8,862

    i have to go now :( meeting the parents for...

    i have to go now :( meeting the parents for dinner :), but i will work on this tomorrow, thanks for all your help (AGAIN!)
  12. Replies
    41
    Views
    8,862

    this is where the fact that i dont know either C...

    this is where the fact that i dont know either C or C++ well (certainly C better than C++) at all comes out :(. And I thought I was using C enough to warrent posting on this board, though i could be...
  13. Replies
    41
    Views
    8,862

    ha, got it working, cheers for the help,...

    ha, got it working, cheers for the help, definatly pointed me in the right direction ;)
  14. Replies
    41
    Views
    8,862

    erm sort of , you do give me a clearer indication...

    erm sort of , you do give me a clearer indication of what I need to do, though i am still pretty lost :(, below is a simplified version of my code as it stands (most of the validation and header...
  15. Replies
    41
    Views
    8,862

    Right...here's an interesting question (i hope ;)...

    Right...here's an interesting question (i hope ;) ).


    I believe what is happen in the program you made, is that you are making a pointer to an array then saving all the relevant pixel information...
  16. Replies
    41
    Views
    8,862

    :D I do not know how to thank you enough....i...

    :D I do not know how to thank you enough....i have been working on this problem for 3 straight days and now (thanks to your good self) it is working a treat :) thanks again

    Matt.

    p.s. its my...
  17. Replies
    41
    Views
    8,862

    yeah depending on what is set up in the header...

    yeah depending on what is set up in the header portion of the file, if it is in 'p3' format then it is ASCII but if it is in p6 format then its in simple byte format.


    i will have alook at...
  18. Replies
    41
    Views
    8,862

    i can deal with the whitespace layout (in fact my...

    i can deal with the whitespace layout (in fact my full program ignores it completely) and 'headerend' (in the full program) is generated by counting how much whitespace+header+comment the program ahs...
  19. Replies
    41
    Views
    8,862

    my good friend and soon to be flatmate has come...

    my good friend and soon to be flatmate has come through for me once again and the file is hosted (it its original format) here : http://adrock.ath.cx/img0061.ppm

    thanks again for the help,
    Matt.
  20. Replies
    41
    Views
    8,862

    i already tried the zip (the file is originally...

    i already tried the zip (the file is originally 1Mb) i dont have hosting but asking a mate now, could i not email it to you ?
  21. Replies
    41
    Views
    8,862

    it wont let me upload it as it isnt a recognised...

    it wont let me upload it as it isnt a recognised filetype, and when i change the name it limits everything to 193.0 kb and this is 760 :S
  22. Replies
    41
    Views
    8,862

    I havent seen that webapge before tbh, i am on...

    I havent seen that webapge before tbh, i am on student placement right now from university, and my boss wants me to do things with .ppm files, but before i can manipulate them I need to be able to...
  23. Replies
    41
    Views
    8,862

    Nothing much just the includes (you can see them...

    Nothing much just the includes (you can see them below as i hav streamlined some more to make it as simple as possible, though i still cant see where i am going wrong :( )



    #include <iostream>...
  24. Replies
    41
    Views
    8,862

    struct filenamestruct{ char basename[128]; ...

    struct filenamestruct{
    char basename[128];
    char basefolder[128];
    char basenumber[128];
    char nextFileName[256];
    size_t maximagenumber;
    size_t originalbasenumber;
    };

    struct...
  25. Replies
    41
    Views
    8,862

    Well that didnt take long to shorten as i thought...

    Well that didnt take long to shorten as i thought it would ;)....

    anyway here is the code, still giving me the same error :(



    #include "practice.h"
    /*
    Expect a series of images of the...
Results 1 to 25 of 34
Page 1 of 2 1 2