Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    0
    Views
    256

    Need help with GtkTreeView

    Hi everyone!

    I'm making a cinema program, which is showing movies names and the dates when they're playing.

    When I select a certain row in GtkTreeView everything works fine, I can get the...
  2. Replies
    6
    Views
    605

    Re: Huge memory leak

    I tried to reuse it, still no luck. I also tried to use the technique described in that link, this is the code and it still causes a massive memory usage jump:



    void load_file(GtkButton...
  3. Replies
    6
    Views
    605

    Re: Huge memory leak

    I'm glad I'm not the only one. Hope anyone can find a solution for this.
  4. Replies
    6
    Views
    605

    Re: Huge memory leak

    It's gtk_file_chooser_dialog_new() that causes such high memory usage. So the dialog takes up 2.2MB of memory? It shouldn't to that, right?

    I don't know much about linking but this is the command...
  5. Replies
    6
    Views
    605

    Huge memory leak

    Hi everyone!

    I was making a simple highlighting program in GTK when I encountered a huge memory leak in my code. If I open a FileChooserDialog the memory usage of a program gets from 1.6MB to...
  6. Replies
    12
    Views
    773

    [SOLVED] Re: Programming in C

    I'd say GTK too if you're using C, it's not hard to implement it in your code and there are many tutorials and good documentation.
  7. Replies
    2
    Views
    804

    [SOLVED] Re: CURL in D (Seg fault)

    I use dmd. But that's old problem and I used curl for D this time. Will mark it as solved, but thanks for help anyway!
  8. Replies
    7
    Views
    1,892

    Re: Please Help To Write Bubble Sort In C#

    If you have no idea what you're doing then this link is for you: http://bit.ly/A1AzoR

    But I recommend that you first learn how bubble sort works and then I think writing a bubble sort function...
  9. Replies
    34
    Views
    2,870

    Re: C programming problems

    Yes, strncat takes one more argument than strcat.

    http://www.cplusplus.com/reference/clibrary/cstring/strncat/
    http://www.cplusplus.com/reference/clibrary/cstring/strcat/
  10. Replies
    3
    Views
    762

    Re: Permission Denied

    As sisco311 already said, it's probably the file system. Your path starts in /media, where devices like USB flash drives are located and I guess that whatever the device is, it doesn't use a file...
  11. Replies
    2
    Views
    239

    Re: sed command to prepare an upgrade

    I think the problem is in "<profile>", I'm pretty sure you have to replace it with something. But I'd rather wait for someone to confirm this.

    Try also re-reading the site where you got this from...
  12. Replies
    307
    Views
    22,201

    Re: What are you eating now?

    Nothing, if that counts :D But I wish I would be eating something right now, I'm really hungry...
  13. Thread: Confession

    by Petrolea
    Replies
    495
    Views
    26,839

    Re: Confession

    Confession: I find the 'booting time' discussions funny, since my Ubuntu loads in 20 seconds and HDD is nearly full and I have a sh*tload of programs running on the startup.
  14. Replies
    4
    Views
    534

    Re: ALSA programming

    Can't tell anything about code being good or not because I have no idea what it does. But I can see you got some sound settings there, maybe try adjusting them?
  15. Replies
    1
    Views
    1,284

    Re: Programming for Kinect on Linux

    I don't think you can find much about doing this on Linux, but start your research from here: http://www.zdnet.com/blog/hardware/linux-open-source-drivers-for-xbox-kinect-released/10303
  16. Replies
    4
    Views
    534

    Re: ALSA programming

    Maybe your program plays raw input, but on computer it is a bit edited and that's why there's a difference? I'm just guessing, I don't know much about audio.
  17. Replies
    6
    Views
    1,787

    Re: Open a 10 Gb text file

    As suggested before, I recommend that you write a program that reads a file by chunks (you can specify the size if a chunk).

    I think pretty much any programming language can do that.
  18. Replies
    1,040
    Views
    40,803

    Re: The Nonsense Thread

    I pisss in peace on a piece of peas.
  19. Replies
    19
    Views
    2,697

    [SOLVED] Re: gcc can't find file

    That would mean newline. If you want to actually write \n, you'll have to write \\n.
  20. Replies
    1
    Views
    568

    Re: BEEP in C++ in Kubuntu 11.10

    There are more ways.

    http://lmgtfy.com/?q=beep+in+c%2B%2B+linux
  21. Replies
    20
    Views
    3,941

    Re: Beginners programming challenge #24

    This is my entry in D. I tried to make the code as easy to read as possible.

    It only finds phrases that are 3 words long, the rest is OK. It accepts the filename as a first argument.

    If you...
  22. Replies
    4
    Views
    802

    [SOLVED] Re: [Vala] Classes in vala

    It might be weird if you've never done this before. But it is completely normal.
  23. Thread: MSN Virus?

    by Petrolea
    Replies
    7
    Views
    968

    [other] Re: MSN Virus?

    As many people said before, it's not a virus. Other than deleting the person from contacts, there's nothing more you can do.
  24. Replies
    4
    Views
    802

    [SOLVED] Re: [Vala] Classes in vala

    You should declare the 'testint' outside the constructor and then change it's value with it.

    Right now you are trying to access a value in your class, but 'testint' is actually in constructor. You...
  25. Replies
    19
    Views
    2,697

    [SOLVED] Re: gcc can't find file

    You must run the command when you're in the same directory as the file. You probably used some IDE on Windows that took care of that.
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4