Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.19 seconds.

  1. Thread: How tuff is

    by cgroza
    Replies
    2
    Views
    371

    Re: How tuff is

    It depends on how many windows specific features and libraries that program uses.
  2. Re: C/C++ -- is free() function required in this example?

    I see that your program returns immediately after you use your value.
    The operating system will free the memory after it returns. But if you use this code in a loop, not freeing will cause a memory...
  3. Re: Anyone interested in having a configuration tool for .lens files ?

    I will give it the ability to open files other than those in /usr/share/unity/places.
    And maybe I will add some other features if anyone finds this application remotely useful.
  4. Re: Anyone interested in having a configuration tool for .lens files ?

    I saw no interest in it at that time and Unity was still divided in 2d and 3d, and then school came and I couldn't continue. I will probably revive it when some free time comes along.
  5. Replies
    296
    Views
    78,056

    Re: "Hello Ubuntu" in every programming language

    Haskell again, but this one is in point-free style:


    main = putStrLn "What is your name?" >> (putStrLn . ("Helllo " ++) =<< getLine)
  6. Re: Python 3 TabError: can't find cause, only used tabs

    The function load_basic_info could be written in a way that minimizes code repetition. Something like this:


    if type_info in ["Brand", "Color", "Year"]:
    self.basic_car_info[type_info] =...
  7. Replies
    7
    Views
    1,742

    Re: USB "hacking" via python

    Take a look at pyusb. It is a library that will allow you to manipulate USB ports and connections, and I am pretty sure that what you want to do is possible even if it could be more complicated.
  8. Thread: C++ pointers

    by cgroza
    Replies
    7
    Views
    528

    Re: C++ pointers

    This topic should be covered by your tutorial or book. I highly recommend The C++ Programming language written by its inventor.
  9. Replies
    27
    Views
    3,554

    Re: Beginners programming challenge #27

    I edited my post, check again. :D
  10. Replies
    27
    Views
    3,554

    Re: Beginners programming challenge #27

    You could explore other languages that allow functions to be a first class citizen. I would imagine that a feature like that would greatly simplify your task.
  11. Replies
    27
    Views
    3,554

    Re: Beginners programming challenge #27

    The other users gave you the right answers :D. I am sorry if this challenge is too difficult, but since I posted it early, no need to rush. I won't judge this for the next 2 weeks.
  12. Replies
    27
    Views
    3,554

    Re: Beginners programming challenge #27

    If you think you are not a beginner and you think it would be unfair for other users, you could post your solution after the winner is announced. And yes, the users are not allowed to use libraries...
  13. Replies
    27
    Views
    3,554

    Beginners programming challenge #27

    Welcome to the 27th Beginners programming challenge.

    Because I have a bit of free time, I decided to post this programming challenge early.
    This means it will be a bit more complicated and will...
  14. Re: Need help with that problem variable-sized object ‘array’ may not be initialized

    The problem is not the variable declaration. It is in the line inside the for loop.
    You are defining another 2d array Feld1 (maybe you meant Field here).
    If you meant Feld instead of Feld1, you...
  15. Replies
    19
    Views
    3,899

    Re: Beginners programming challenge #26

    I want to thank Bosda and all the users involved in creating Beginners Programming Challenge. Also, good work to all participants and thank you for competing.
    I will try to elaborate the 27th...
  16. Replies
    24
    Views
    1,338

    Re: Please check my application :)

    Your application looks really nice. Definitely worth the work you put in it. You should announce this application on other websites, don't expect it to get very much traction from this subforum :D....
  17. Replies
    2
    Views
    335

    Re: emacs perlnow.el question

    I thought that site-lisp is in the autoload path already. I don't think you need to add it by yourself.
  18. Replies
    7
    Views
    740

    Re: Funny Picture - Cows

    Reddit and quickmeme for these things :D. I just don't see it happening on Ubuntu Forums. :p
  19. Replies
    19
    Views
    3,899

    Re: Beginners programming challenge #26

    I have written this one in Haskell and implemented the first 3 cookie points.
    Command examples:


    # reads numbers from a newline separated file
    program -f test.txt

    # reads numbers...
  20. Replies
    2
    Views
    1,466

    [SOLVED] Re: Pylab in IDLE 2.7

    The name of your file is identical to the one of the module. When you try to import, python chooses the one in the current directory. Try renaming your file to a different name.
  21. Replies
    3
    Views
    483

    Re: What OOP language do you use?

    Mostly Python. Sometimes C++, but not that often.
  22. Replies
    9
    Views
    8,272

    Re: undefined reference to `main'

    Try:


    gcc seq.c testseq.c -o test
  23. Replies
    6
    Views
    1,140

    Re: Why use emacs as a C IDE?

    I tried Geany after getting used to emacs... Then need to constantly move for the mouse drives me crazy...
  24. Replies
    4
    Views
    551

    [SOLVED] Re: Is that slow for coverting float to int ?

    Still, I seriously doubt that you will ever need to optimize a type conversion...
  25. Replies
    6
    Views
    962

    [SOLVED] Re: Question about C++ Inheritance

    I guess the pointer was still valid in some way.
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4