Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    2
    Views
    321

    [ubuntu] Empty Desktop in Natty

    I installed Natty in a VirtualBox VM (running in XP), and all I see is an empty Desktop with background. No Launcher or anything else to run anything.

    It is obviously running, because I can right...
  2. Replies
    6
    Views
    4,215

    [SOLVED] Re: atoi works, but atof doesn't

    If you
    #include <stdlib.h>
    and omit the & before str it should work
  3. Replies
    3
    Views
    166

    [SOLVED] Re: what does it mean to be work aligned?

    In this case it means that characters would be stored on 4 byte boundaries in memory.
    char a, b ... j [10 chars] would use 40 bytes of memory.

    It would be extremely unlikely that you would use it...
  4. Replies
    5
    Views
    437

    Re: Makefile question (C)

    A question.

    When I type gcc --help it does not list the -I flag

    Most of my programing has been done in Visual Studio, and I would expect such a flag to exist in a compiler, but I didn't see an...
  5. Replies
    5
    Views
    437

    Re: Makefile question (C)

    The problem is probably in how you reference the .h files in the .c programs.
  6. Replies
    13
    Views
    5,963

    Re: Geany won't compile C++

    If you tick View/Show Message Window you will see a pane (which Geany calls an optional message window) at the bottom, which can show the following tabs:

    * Status - A list of status messages....
  7. Replies
    13
    Views
    5,963

    Re: Geany won't compile C++

    When you execute Build (F9) you should see a message in the Compile Pane, such as (or an error message)

    g++ -Wall -o "world" "world.cxx" (in directory: /home/.../Projects/WorldC)

    If nothing...
  8. Replies
    13
    Views
    5,963

    Re: Geany won't compile C++

    What is the content of your Build/Set Build Commands/Build commands?

    This should be something like:-

    Compile g++ -Wall -c "%f"
    Build g++ -Wall -o "%e" "%f"
  9. Re: [C] How do you read this? What does it mean?

    cdecl.org will explain c constructs.
    It is also available as an executable cdecl

    extern int *_ _errno_location(void); is meaningless, but

    int * _errno_location(void); means
    declare...
  10. Replies
    5
    Views
    4,024

    [SOLVED] Re: converting .glade file

    I am not a Python programmer (trying to learn), but I used this to learn something about GTK.

    I just saved
    http://www.micahcarrick.com/files/gtk-glade-tutorial/PyGTK/tutorial.py
    and...
  11. Replies
    5
    Views
    4,024

    [SOLVED] Re: converting .glade file

    This tutorial is very old (2003?)
    glade has changed quite a lot since, and I suggest you look for something more up to date.

    http://www.micahcarrick.com/gtk-glade-tutorial-part-1.html is quite...
  12. Replies
    6
    Views
    974

    Re: Help in C/C++ hybrid programming

    C programs can call c++ functions (provided the c++ function only uses arguments/return values supported by c).

    You need to tell the C++ compiler to use c compatible names.
    (C++ normally...
  13. Replies
    19
    Views
    890

    Re: want to learn python

    The first few lines should be as follows



    x = "there are %d types of people." % 10
    ternary = "ternary"
    binary = "binary"
    do_not = "don't"
    y = "those who understand %s,...
  14. Replies
    1
    Views
    1,344

    Python Devhelp

    I am trying to learn Python and want to practice writing some programs using the standard libraries. I would like to install Standard Library documentation so I can access it in Devhelp, but can't...
  15. Replies
    20
    Views
    14,790

    [SOLVED] Re: Notepad++ equivalent on Ubuntu

    Geany does have a match brace feature. It will find matching {} <>
    This is not what you want, however Geany has an alternative (better?) way of showing file structure using code folding.

    In the...
  16. Re: Getting to grips with the linux way of things

    To answer some of your earlier questions there is a GNU Make Manual.
    One other respondent gave a good summary.

    Below is a simple sample of a Makefile (c with gtk+), which includes a clean target....
  17. Replies
    13
    Views
    755

    [SOLVED] Re: Bitwise & operator

    In fact both are probably wrong. If you are using an Intel processor it may be bits in the middle.

    This is a red herring. It is better to think of these as the Least Significant bits, then the...
  18. Re: Getting to grips with the linux way of things

    Anjuta is a good program, but not the ideal place to start. As you will have discovered, it is quite different from VS.

    Firstly you should read the stickies above.

    To compile c/c++ on GNU/Linux...
  19. Replies
    19
    Views
    1,131

    [SOLVED] Re: Running VStudio2010

    I don't know that is feasible to install Windows after GNU/Linux (I have never tried this) but look at the following tutorials. It is a while since I read these (pre Windows 7) but I found them very...
  20. Replies
    19
    Views
    1,131

    [SOLVED] Re: Running VStudio2010

    If you can afford the full version of VS2010 you could buy a dedicated laptop.
    This would not cost much more than buying a Windows licence.

    If the Express version don't.

    Either way, you really...
  21. Replies
    10
    Views
    11,429

    [SOLVED] Re: C function pointers in struct

    The problem is that you are trying to use a typdef (in the function arg list) before it has been defined.

    This can be avoided by using a named structure e.g.:-


    typedef struct xxxx
    {
    int...
  22. Replies
    5
    Views
    4,690

    Re: Where can I upload HTmL files and how?

    I guess from looking at the site that you edited some of the site boilerplate code (which isn't particularly good BTW).

    I am assuming your question is how to upload your own html code.
    This is...
  23. [SOLVED] Re: BASH question: command works when called manually but not when called by a progra

    I would have called the script like:-

    bash test.sh >> debug.log


    I don't claim this will fix your problem, but this has 2 advantages
    1. You can run the script without redirection to test
    2....
  24. [SOLVED] Re: BASH question: command works when called manually but not when called by a progra

    I am not an expert on bash, but this would not work under Windows.

    I suggest you try redirecting the output of the program which calls your script, rather than trying to perform multiple redirects...
  25. Replies
    8
    Views
    2,409

    [ubuntu] Re: Why is it so difficult to set up Samba

    My original posting said I now have it working, but asked a couple of questions





    I don't understand why I have to run smbpasswd to change the user password.
    The Windows and Ubuntu...
Results 1 to 25 of 85
Page 1 of 4 1 2 3 4