Search:

Type: Posts; User: kotoko

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Very funny, as it obviously wasn't code related I...

    Very funny, as it obviously wasn't code related I didn't post the code. As I didn't remember anything else to post I didn't post anything else. You could just nicely asked for the code or whatever...
  2. "warning: null character(s) ignored" after copy&paste

    Hello!

    It's as the title says. I was coding and after I did a backup the second time I compile it I get lines and line of "warning: null character(s) ignored". The original I can compile as many...
  3. Replies
    13
    Views
    3,312

    When I posted the question I was just interested...

    When I posted the question I was just interested in how to store de structs do the char array because the problem is to store several queues into this array.
    The array type is unsigned char,...
  4. Replies
    13
    Views
    3,312

    yup, integers

    yup, integers
  5. Replies
    13
    Views
    3,312

    it's to store several fifo queues, optimizing...

    it's to store several fifo queues, optimizing memory and speed.

    And thanks for the code, it really helped!
  6. Replies
    13
    Views
    3,312

    How to code it?

    But how do you code it?

    Something like:


    typedef struct node_{
    int valueA;
    int valueB;
    } Node;
  7. Replies
    13
    Views
    3,312

    Saving into a char array

    Hello

    I'm trying to train how to program in a limited memory environment.

    I was given an exercice to program a queue and "all storage" is done in a char array.
    Can we save pointers and...
  8. Replies
    2
    Views
    1,482

    Vectors & objects/pointers

    Hello!

    I'm learning my way through std vectores and c++ and can't understand one thing: how do I write code that uses the automatic way of handling memory (constructores & destructores)?

    ...
  9. What is the equivalent of "return null" in cpp?

    Hi!

    I'm trying to learn c++ coming from Java.
    Could someone explain to me the way this works in c++?

    I have a function returning an object and if I can't construct the object I want to do...
  10. Thanks! That is correct, I though he didn't know...

    Thanks! That is correct, I though he didn't know what to do with main.cpp.
  11. Makefile gives make: *** No rule to make target using suffixs. Help please

    Hello!

    I'm trying to learn c++ from the ground up so I'm figuring out makefiles.
    I have
    CPP = g++
    OFLAG = -o
    .SUFFIXES : .o .cpp
    .cpp.o :
    $(CPP) -c $<
  12. Replies
    16
    Views
    1,686

    @tabstop I think we might be having what we call...

    @tabstop I think we might be having what we call in Portuguese a deaf men conversation. What I'm saying is I do not want to duplicate. What I understand from your suggestion is that I will have to...
  13. Replies
    16
    Views
    1,686

    So I think there is one important goal of the...

    So I think there is one important goal of the architecture that I not explaining right: I really don't want to duplicate the instances of the same Piece of Clothing. This is to make suggestions based...
  14. Replies
    16
    Views
    1,686

    @tabstop I'm sorry, I'm not understanding how I...

    @tabstop I'm sorry, I'm not understanding how I can do this without having multiple copies of the same Piece of Clothing
  15. Replies
    16
    Views
    1,686

    About redundancy and C++ design. This is one (ok...

    About redundancy and C++ design. This is one (ok two) big reasons I wrote the post in the first place. What would a good C++ design be like?

    In the end I want to be able to know other Pieces of...
  16. Replies
    16
    Views
    1,686

    (My previous post was in reply to whiteflags, so...

    (My previous post was in reply to whiteflags, so this one is for you tabstop)

    A - "I want to model the tables of references as a list". About the random access you're quite right, I do need it...
  17. Replies
    16
    Views
    1,686

    A You mean stl vectors? (C++ STL Tutorial...

    A You mean stl vectors? (C++ STL Tutorial) I would like to have a hashtable if I was in Java because of the O(1) complexity of finding stuff. I found out about maps (map - C++ Reference) would that...
  18. Replies
    16
    Views
    1,686

    Help designing data structure

    Hello!

    I'm trying to learn data structures in C++. I wanted to implement the diagram http://i84.photobucket.com/albums/k35/kotoko_san/somethingToWear/dataStruct.png

    I know how to this in...
  19. Poll: Hmm, I said they do the same thing because I was...

    Hmm, I said they do the same thing because I was able to run them both and got the same output :S
  20. Poll: Two line do the same but are different (cout). Why?

    Could you help me out understand the correct way to write c++?

    I have 2 hello world examples:

    Example 1:

    #include <iostream>

    int main (int argc, char * const argv[]) {
    // insert code...
  21. Replies
    0
    Views
    1,042

    Learn C++ by Example

    Hello!

    I'm sorry for yet another "how do I learn C++" thread. (Please don't stop reading here, there is a reason I didn't settle for the search results).

    I have already seen this site's...
  22. I'm sorry for the noobness but I can't figure out...

    I'm sorry for the noobness but I can't figure out how to use it.
    It's a library, so it's supposed to provide functions, right? Sort of like an API?

    Another issue is that, as far as I can...
  23. wow, at first glance seems pretty awsome! I'll...

    wow, at first glance seems pretty awsome!

    I'll dig into it.

    Thanks! :)
  24. I see. So a program with that option would never...

    I see. So a program with that option would never be very portable :( pitty.

    Thanks for the reply, I'll see what I should use for Mac.
  25. I hope this wont annoy you but I don't understand...

    I hope this wont annoy you but I don't understand your idea. And/or maybe I haven't explained mine very well either.

    You're saying to read the FAQ of my terminal and then see what raw options are...
Results 1 to 25 of 101
Page 1 of 5 1 2 3 4