Search:

Type: Posts; User: jackson6612

Page 1 of 11 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    13
    Views
    1,762

    Hi As so many people think that there is a...

    Hi

    As so many people think that there is a problem with my approach, then I think I would try to change it. Anyway, thanks for your advice.

    Regards
    Jackson
  2. Replies
    13
    Views
    1,762

    Thank you, AdrewHunter, rmatze. @AndrewHunter:...

    Thank you, AdrewHunter, rmatze.

    @AndrewHunter: I do not intend to say that your intention was not to help me and do not wish to offend you. But referring someone to tutorials on very query is not...
  3. Replies
    13
    Views
    1,762

    Hi Please help me with the code given below....

    Hi

    Please help me with the code given below. I'm getting the errors alsp given at the bottom. The code also have two embedded questions. Please help me with them too. Thank you for your help.
    ...
  4. Replies
    17
    Views
    1,784

    Thank you, King Mir. Please help me with some...

    Thank you, King Mir.

    Please help me with some follow-on queries. Thanks.

    I see that you used the word "public", what does it do? How would it differ if it were "private" instead?

    You have...
  5. Replies
    13
    Views
    1,762

    Thanks a lot, Jim. I'm going to learn classes...

    Thanks a lot, Jim.

    I'm going to learn classes and objects. Could anyone of you please translate the corrected code below into the one which uses concept of classes and objects? It would be kind of...
  6. Replies
    13
    Views
    1,762

    what's wrong with it? please help

    Hi

    This code was working fine until I made some changes to it. Now it doesn't display the name. Below is given output for the student #1, you can see it doesn't display the entered name. It leaves...
  7. Replies
    17
    Views
    1,784

    Thank you, GReaper, grumpy. GReaper said: ...

    Thank you, GReaper, grumpy.

    GReaper said:

    I'm sorry but I don't understand the red part. In my code I didn't call "Student read()" inside the "prnt()". Anyway, by this:
    void prnt (const...
  8. Replies
    17
    Views
    1,784

    Thanks a lot, Elysia, King Mir, whiteflags. ...

    Thanks a lot, Elysia, King Mir, whiteflags.

    @Elysia: I haven't read anything about vectors so I don't know how to use them.

    What's the benefit of const'ing the data type Student?
    void prnt...
  9. Replies
    2
    Views
    1,370

    why is object file called so?

    Hi

    I understand that object file is created before the executable. But why is object file called so? Why not simply, say, pre-executable file? What does the word "Object" signify? Please let me...
  10. Replies
    17
    Views
    1,784

    what changes you would make?

    Hi :)

    I have the compiled and run the code given below. I'm interested to know what changes you would like to make like changes in syntax, formatting of the code, etc? Please let me know.


    ...
  11. screenshot of MinGW compiler and math library file

    Hi

    Here is the screenshot of library file of MinGW compiler: http://img850.imageshack.us/img850/8098/mingwlibrary.jpg

    Would you please tell me which of these files is for math related...
  12. Replies
    26
    Views
    3,201

    Thank you.

    Thank you.
  13. Replies
    2
    Views
    1,290

    OOP, procedural programming, etc.

    Hi :)

    Please help me with queries below.

    1: I understand that OOP is not a language rather it's a tool to better organization of data. It is said before most languages were procedural -...
  14. Replies
    26
    Views
    3,201

    I think I need to rephrase my question. Is...

    I think I need to rephrase my question.

    Is there a particular term to refer to the feature of C++ which requires one to define something before using it? For example, one cannot use a variable...
  15. Replies
    26
    Views
    3,201

    Thank you, Elysia. Is there a particular term...

    Thank you, Elysia.

    Is there a particular term to refer to the feature of C++ which requires one to define something before using it? Please let me know. Thanks.

    Regards
    Jackson
  16. Replies
    26
    Views
    3,201

    Thank you, Elysia. So, a macro (or,...

    Thank you, Elysia.

    So, a macro (or, pre-processor directive) would be accessible from anywhere in the code. But still I have to define (or, write it) before using it. Correct?

    I'm not an...
  17. Replies
    26
    Views
    3,201

    Thanks a lot. I understand one shouldn't use...

    Thanks a lot.

    I understand one shouldn't use #define for simple comstants as Elysia suggests. Anyway, won't it be a good idea to place the "#define pi 3.142" outside the main()?

    Best wishes...
  18. Replies
    26
    Views
    3,201

    Thank you, whiteflags. So, anything which...

    Thank you, whiteflags.

    So, anything which follows "#" or hash sign is called preprocessor directive? One example is use of #include with header files.
  19. Replies
    26
    Views
    3,201

    I'm extremely sorry, Light. It works for me now....

    I'm extremely sorry, Light. It works for me now. Actually this is what happened. In your first post in this thread you told me to use:
    #define pi 3.142. I thought you just missed the semicolon at...
  20. Replies
    26
    Views
    3,201

    No, it didn't fix it; I mean changing float to...

    No, it didn't fix it; I mean changing float to double. I still get the same error about line #17: 17|error: invalid type argument of 'unary *'|

    Someone please help me. Thanks.
  21. Replies
    26
    Views
    3,201

    Once again, thanks. I replaced the line...

    Once again, thanks.

    I replaced the line "#define pi = 3.142" with "#define pi 3.142" as you suggested. But I still get one error about the line #17. What's still wrong? Would you please give it a...
  22. Replies
    26
    Views
    3,201

    Thank you, Light. Please also help me with...

    Thank you, Light.

    Please also help me with this one. I remember when I started posting here people would tell me that my code isn't properly organized, like braces are not aligned etc.

    By the...
  23. Replies
    26
    Views
    3,201

    learning to use #define

    Hi :)

    My elementary programming skills which I acquired not long ago are very much rusty these days. I was practicing with the code below but I received those two errors about the line at #17 in...
  24. Replies
    4
    Views
    1,119

    Thank you, all of you. I think when I wrote...

    Thank you, all of you.

    I think when I wrote that code I was simply proving to myself that I could also use '|' instead of "|" to the same effect. I usually do this just to teach myself.
  25. Replies
    7
    Views
    5,726

    Thank you, AndrewHunter, laserlight. Isn't...

    Thank you, AndrewHunter, laserlight.



    Isn't a header file a kind of signal that one is going to certain library functions? e.g. When one uses the header <cmath> it signals that math library...
Results 1 to 25 of 254
Page 1 of 11 1 2 3 4