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

Search:

Type: Posts; User: TheMummy

Page 1 of 4 1 2 3 4

Search: Search took 0.06 seconds.

  1. Thread: compile error

    by TheMummy
    Replies
    7
    Views
    1,251

    ohh...yes....thanks joe.... i overlooked that. i...

    ohh...yes....thanks joe.... i overlooked that. i have changed the case. but i am getting runtime error :

    Exception in thread "main" java.lang.NoSuchMethodError: main
    Press any key to...
  2. Thread: compile error

    by TheMummy
    Replies
    7
    Views
    1,251

    compile error

    i am doing conversion of ferhenhite to celsius




    import javax.swing.*;

    import java.awt.*;

    import java.awt.event.*;
  3. Replies
    8
    Views
    2,456

    i read that pdf link and they are also doing...

    i read that pdf link and they are also doing like that.

    its a very good link where they have given some implementation blues. i have read some journals and webpages but got different...
  4. Replies
    8
    Views
    2,456

    thanks Kheun i read your link for upsamplig ...

    thanks Kheun

    i read your link for upsamplig

    Hprime =
    -0.0915 -0.1585 0.5915 -0.3415

    Next, upsample Hprime by two , inserting zeros in alternate positions:

    HU =
  5. Replies
    8
    Views
    2,456

    thanks for the reply. TheCPUWizard and ...

    thanks for the reply.


    TheCPUWizard and Kheun



    you people have told theoretically . its ok.But i want to go for implementation
  6. Replies
    8
    Views
    2,456

    is there no answer ? can anybody share his views...

    is there no answer ? can anybody share his views ?
  7. Replies
    8
    Views
    2,456

    what is the meaning of data upsampling ?

    what is the meaning of upsampling rows and downsampling columns from a matrix ?

    say , i have a matrix

    1 2 3 4 5 6 7 8 ......

    2 3 6 7 8 9 70 45.....

    ...............................
  8. Replies
    3
    Views
    901

    it worked. thanks

    it worked. thanks
  9. Replies
    3
    Views
    901

    not getting icon

    this code is not showing the icon ?why ? here is the code which does not show the icon even though i have specified the icon.



    class ABC
    {
    public static void main(String[] args)
    {
    ...
  10. Replies
    11
    Views
    1,409

    thanks narendra. good explanation.

    thanks narendra. good explanation.
  11. Replies
    11
    Views
    1,409

    ohh.. yes i understand now. thanks for the last...

    ohh.. yes i understand now. thanks for the last code. that helped me to distinguish.


    thanks
  12. Replies
    11
    Views
    1,409

    No, that was not my question. int x[20] ; ...

    No, that was not my question.

    int x[20] ;

    int * p = new int [20];
    p = x;
    x[0] = 5, x[1] = 3

    as you are saying i am leaking the memory here bcoz i am not using allocated memory . i am...
  13. Replies
    11
    Views
    1,409

    that means if i create a pointer like this ...

    that means if i create a pointer like this

    -------------------------------------
    p-----> |p[0] | p[1] | p[2] | p[3]| p[4]|......so on
    ...
  14. Replies
    11
    Views
    1,409

    pointer question in C

    hi

    i have a question on pointer. suppose p is a dynamically allocated memory pointer. now if i do a p++ does it mean i will get p[0], p[1],p[2] etc ?

    or in other words, does it mean

    p[0]=...
  15. Replies
    5
    Views
    1,014

    how to return a 2D array from a function?

    i want to declare a 2D array inside a function. then i want to change the value of elements by doing some maths inside the function. and then i want to return that array to the caller.

    how can i...
  16. Replies
    4
    Views
    748

    that is not a prototype declaration place....

    that is not a prototype declaration place. prototypes are declared above main.

    for example.


    prototype declaration ; // this is the perfect place for declaration

    int main()

    {
  17. Replies
    4
    Views
    748

    how this code works ?

    int i;
    int main()
    {
    int& fun(); // line 1
    fun()= 10; // line 2
    cout<<i;
    }

    int& fun()
    {
  18. Replies
    5
    Views
    748

    is it possible ?

    hi,probabily it is difficult, i am not sure whether it could be done.

    say, i have a file like this....

    W E D 123 R \ S 245 ......

    i want to read this. but problem is they are not...
  19. Replies
    11
    Views
    1,111

    the link that you gave does not explain the...

    the link that you gave does not explain the thing clearly . i am not interested about headers . i need only the data for processing.

    ok, AND operator was creating some problem in the earlier...
  20. Replies
    11
    Views
    1,111

    ..........you may be right. i surfed net to find...

    ..........you may be right. i surfed net to find the algorithm how to convert a P2 image into P5 format.

    i did not get any good resource.

    can you tell me the algorithm how it is done ?
    ...
  21. Replies
    11
    Views
    1,111

    ------ it seems you can retrieve the value ...

    ------
    it seems you can retrieve the value if i give you the value of m . how ? of course all my values are <255


    i am trying to convert image data (.pgm) from P2 to P5 format...my image...
  22. Replies
    11
    Views
    1,111

    how can i solve this ?

    int x = 129;
    char m = (char)x & 255;
    cout<<m<<endl;




    now let us say, given m , how can i retrieve x ? how can i do the opposite thing ?

    i tried this way,...
  23. Replies
    2
    Views
    529

    question on collection frameework

    what are the elements of collection framework ? i have read it is objects ...can it be any objects or some predefined objects of classes like vector,arraylist, string,stack etc ?

    say i am defining...
  24. Replies
    15
    Views
    2,541

    but if i dont know how much memory do i need...

    but if i dont know how much memory do i need beforehand how can i resize that ?

    is there anyway so that program will allocate memory as much it needs.

    something like below.

    a.resize(as_much...
  25. Replies
    15
    Views
    2,541

    i need bigger string array

    hello,

    i need a bigger string array to hold strings .


    string str[1000]; // is this ok ?

    can i get more than this ? so that memory problem does not occur.
Results 1 to 25 of 90
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured