Search:

Type: Posts; User: Ravi Raj

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,847

    Ok, I got some empty rows to be inserted with...

    Ok, I got some empty rows to be inserted with this code:
    void populate_list()
    {
    GtkTreeIter iter;
    ledger_store = gtk_list_store_new (9, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,...
  2. Replies
    2
    Views
    1,847

    SQLITE3, GtkTreeView and C problem !

    Hello friends,

    The below given code is not appending values to the treeview. Please help:


    void
    populate_list()
    {
    GtkTreeIter iter;
  3. Ok, I got it to work, here is the corrected...

    Ok, I got it to work,
    here is the corrected code. Bye the way thanks stahta01



    gchar *
    convert_value (const gchar *value, gchar type)
    {
    gchar buff[256] = {0};
    int64_t dvalue;...
  4. here is the output: buff:=...

    here is the output:


    buff:= 18446744073709551615
    buff:= 9223372036854775807
  5. How to print 11 digit int64_t number with sprintf ?

    Hello there,

    I want to print a 10 or 11 digit number say 99999999999 with sprintf. For this, I used this code:


    gchar*
    convert_value (const gchar *value, gchar type)
    {
    gchar...
  6. Replies
    12
    Views
    5,017

    At last, I don't know the logic is correct or not...

    At last, I don't know the logic is correct or not but this code is working fine:



    gchar*
    convert_value (const gchar *value, gchar type)
    {
    gchar *str;
    gchar buff[strlen(value)];
    ...
  7. Replies
    12
    Views
    5,017

    Thanks, but still some difficulties !

    Ok,

    Finally I got this to work but still some difficulties:


    gboolean
    on_txt_demandno_focus_out_event (GtkWidget *widget, GdkEvent *event, gpointer data)
    {
    gdouble output;
    gchar...
  8. Replies
    12
    Views
    5,017

    Thanks quantumpete for the reply, That's what I...

    Thanks quantumpete for the reply,
    That's what I want to say that I am really a newbie to c, will you please tell me that built-in function.

    Make a spoon feed once more... please !
  9. Replies
    12
    Views
    5,017

    The above code is capable of printing double (.)s...

    The above code is capable of printing double (.)s but in a float there must be only single (.), how can I implement this. Please help.
  10. Replies
    12
    Views
    5,017

    Thanks QuantumPete, I got it to work with this...

    Thanks QuantumPete,

    I got it to work with this code, I don't know whether it is right logic or not but it is working:


    void
    on_txtSamekitKar_insert_text(GtkEditable *editable, gchar *text,
    ...
  11. Replies
    12
    Views
    5,017

    I am unable to give float masking in this code: ...

    I am unable to give float masking in this code:

    void
    on_txtSamekitKar_insert_text(GtkEditable *editable, gchar *text,
    gint length, gpointer position, gpointer data)
    {
    int i, count =...
  12. Replies
    12
    Views
    5,017

    Ok, Thanks I understood. But still there's a...

    Ok,

    Thanks I understood. But still there's a problem, I want floating numbers:

    I replaced the code in the above link with isdigit, worked awesome, but when i am using isfloat its not working.
    ...
  13. Replies
    12
    Views
    5,017

    bump

    bump
  14. Thanks...

    Thanks mario for your instructions and I will remember your suggestions from next time.
  15. I tried with clrtoeol and clrtobot but no...

    I tried with clrtoeol and clrtobot but no success.
    Will you please tell me with some example.
  16. Replies
    21
    Views
    23,204

    Thanks Jim, That solved my problem.

    Thanks Jim,

    That solved my problem.
  17. Replies
    21
    Views
    23,204

    Jim, Please read my earlier replies, I had...

    Jim,
    Please read my earlier replies,

    I had already told that I want to change the size of gnome-terminal.
  18. How to clear ncurses window from (n, n) to (n, n)?

    Hello friends,

    Is there any way to clear ncurses window created with newwin() or subwin() from (row, col) to (row, col),

    Please help.
  19. Replies
    21
    Views
    23,204

    Ok, Let me see first. Thanks for your quick...

    Ok,

    Let me see first. Thanks for your quick reply Subsonics,

    I will let you all know, if I get proper solution.
  20. Replies
    21
    Views
    23,204

    I am using this code: void term_size(int...

    I am using this code:


    void
    term_size(int *rows, int *cols)
    {
    struct winsize ws;
    int fd;

    /* Open the controlling terminal. */
  21. Replies
    21
    Views
    23,204

    I used these constants, but still no serious...

    I used these constants, but still no serious effect.
  22. Replies
    21
    Views
    23,204

    I know you are confused a little bit. ...

    I know you are confused a little bit.

    Actually, I was talking about gnome-terminal.
  23. Replies
    21
    Views
    23,204

    Please help in coding through linux.

    Please help in coding through linux.
  24. Segmentation Fault (core dumped) in simple c program !

    Hello there,

    I am getting the error:

    Segmentation fault (core dumped)
    error in a simple c program. The code is:

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
  25. Hello, I think the post is in correct location...

    Hello,

    I think the post is in correct location because its question with ncurses for linux (ubuntu) and its completely a c programming problem.

    Thanks.
Results 1 to 25 of 44
Page 1 of 2 1 2