Search:

Type: Posts; User: Barrucadu; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    759

    [SOLVED] Re: Need help using qsort() is C

    Where? Here?


    qsort(array, numbers[0], sizeof(char *), cmpstringp);

    That's not calling the function cmpstringp with no arguments (that'd be "cmpstringp()"), that's passing a pointer to...
  2. Replies
    9
    Views
    633

    Re: Language Converter?

    In the case of assembly, an assembler is used. In the general case, compilation is the process of taking one formal language (such as assembly, C, Haskell, whatever) and performing a...
  3. Replies
    4
    Views
    1,268

    Re: difference between *.a and *.so libs

    Unless you have some specific need to (precise version requirements, needing to patch the library, etc), generally you don't link against static libraries as it just increases the size of your binary.
  4. [SOLVED] Re: zsh: Execute string with command and params

    Use an array:


    S=(aacgain -r)
    $S audio.m4a

    Unlike bash, zsh doesn't split strings on spaces when used in a command.
  5. [SOLVED] Re: Que. abaout making windows executable from linux

    http://stackoverflow.com/questions/182408/manual-for-cross-compile-a-c-application-from-linux-to-windows
  6. Replies
    3
    Views
    742

    Re: Software testing

    For any open source projects? Just set up a normal development environment: editor, toolchain, debugger, etc.
  7. Replies
    3
    Views
    263

    Re: problem with long names in library

    What command are you using to link it?
  8. Replies
    27
    Views
    3,554

    Re: Beginners programming challenge #27

    Not "Matt is at"?
  9. Replies
    27
    Views
    3,554

    Re: Beginners programming challenge #27

    It's not a special case, and that's right, "b" is the first match there.
  10. Replies
    27
    Views
    3,554

    Re: Beginners programming challenge #27

    "." does not match newlines, so running .* on "hello\nworld" will have two matches: ["hello", "world"], and so "hello" should be printed.
  11. Replies
    4
    Views
    432

    Re: Python switch

    http://docs.python.org/faq/design.html#why-isn-t-there-a-switch-or-case-statement-in-python
  12. Replies
    23
    Views
    1,037

    Re: Static array issue .

    Also, you shouldn't put strings in your array with `arrayList[count] = param;`, if the string is ever freed or otherwise goes out of scope (which admittedly doesn't happen in your simple program),...
  13. Replies
    23
    Views
    1,037

    Re: Static array issue .

    As it's not dynamically allocated (ie: with malloc) you can't. Also, use strcmp for comparing strings, == will just check the equality of the pointers.
  14. Replies
    23
    Views
    1,037

    Re: Static array issue .

    That will still print duplicates at it checks the pointer values rather than the string contents.
  15. Re: How to get PHP include to work on freshly installed LAMP server

    Have you checked the Apache error log? Are there any errors? Have you tried to fix these errors?

    Does PHP work at all? Try a phpinfo script.
  16. Re: How to get PHP include to work on freshly installed LAMP server

    What exactly does "this piece of code isn't working" mean?
  17. Replies
    50
    Views
    2,560

    Re: Modular programming

    Yes, you can get a C compiler and fiddle with it to make it support new language features, but not through purely syntactic means! If that were the case, you could just, say, take GCC's parser and...
  18. Replies
    50
    Views
    2,560

    Re: Modular programming

    In addition, the C string has a maximum length whereas the Java string does not; the values of the C types are all undefined whereas they have defined defaults in Java; and the C owner is a pointer...
  19. Replies
    6
    Views
    422

    Re: Moving insertion point in a file

    `sed` doesn't alter where the editor places its cursor.
  20. Replies
    3
    Views
    522

    Re: learn programming

    Read the stickies.
  21. Replies
    2
    Views
    339

    Re: Gaming backdrop question

    Why not simply have the game window the same size as the actual window? That is, either make the game window fullscreen, or make your program not fullscreen.
  22. Replies
    20
    Views
    19,663

    [SOLVED] Re: undefined reference to 'function'

    You're not linking your library against libxml2.
  23. Re: Simple Bank Transaction System using JavaScript and PHP

    If it's to study, you should probably just write one. It's a fairly trivial-sounding project (unless there are other requirements you haven't mentioned).
  24. Replies
    16
    Views
    1,027

    Re: How can I recognize an expression ?

    You need to first specify your grammar in BNF or something, and then write a parser for it. Recursive descent parsers are pretty easy, but with backtracking can be very inefficient, and so I'd...
  25. Replies
    49
    Views
    2,752

    [SOLVED] Re: 12.04, C,GTK3 - how do I trace this error?

    char **mystring is a pointer to pointer to char, not pointer to pointer to string. Remember in C that a string is just a char*.
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4