duanedesign | does anyone know if their is an irc channel for c development? | 02:43 |
---|---|---|
duanedesign | Or if anyone in here can answer a rather simple question about a C program that is not compiling for me? | 02:44 |
jvrbanac | duanedesign, I haven't done pure C in quite a while, but I might be able to help. What is the issue? | 02:46 |
duanedesign | thank you let mem paste bin it i real quick | 02:46 |
duanedesign | I think the issue is i does not like my logical operatores || and && | 02:49 |
duanedesign | http://bit.uz/Rxa | 02:49 |
duanedesign | it errors on all the lines like else if (angle >= 0 && <= 90) | 02:51 |
jvrbanac | Ahh I see the problem | 02:52 |
jvrbanac | ok, so the issue is that you missing something the evaluate on the third condition of that if | 02:53 |
jvrbanac | so in the case of the example you gave, it would need to be : else if (angle >= 0 && angle <= 90) | 02:54 |
jvrbanac | i.e you're missing "angle" after the && | 02:54 |
duanedesign | ahhh | 02:55 |
duanedesign | awesome! | 02:55 |
duanedesign | it worked | 02:55 |
jvrbanac | :D | 02:56 |
duanedesign | thanks a ton | 02:56 |
jvrbanac | np! Glad I could help | 02:56 |
duanedesign | i wrestled with it for longer then I care to admit :D | 02:56 |
duanedesign | you earned some good karma points my friend. Thanks again | 02:57 |
jvrbanac | :D np. We've all been there. Sometimes you just need another set of eyes. | 02:57 |
duanedesign | agreeed. Someone picked up my K&R the C Programming Language at school. Was bummed about that was a good book | 03:03 |
duanedesign | but cheap to replace. Used copies everywhere | 03:03 |
duanedesign | well i wont linger. Not to be over repetetive, but thanks again, :) | 03:04 |
IDWMaster | Hi | 04:32 |
IDWMaster | Regarding the question on CrossLibs I'd like to point out that the memory management system it uses is different than a regular C++ program. Instead of using the default "new" it uses operator new, and the memory is later freed with a call to FreeManagedObject | 04:32 |
IDWMaster | I don't see any memory leaks myself in the library, but if somebody sees any they should be more specific about the problem | 04:33 |
IDWMaster | Memory leaks in such a library can be a serious issue, but I can't fix them unless I know where they are. | 04:36 |
sn0w75 | Hi all, I have a program that I'm interested in open-sourcing. However, I'm rather new to the process of package creation and the formatting of source code in order to easily create packages out of them. | 08:30 |
sn0w75 | I already have a launchpad account and whatnot set up, I just can't figure out how to format my source code properly so that mh_make detects my Makefile | 08:32 |
sn0w75 | I was following the tutorial here, had no issue going thru it with the GNU hello-world program, but in that case the source code is already in the proper format; what I don't understand is how one goes about formatting their source code properly | 08:33 |
sn0w75 | http://developer.ubuntu.com/packaging/html/packaging-new-software.html | 08:33 |
sn0w75 | In addition, if anyone has some other general tips on Ubuntu app development I'd love to hear it, as I'm fairly interested in learning the ropes (although I really don't have issues in compiling binaries for linux in general) | 08:36 |
nik90 | ubuntu-app-devel | 13:24 |
nik90 | anybody here familiar with GTK Treeview? I am trying to get the row index to the currently selected row (all in python) | 13:24 |
nik90 | I did selection = mytree.get_selection() | 13:38 |
nik90 | model, iter = selection.get_selected() | 13:38 |
nik90 | however it return iter to the currently pointed row..but I need the row index (integer) | 13:38 |
nik90 | hoping someone know how to do this | 13:38 |
=== davidcalle_ is now known as davidcalle | ||
=== Will is now known as Guest16893 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!