Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Contributing to existing projects, in QtCreator

    I think creating the QtCreator project would be the solution, or persuading the original developers to do it themselves.

    It is as in everything, people disagree on what is best.

    For some people...
  2. Replies
    4
    Views
    2,707

    [SOLVED] Re: Building targets in Code::Blocks

    This is why you notice that many people recommend learning to compile from the terminal, because in this way you know what you are doing.

    IDEs (Integrated Development Environments), such as...
  3. Replies
    12
    Views
    808

    Re: review my first script

    As others have pointed it out, the issue is compatibility with old systems, essentially.

    If you are writing for old shells, use #!/bin/sh as the shebang, and only use old-school, standard...
  4. Replies
    35
    Views
    1,540

    Re: How would one create this simple program?

    I think when people, usually coming from Windows, mention "standalone", they refer to the lazy act of having their program being a single executable, "prog.exe".

    Thus, they expect to grab this...
  5. Replies
    6
    Views
    617

    Re: [PYTHON]What do I infer from % sign?

    You do realise your explanation is too complicated for a beginner?
  6. Replies
    14
    Views
    7,727

    [SOLVED] Re: Can't find wx header files but they are there.

    If you switched from one widely-used platform to another widely-used platform, just because of a tiny little problem that you couldn't figure out, I don't think you will be very successful in your...
  7. Re: How do I make a plot with 3 dimensions (Octave?)

    You don't get it.

    Just pretend "y" is "z".


    y=-5.41z/x+1.01

    z=-5.41y/x+1.01
  8. Re: How do I make a plot with 3 dimensions (Octave?)

    Lol. This is stupid. You don't "need" to solve for the "z" variable. You just need to use the "y" variable as the "z" variable in your example. That is,


    y = f(x,z)
    f(x,z) = -5.41z/x+1.01

    ...
  9. Replies
    9
    Views
    456

    Re: python for developing software...

    This story never ends.

    I suggest the exact opposite. Go with Python 2.6. It's there, already installed, already pre-packaged. It just works. For a beginner, starting on a very solid foundation is...
  10. Replies
    14
    Views
    957

    [SOLVED] Re: c++ infinitive loop

    I totally agree with these statements.

    The "\n" is translated (printf(), sscanf(), etc.), so you don't have to pay to much attention to this is C. But still, I would recommend using higher level...
  11. Replies
    3
    Views
    25,537

    Re: compiling and linking multiple files using gcc

    A longer explanation.

    A file with a suffix ".a" is usually an "archive" of object files, which is used as a "statically linked library". That is, when you link it with your program, all of the...
  12. Replies
    16
    Views
    589

    Re: No floats in Python

    LOL

    Your nickname is too hard for me to remember. I always copy and paste it. Thank goodness for IRC clients' TAB-auto-completion.

    I always think about you as "nvidia". LOL
  13. Replies
    16
    Views
    589

    Re: No floats in Python

    In the case of Python, it's very simple to explain "don't do it this way".
    It doesn't take more than one post to explain why it's a bad idea. See the posts from nvteighen and The Cog.

    A good...
  14. Replies
    3
    Views
    472

    Re: wireless bash script

    Lol.

    Sure, you can post it here.


    #!/bin/bash

    echo "Ma script!"
  15. Replies
    16
    Views
    589

    Re: No floats in Python

    Exactly.

    The old input() was removed because it was unsafe. Replacing it with eval(input()) is still unsafe, only the evaluation is now explicitly indicated by the eval() function.

    In general,...
  16. Replies
    6
    Views
    860

    Re: Pygtk and os.system

    A system() command, such as those found in C and Python, should never be used, except for the most trivial hacks.

    These system() basically only call the underlying shell, so they are not portable...
  17. Replies
    4
    Views
    368

    Re: Simple Python Question...

    Are you perhaps running your program with Python 2?

    Did you think of that? Eh?
  18. Replies
    11
    Views
    567

    Re: prompt, (not 'command prompt')

    You are making me mad!

    Why do you say that you are going to "write it in linux", using "linux commands"?

    Linux is not a programming language!!!

    Probably you are calling "linux commands" what...
  19. Replies
    10
    Views
    606

    Re: Does pygtk only work on gnome?

    You are confusing your terms, and possibly confusing others.

    There is a difference between a "Desktop Environment" and a "Graphical User Interface" toolkit.

    GNOME and KDE are desktop...
  20. Replies
    14
    Views
    2,359

    [SOLVED] Re: Bash = to be used not as a bash operator

    It's there in a good guide.

    See: http://mywiki.wooledge.org/BashFAQ/031

    http://mywiki.wooledge.org/BashGuide/TestsAndConditionals

    Also, the definite information is the official GNU Bash...
  21. Replies
    14
    Views
    2,359

    [SOLVED] Re: Bash = to be used not as a bash operator

    Wrong!

    It should be #! not !#

    I know, it was a simple mistake.

    However, talking more serious now. In the case of bash, there is not much use in calling "/usr/bin/env" in the first place.
    ...
  22. Replies
    14
    Views
    2,359

    [SOLVED] Re: Bash = to be used not as a bash operator

    That is close to how it works, but it is not just a simple OR.

    In general, the right hand side of that comparison uses pattern matching.


    [[ left_hand == right_hand ]]


    This means, that in...
  23. Re: Some questions about commands in bash script

    LOL, brackets?

    Seriously, hakermania, you need to work on your skills if you want to be considered a decent programmer.

    Disclaimer: any advice hakermania gives should be taken with care.

    Use...
  24. Replies
    5
    Views
    22,372

    Re: How do you make a .sh file

    It's a very broad topic to be covered.

    By .sh files, I will assume you mean a shell script.

    A shell script is the same as a "batch" file in Windows: a collection of commands placed in a file,...
  25. Replies
    14
    Views
    2,359

    [SOLVED] Re: Bash = to be used not as a bash operator

    You do realize there is a brace missing?



    if [[ "$dcheck" == [yY] ]]
    then
    echo matched
    fi
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4