Search:

Type: Posts; User: argv

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. I guess I need to write a small experiment to...

    I guess I need to write a small experiment to test how this might work. the sizeof() operator in C# does not allow user-defined data types. I *could* manually determine the size of my object at...
  2. Ok, I have seen this used, but didn't know if it...

    Ok, I have seen this used, but didn't know if it applied. So basically I can just serialize a whole list of entries or deserialize a whole list of entries. I'm starting to think that maybe I just...
  3. I've seen this, but I don't know if I can use it,...

    I've seen this, but I don't know if I can use it, because some of the data I will be writing will be strings from the string class. I suppose if I make them all a certain length character array then...
  4. Question about Serialized Objects and file streams

    Hello!

    I'm pretty new to C#, just learning it on my own from what I know between Java and C++/C. The term "serialization" is new to me, although I know what it means.

    I'm making a small...
  5. Replies
    3
    Views
    1,091

    Ok

    cool. ok, thanks.
  6. Replies
    3
    Views
    1,091

    STOCK C LIBRARY. Directory commands?

    I've looked in the FAQ but didn't find my answer, so:

    Are there any library functions that support directory searches, file searches, and the like that come with a stock installation of (I'm...
  7. Thread: Questions..

    by argv
    Replies
    19
    Views
    2,457

    ah

    Ok, gotcha. thank you.
  8. Thread: Questions..

    by argv
    Replies
    19
    Views
    2,457

    Oh, thanks. I added that to my favorites list....

    Oh, thanks. I added that to my favorites list. And now I know what the hell a "foo" is I gues. cool.
  9. Thread: Questions..

    by argv
    Replies
    19
    Views
    2,457

    hmm..

    ok, so just so I'm clear, did you mean "less than" when you wrote this? (it seems like you would mean "more than"?



    Unless that is something with the strcpy function copying a string that is...
  10. Thread: Questions..

    by argv
    Replies
    19
    Views
    2,457

    ...

    Ok, haven't gotten into the malloc command much yet, thats next quarter. ;) If I throw that in, my teacher will know I stole it. haha

    by the way, is: "char *name" the same as "char name[]";

    ...
  11. Thread: Questions..

    by argv
    Replies
    19
    Views
    2,457

    copyin

    Something like this? (it seems to work)



    char name[20];
    char ext[5];
    char fileName[25];
    strcpy(name, argv[1]);
    strcpy(ext, ".dat");
    strcat(name, ext);
  12. Thread: Questions..

    by argv
    Replies
    19
    Views
    2,457

    style

    Sweet, I'll use that style then. thank you.
  13. Thread: Questions..

    by argv
    Replies
    19
    Views
    2,457

    Undefined

    ok, so if I want to append ".dat" to an incoming argument, what is the best way to do it?

    thank you for your (quick) reply!
  14. Thread: Questions..

    by argv
    Replies
    19
    Views
    2,457

    Questions..

    Hello.

    I can't get this to work:


    argv[1]=strcat(argv[1], ".dat");


    is that legal?
  15. Replies
    64
    Views
    8,034

    College books

    The best thing I've learned is that if you want to learn something, learn it from someone who knows how to teach things. I.e. if a book is used in a college class, it's probably a good book to have...
  16. Replies
    64
    Views
    8,034

    more to learn..

    well, I still have much to learn about the lower levels of the language, and advanced pointer operations. I still think the term "pointer" is a misnomer and misleading. But then again, I haven't...
  17. Replies
    64
    Views
    8,034

    probably not..

    No, probably not, but it might help. When determining how to write a program, I usually just as myself "how can I write it in a way that asks as few questions as possible." From the computers...
  18. Replies
    64
    Views
    8,034

    true

    well, thats all I'm sayin really. :) (about the bad explainations)
  19. Replies
    64
    Views
    8,034

    why you would need one

    You could probably write many programs without using a single pointer. From what i've been told or read, pointers are more about increasing performance than about being something necessary. "Don't...
  20. Replies
    64
    Views
    8,034

    ..

    The hexidecimal thing really is just because thats what it is on *my* system, and thats what it shows up as when I'm in debug. It's ALL binary. I'm not saying that it's always a hexidecimal or octal,...
  21. Replies
    64
    Views
    8,034

    well....

    There are alot of things that are used just to make code more organized and readable. Like using #define for anything besides a macro. I like the idea of pointers, because I like the idea that I can...
  22. Replies
    64
    Views
    8,034

    ...

    No I did not. My main point really, is that most explainations of pointers really suck. The concept is not hard to get, I guess it's just who gives it to you. I'm very glad that I have a good teacher...
  23. Replies
    64
    Views
    8,034

    what if I said "wheres minnesota?" :) Just...

    what if I said "wheres minnesota?" :) Just kidding, but really, my point is (no pun intended) that for a beginner who knows nothing about the concept of passing information by value or by address, I...
  24. Replies
    64
    Views
    8,034

    nope

    You could, but it wouldn't make sense. Mostly I just think alot of confusion from beginning people (like myself) is the term "pointers" because.. really.. does it "point" to anything, or is just an...
  25. Replies
    13
    Views
    12,064

    nice name

    haha.. nice name. [cactus_hugger]. Uhm, yes. true. I'm glad to see so many dedicated C fans, thats encouraging.
Results 1 to 25 of 29
Page 1 of 2 1 2