It depends on how many windows specific features and libraries that program uses.
Type: Posts; User: cgroza; Keyword(s):
It depends on how many windows specific features and libraries that program uses.
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...
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.
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.
Haskell again, but this one is in point-free style:
main = putStrLn "What is your name?" >> (putStrLn . ("Helllo " ++) =<< getLine)
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] =...
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.
This topic should be covered by your tutorial or book. I highly recommend The C++ Programming language written by its inventor.
I edited my post, check again. :D
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.
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.
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...
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...
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...
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...
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....
I thought that site-lisp is in the autoload path already. I don't think you need to add it by yourself.
Reddit and quickmeme for these things :D. I just don't see it happening on Ubuntu Forums. :p
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...
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.
Mostly Python. Sometimes C++, but not that often.
Try:
gcc seq.c testseq.c -o test
I tried Geany after getting used to emacs... Then need to constantly move for the mouse drives me crazy...
Still, I seriously doubt that you will ever need to optimize a type conversion...
I guess the pointer was still valid in some way.