Search results

  1. Sykora

    Game You are Currently Addicted to

    Now playing: Borderlands, Civilization V, ME2 (7th PT).
  2. Sykora

    The LG Optimus One Thread

    I'm thinking about getting an Optimus One (finally admitted to myself that I'm not going to be able to afford a Galaxy S/Nexus S/whatever), and I've got a couple of questions. 1. How easy/hard is it to go back to stock condition if you've messed with rooting and custom ROMs/kernels? 2. Is...
  3. Sykora

    The Programming Contests, Challenges and Online Judge Thread.

    As part of my college symposium "Kratos 2009", we'll be conducting a set online events. The first is an online programming contest, similar in format to Project Euler. There will be 10 questions, and you'll get 3hrs to solve them. The second event is a little less technical; It's a picture...
  4. Sykora

    Post your C/C++ Programs Here

    Re: Post ur C/C++ Programs Here "void main" is _wrong_. "getch()" is _not_ necessary. main() is literally the program's main function. The OS uses the return value of a program to determine whether it exited properly or not. Using void main will return a trash value, leaving the OS to guess...
  5. Sykora

    Creating Binary Python Executables

    Every self-respecting mainstream linux distribution comes with python, so there's no need for you to worry about whether that will be there. As far as an installation method is concerned, the general python way of producing an installer is using the python disutils module. Check that one out.
  6. Sykora

    Maths Quiz

    (4/4 + 4) * 4
  7. Sykora

    Maths Quiz

    9 slashes.
  8. Sykora

    Post your C/C++ Programs Here

    Re: Post ur C/C++ Programs Here @nvidia: The simplest infinite loop is while True : do_something() but if you really wanted a for loop instead of a while loop, from itertools import count for i in count(0) : do_something()
  9. Sykora

    Programmers Challenge!

    You should post the source. *www.spoj.pl/problems/ACODE/
  10. Sykora

    C++--tricky one

    *www.spoj.pl/problems/BCEASY/ Change i-- to n--.
  11. Sykora

    Opera: google layout messed up!

    They're enabling their new search-wiki feature, and it's probably buggy. It'll get fixed soon, I think.
  12. Sykora

    Barrack Obama - Post your Thoughts !! ( Even if Controversial )

    The african-american minority is still only 40 million, which is close to 12.5% of the entire population. 95% of 12.5% is still not bigger than any decent fraction of the remaining 78.5%. Saying that Obama won because of the blacks is like saying Palin would win because of the women, and we...
  13. Sykora

    Very Basic C++ question

    What do you mean, garbage values? If it looks like a really big, but single number, then it would be because you're not inserting spaces between the numbers. Try : cout << sums[l] << endl; If that still doesn't work, simplify the program until you get an answer, and then add to it.
  14. Sykora

    Very Basic C++ question

    The size of an array must be known at compile-time. ie, if you had done : int stor[10]; it would have worked, but since the size of an array is a variable, it won't work. That's why it says "expected constant expression". To do what you intend, try : int* stor = new int[n]...
  15. Sykora

    Game Boy Advance

    After the ending? They prepare for a sequel with Alex as the bad guy :) We never got to fight him in either game.
  16. Sykora

    Game Boy Advance

    Ha, finally games that I'm used to playing! :) I fully agree with almost all of dheeraj_kumar's suggestions. Golden Sun and Golden Sun 2: TLA and FFTA are possibly some of the best rpgs of all times. Similarly, AW and AW2 also redefine their genre. My other favorite games are all the pokemon...
  17. Sykora

    L value reruired

    What are you trying to do? ++x++ is invalid. You can only apply one of them at a time. An lvalue is anything that can come on the left side of an '=' sign. When you use x++, it is interpreted as 'x = x + 1'. Here, x is an lvalue. When you use ++x++, it tries '++x = x + 1', but ++x is not...
  18. Sykora

    Linux - What apps do you use ?

    @hellknight : Here you go. View it full-size, you can't really see anything in the thumbnail. Mutt, running inside urxvt.
  19. Sykora

    pyQt or pyGTK or wxWidgets or QT ?

    @MHG : Q #2 : In the case of PyQt, first you use designer to design your interface. You save that as a .ui file, which is an xml format. After that, you use pyuic to convert ui files to py files which contain classes representing the ui you created. These classes can then be subclassed to do...
Top Bottom