Search:

Type: Posts; User: demonus

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    3,569

    tolower() and toupper() ignores the case as far...

    tolower() and toupper() ignores the case as far as I know.

    Creating username and passwd: Which plattform, *nix or Windows ? In Unix you could prepare a string and use system() for it, which'd be...
  2. Thread: char-question

    by demonus
    Replies
    4
    Views
    1,096

    hm. works, thanks a lot. I just wonder *why* it...

    hm. works, thanks a lot. I just wonder *why* it works because of changing one integer ... ( and the '\0' stuff I forgot :) )
  3. Thread: char-question

    by demonus
    Replies
    4
    Views
    1,096

    char-question

    Hi again.

    I want to seperate a QUERY_STRING of my Apache ( so CGI ) with C. It is in the form "arch=foo&status=bar", and I need "foo" in char arch[] and "bar" in char status[] to redirect users to...
  4. Replies
    4
    Views
    984

    Ok, nice thx, but thats not the problem. the...

    Ok, nice thx, but thats not the problem. the problem is that


    char tmpchar[255];
    char ws2_tmpchar[255];

    cannot be used in


    strcat(ws2_tmpchar[i],tmpchar[i]);
  5. Replies
    4
    Views
    984

    I little basic question

    Hi! This is my code:



    ...
    char tmpchar[255];
    ...
    printf("Enter the filename: ");
    fgets(tmpchar,MAXFILES,stdin);
    strcpy(tmpchar,ws2_());
  6. Replies
    8
    Views
    1,777

    >Post your latest code. > Not neccessary...

    >Post your latest code.
    >
    Not neccessary anymore, I already got it last night!


    >>I see that it "takes some time"
    >We're not here at your demand, people will answer when they're good'n'ready....
  7. Replies
    8
    Views
    1,777

    ok, I have some errors in it, but it is NO...

    ok, I have some errors in it, but it is NO segfaulting function anymore :) ... . Arrays:
    char array[N] => Range: 0 to N-1

    However, if I enter a value different then a1, the function returns zero...
  8. Replies
    8
    Views
    1,777

    OK... . Ähm, the allocation is not neccessary ,...

    OK... .
    Ähm, the allocation is not neccessary , ... of course you are right, but the example you see is "over-tested" :) ! I used arrays first,... .

    Secondly, gdb tells me errors in strncmp,...
  9. Replies
    8
    Views
    1,777

    I see that it "takes some time", maybe the local...

    I see that it "takes some time", maybe the local time of the local heroes like salem is not very familiar with Europe , right ? :)

    Could you please send me a reply to
    [email protected]
    ...
  10. Replies
    4
    Views
    1,422

    MacOS uses COLONS as dir-seperations ? OH MY GOD...

    MacOS uses COLONS as dir-seperations ? OH MY GOD ... .

    For an operating system is basicly written out of BSD (UNIX!!),
    it is a strange thing that MacOS uses colons ... .
    But I am not a friend of...
  11. Replies
    2
    Views
    1,424

    The trick I use with chars and ints is always: ...

    The trick I use with chars and ints is always:


    scanf("%s[^\n]",chararray);
    if((integer=atoi(chararray)) == 0)
    {
    printf("user entered a string or 0\n");
    }
  12. Replies
    8
    Views
    1,777

    a segfaulting algorythm

    This is a "string2Hz" algorythm ; It is used to return the Hz of a
    string is entered. This is the syntax:
    [key][octave](optional [in/decrement (+/-)])
    So for example:
    C1
    a1
    a1+
    c1+

    These...
  13. Replies
    3
    Views
    1,596

    Of Course I can google some tuts/docs, but maybe...

    Of Course I can google some tuts/docs, but maybe you've got interesting URLs I don't know about yet, or did you ever followed EVERY link of a search relsult (If this result offers 13 pages AT GOOGLE...
  14. Replies
    3
    Views
    1,596

    A good documentation tip ?

    Hi!

    I am looking for a good tutorial / documentation about Multi-Threading, Gtk+, Alsa/OSS-Lite/Jack and the Mesa GL-libs !
    If anybody could help me ? :)
  15. Replies
    5
    Views
    1,358

    RE

    define MAX 10
    struct data {
    char *pointerarray[MAX][MAX];
    }mystruct;
    char *tmpchar, *tmpchar2;
    int i,j;
    main()
    {
    printf("Enter first field: ");
    scanf("%d",i);
  16. Replies
    5
    Views
    1,358

    RE

    declaring tmpchar as an array brings the same error:
    Segfault !

    >> arraypointer[0][0][0]= "Hello"
    >> arraypointer[1][1][1] = "my friends"
    >So what is in arraypointer[0][0][1] or...
  17. Replies
    5
    Views
    1,358

    APPENDIX

    the variable HAS to be a arraypointer because I need a 3 dimensional variable where I can put MORE THAN ONE character per address into it:

    arraypointer[0][0][0]= "Hello"
    arraypointer[1][1][1] =...
  18. Replies
    5
    Views
    1,358

    PLease give a revision for pointerarrays!

    Hello again!

    I make a little Segfault while taking acces to to a
    pointer array ... . This is my declaration:




    struct data {
    char *pointerarray[10][10][10];
  19. Replies
    8
    Views
    2,400

    unistd.h | dir.h

    unistd.h : UNIX(R)
    dir.h Micro$oft DOS
  20. Thread: disasm in C ??

    by demonus
    Replies
    2
    Views
    1,312

    great..

    thx !!! The question was 'is there a function' ;-) !! So I can't write (silly example:)



    FILE *filer;
    char array[100];
    disasm(array, sizeof(array),filer);


    or something like it ... THX...
  21. Thread: disasm in C ??

    by demonus
    Replies
    2
    Views
    1,312

    thx,...

    i know that i have to do this first! I am doing this on the other hand...

    My question is how to disasm in C , not what i have to need to know...
    but thank you for your reply! I want to know if...
  22. Thread: disasm in C ??

    by demonus
    Replies
    2
    Views
    1,312

    disasm in C ??

    hi again! I've got a little question about disassembly ! How do I write a C programm that can disassemble another programm ?
  23. Replies
    3
    Views
    1,977

    Thx

    I think I am very stupid! This is another idea, too! OF COURSE! I could eat my ..........! But OK, this is a better way, but way does strcmp crash at this time! "NULL" means nothing, why can't I do this in...
  24. Replies
    3
    Views
    1,977

    strcmp, any borders?

    Hi again! My lovely Compiler, lcc-win32, do not accept this code! Or lets say it this way: It can be compiled and linked, but if I run the code it crashes! WHY?




    int main(int argc, char...
  25. Replies
    4
    Views
    1,729

    HI again! I tried some different things, but I...

    HI again! I tried some different things, but I don't get it work! Realy un-developmentable stuff, I think! ähem, can somebody post me WHY the linker says the two errors? Maybe I will get the answer...
Results 1 to 25 of 34
Page 1 of 2 1 2