Search:

Type: Posts; User: ironfistchamp

Search: Search took 0.00 seconds.

  1. OK I shall not do that then. Thanks.

    OK I shall not do that then. Thanks.
  2. No? What is wrong with that? Sorry must sound...

    No? What is wrong with that? Sorry must sound incredibly stupid but you don't learn if you dont ask.
  3. Thanks makes more sense now.

    Thanks makes more sense now.
  4. Beginner Question: Multiple source files

    Hi people

    I got a C++ book and some of the example had multiple .cpp and .h files.

    Can someone explain how that works as the book didnt explain very well. How can you have multiple cpp files? I...
  5. Replies
    8
    Views
    27,904

    Ah right now I understand it. The main problem...

    Ah right now I understand it.

    The main problem I actually have with ncurses and all that is the input and output. I suppose I can get my head round it but it took a while for me to get the hang of...
  6. Replies
    8
    Views
    27,904

    Right so whatever I can find for ncurses works...

    Right so whatever I can find for ncurses works for NDK.... so what is the point in NDK?

    Remember people you are talking to a moron here ;)

    No but seriously I do find this difficult to get my...
  7. Replies
    8
    Views
    27,904

    There doesn't seem to be any documentation other...

    There doesn't seem to be any documentation other than namespace lists and the such like.

    There is going to be no way I can use it without being taught how to one way or another. Do you know of...
  8. Replies
    8
    Views
    27,904

    Well if it is the same what is the point in...

    Well if it is the same what is the point in NDK++. I am really confused. I don't understand the whole C and printf() way of printing variables and that.
  9. Replies
    8
    Views
    27,904

    NCurses C++ tutorial/documentation

    I was exploring NCurses but it is used like C. Apparently there are C++ bindings but I cannot find any decent documentation for new users. Does anyone know of any or perhaps could help me get...
  10. Replies
    11
    Views
    22,176

    Ah good idea will do. If I was to put the struct...

    Ah good idea will do. If I was to put the struct in a header file that would be a good use for my own headers right?

    Thanks again

    Ironfistchamp
  11. Replies
    11
    Views
    22,176

    Wow thanks. OK I shall read more about headers. I...

    Wow thanks. OK I shall read more about headers. I looked for a tutorial here but couldn't see one dedicated to just headers. Is it included under a different name.


    I really want to thank you for...
  12. Replies
    11
    Views
    22,176

    All I have is the main.cc and myfunc.h files. All...

    All I have is the main.cc and myfunc.h files. All the includes are in the main.cc file and the struct is defined right after that. The myfunc.h file only has the function we worked out before. Should...
  13. Replies
    11
    Views
    22,176

    Aha got ya. Ok new problem. I wanted to use my...

    Aha got ya. Ok new problem. I wanted to use my own header (want to get the hang of it and make my code more "modular"). So I put it in myfunc.h, put the #include "myfunc.h" at the top and went from...
  14. Replies
    11
    Views
    22,176

    Exceelent that's done the trick thanks. Does it...

    Exceelent that's done the trick thanks. Does it matter having the struct outside main? I was told not to as it is like a variable and you should refrain from making global variables. True or not?
    ...
  15. Replies
    11
    Views
    22,176

    passing struct to function by reference

    Hey again another question. How can I pass a struct to a function by reference.




    int myfunction(*)
    {

    // will do stuff to struct
    return 0;
  16. Replies
    2
    Views
    863

    Hehe thanks very much. I am sure you will be...

    Hehe thanks very much. I am sure you will be hearing a lot more from me with more obvious questions .

    Thanks again

    Ironfistchamp
  17. Replies
    2
    Views
    863

    "n00b" while statement problem

    Hi am trying to write a statement that checks a string using a while statment.

    Basically while varA is not equal to "a" or "b" or "c" say "not a, b or c. try again"

    Here is my first go.


    ...
  18. Replies
    2
    Views
    3,248

    Yup that works. Boy do I feel stupid. Thanks ...

    Yup that works. Boy do I feel stupid.

    Thanks

    Ironfistchamp
  19. Replies
    2
    Views
    3,248

    C++ undefined reference - Hello World

    I am quite new to programming and even newer to linux (does that make sense?). A while back I started to program in C++ and found it quite easy on linux. I just used the command

    gcc hello.cpp...
Results 1 to 19 of 19