Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.15 seconds.

  1. Thread: Program hanging

    by mevun
    Replies
    1
    Views
    442

    Re: Program hanging

    Add a fflush(stdout) or possibly a newline character \n in the last printf.
  2. Re: Linker inlcusion error with ./configure in cross compilation

    Oops, I missed something in your first post.

    Instead of LDFLAGS=-llibdaemon
    use LDFLAGS=-ldaemon

    Normally, the linker knows that the library name starts with "lib" and ends with ".so". And,...
  3. Re: Linker inlcusion error with ./configure in cross compilation

    You need a cross-compiled library. It seems unlikely that is what you have installed.

    Depending on what is typically done for your cross-compile, your system may already have typical steps for...
  4. Re: Received data from serial port and send it through ethernet

    There are devices called "terminal servers" which do that. Presumably, someone has written programs for those devices to do what you want. From personal experience, it seems those devices might use...
  5. Replies
    21
    Views
    1,993

    Re: Text based user interfaces

    I think what you are describing is an interface that can be navigated with a keyboard beyond just a TAB as can be done with some GUI interfaces today (like a web browser). When you have a text-based...
  6. Replies
    34
    Views
    2,289

    Re: Good C++ editor for beginners

    I've never used gedit for programming, but it is built-in to Ubuntu and is supposed to be friendly since it is GUI-based. It probably understands C++ syntax, but I'm not sure.

    As for Eclipse,...
  7. Replies
    6
    Views
    1,144

    Re: Problem running eclipse.

    I think Ubuntu has openJDK installed by default when you install Eclipse through the Software Centre in Ubuntu 12. For me, I first installed Eclipse through the Software Centre, then I read that for...
  8. Replies
    7
    Views
    2,290

    Re: How do I develop mobile apps using Objective C

    Objective C is the best choice for writing "native" iOS apps, which are apps for the iPhone or iPad devices.

    The best development IDE tool for iOS come from Apple and run on Macintosh computers. ...
  9. [SOLVED] Re: cron apparently blocks program sending email

    Glad to hear you solved your problem.

    The following isn't really directed to you, but I thought I would comment on the debugging technique for the possible benefit of others.

    With the brute...
  10. Thread: Threads in Java

    by mevun
    Replies
    4
    Views
    377

    [SOLVED] Re: Threads in Java

    In the first idiom, you can have something like:


    public class Dog extends Animal implements Runnable {
    public void run() {
    System.out.println("Fetching ball");
    }
    }
    In the...
  11. Re: Getting error while compile classic ladder as Library

    My guess is that you're missing some header file.

    I would guess that the Makefile has some include path which does not point to the right place. So look for something like "-I/some/dir" and make...
  12. Replies
    23
    Views
    1,191

    Re: FREE python programmer

    Although, I am not saying not to learn GUI programming, I think that it is better to learn a web-based GUI (HTML5/Javascript) instead because of the trend toward cloud-based apps.

    However, what I...
  13. Replies
    23
    Views
    1,191

    Re: FREE python programmer

    I just want to say that there's no compelling reason to learn GUI programming with python (which has to use a third party library like tkinter anyway).

    At my previous job, where I did mostly write...
  14. Replies
    5
    Views
    2,595

    Re: cross compilation for powerpc

    I'll just address the above points..

    I think that "any source" should realistically be limited to:
    1. C/C++ source code
    2. Proven to be built with Gnu C/C++ compiler and libraries for native...
  15. [SOLVED] Re: using sed for replacing a "specific place", not a find and replace...

    With respect to the various languages mentioned pretty much all of them can support one-liners.

    Perl one-liners seem to be most mentioned in general, but python and ruby also support them. There...
  16. Replies
    5
    Views
    2,595

    Re: cross compilation for powerpc

    1. There doesn't seem to be a good recent resource for learning this stuff, but I really wish there was.

    I think one step you need to learn is how most/all open-source C/C++ programs work. ...
  17. Replies
    4
    Views
    1,005

    Re: Have anyone tried this tutorial ?

    I don't know about your tutorial, but your understanding of TAG is wrong.
    Log.d uses the Log class which has a class function d (which stands for debug).
    You pass to that function a 'tag' parameter...
  18. Re: MYSQL: Does a script exist to roll forward binlogs after a backup restore

    Well, the likelihood of finding a mysql proficient expert in Ubuntu Forums isn't that great. You should probably try asking your question on the official mysql forums? You might need an Oracle...
  19. Replies
    1
    Views
    425

    [SOLVED] Re: Debugging JavaScript AJAX program!

    It's kind of a pain, but one way to help debug is to use "window.alert()" calls to see what Javascript is being invoked. This is equivalent to debugging with PRINT statements in other languages.
    ...
  20. Replies
    2
    Views
    1,055

    [SOLVED] Re: Compiler outputs something I can't understand

    I didn't open your zip file, but it looks like you have not specified the standard c++ library for linking.

    That might happen automatically if you use "g++" instead of "gcc". So try that...
  21. Replies
    3
    Views
    516

    [SOLVED] Re: Installing Android SDK

    Yes, if you do not use features that are only available in 4.1. There are also compatability libraries whose purpose is to allow a phone running 2.3.3 to use a feature in later releases. Not...
  22. Replies
    9
    Views
    760

    [SOLVED] Re: What language should I learn

    If you are interested in web and cloud computing, I would suggest learning Javascript (and HTML5) in the client/browser side. Now that there is a technology called node.js, you can also use...
  23. Replies
    6
    Views
    1,144

    Re: Problem running eclipse.

    You're welcome.

    The command "ln" makes a link between two files. In other OSes, this might be called a "shortcut" (Windows) or "alias" (Mac OS), although those OSes also provide graphical icons...
  24. Replies
    6
    Views
    1,144

    Re: Problem running eclipse.

    I found my libswt* libraries in this location: /usr/lib/jni/
    Assuming yours are in the same location, you can use this command:


    ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64


    I wonder...
  25. Replies
    38
    Views
    2,318

    [SOLVED] Re: detecting function calls

    I can think of two scenarios.

    One scenario is when you want to find out if you have "dead code", i.e. code which is never reached. With function calls, you can think of this as func A is defined...
Results 1 to 25 of 72
Page 1 of 3 1 2 3