Search:

Type: Posts; User: gemera

Page 1 of 16 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    16,039

    I've just broken open the Tkinter GUI API for...

    I've just broken open the Tkinter GUI API for Python. Compared to GTK3+ with C, it's just so much simpler to use, and the overall aesthetic of the graphics is superior. Just creating the usual basic...
  2. Replies
    14
    Views
    11,924

    I like Python a lot. If c programming is mining...

    I like Python a lot. If c programming is mining the rock face with a pickaxe, programming in Python is more like sitting in the manager's office with the feet up, with a fag in one hand and a glass...
  3. Replies
    1
    Views
    3,286

    If you're just looking for somewhere to ask...

    If you're just looking for somewhere to ask questions, gnome had gtk+ mailing lists when I was checking gtk+ out some time back. A google on "gnome mailing list" should get you there.
  4. Replies
    62
    Views
    35,758

    @Elkvis If list notation is acceptable it would...

    @Elkvis If list notation is acceptable it would even be possible to go raw with:




    range(1,11)



    Now, that's snappy code.
  5. Replies
    62
    Views
    35,758

    Python: for i in range(1,11): print i

    Python:




    for i in range(1,11):
    print i
  6. Replies
    5
    Views
    991

    I took the lazy way out a few months back, found...

    I took the lazy way out a few months back, found this and bought the Samsung at the head of the list which does have WiFi, and its been fine.
  7. btw, all identifiers for functions in the...

    btw, all identifiers for functions in the Standard Library are reserved.

    There is a function exp() in math.h, so exp falls into that category.

    Technically, using a reserved identifier in your...
  8. The switch condition in evaluatePostFix() uses...

    The switch condition in evaluatePostFix() uses the original array instead of the tokenised one.

    A default case is often a good idea, e.g. one that prints "Error: unknown operator".
  9. Replies
    12
    Views
    1,385

    This must be a windup.

    This must be a windup.
  10. Replies
    12
    Views
    1,385

    Your errors are pretty self explanatory. ...

    Your errors are pretty self explanatory.

    You're still declaring a local count variable at line 53.

    And you haven't updated your calls to find_path() at lines 64,66,68 and 70 to reflect the...
  11. Before you can build a linked list you need valid...

    Before you can build a linked list you need valid nodes, and you're not using the typedef structure type that you created.

    Your nodes should be of type flightRec.

    Edit: Clarification - you're...
  12. Replies
    103
    Views
    20,125

    Well, I've never had a cow look at me that way...

    Well, I've never had a cow look at me that way before. It was more like the aggressive stare of a bull.

    Thankfully on the way back down, the other herd barely acknowledged my presence, and the...
  13. Replies
    103
    Views
    20,125

    My last foray in to the wilds was stopped 7 miles...

    My last foray in to the wilds was stopped 7 miles out by a stubborn cow. Most cows tend to ignore you, but there had been some stories of ramblers being charged by cows and ending up badly injured....
  14. Replies
    7
    Views
    1,035

    Gotcha! :biggrin: It is completely useless.

    Gotcha! :biggrin:

    It is completely useless.
  15. Replies
    7
    Views
    1,035

    Well I only mentioned it in case the OP went away...

    Well I only mentioned it in case the OP went away with the idea that you definitely can't read multi word strings using scanf() and then the prof gave him an exercise expecting him to do just that....
  16. Replies
    7
    Views
    1,035

    If your prof complains about using functions he...

    If your prof complains about using functions he hasn't covered, you can change the default behaviour of scanf() using something like:




    char buff[100];

    scanf("%99[^\n]%*c",buff);
  17. Replies
    7
    Views
    1,035

    Seems like you are really talking about the...

    Seems like you are really talking about the limitation scanf() has in reading a string which includes spaces, in that it will just read the first word, and then stop when it detects the following...
  18. Time to enable your compiler warnings. ...

    Time to enable your compiler warnings.




    ||=== Build: Debug in test (compiler: GNU GCC Compiler) ===|
    C:\Users\HP Pavilion\C Programs\test\main.c||In function 'main':|
    C:\Users\HP Pavilion\C...
  19. Replies
    19
    Views
    2,664

    Yup, and I've already told you twice that you...

    Yup, and I've already told you twice that you need to declare board in main() and pass it to functions that need it.

    Currently you have two different instances of board in two different functions.
  20. Replies
    12
    Views
    1,275

    There's also the old steam driven method of...

    There's also the old steam driven method of writing your own summaries as you go.
  21. Replies
    19
    Views
    2,664

    If you don't have a good C book, I would highly...

    If you don't have a good C book, I would highly recommend you get one. Nothing beats a good structured approach to learning programming imo.

    There's also a good online course by Steve Summit here....
  22. int should easily hold 1000000 these days on most...

    int should easily hold 1000000 these days on most popular platforms.

    Its pretty certain that the array (stored on the stack) size takes the program over its stack limit.
  23. You need to initialise your "row" elements before...

    You need to initialise your "row" elements before you use them.
  24. Replies
    19
    Views
    2,664

    @Kobeissi2 Reviewing chapters on pointers and...

    @Kobeissi2

    Reviewing chapters on pointers and functions in your C book would be a good idea.

    That should give you the necessary confidence and understanding in passing variables and arrays to...
  25. Replies
    19
    Views
    2,664

    Don't have the time to check it in detail (...

    Don't have the time to check it in detail ( maybe some of the other guys will chime in :D)

    But if you are passing your piece and letter variables from main() like that, they shouldn't be...
Results 1 to 25 of 386
Page 1 of 16 1 2 3 4