Forum: C++ Mar 16th, 2005 |
| Replies: 54 Views: 76,942 Presumably. But, having implemented the C89 stdlib in it's entirety I can assure you that the last thing it's designers had in mind when devising the stdio library was performance. If you require... |
Forum: Window and Desktop Managers Mar 16th, 2005 |
| Replies: 6 Views: 15,661 Gambas (http://gambas.sourceforge.net/) is supposed to be a lot like Visual Basic.
glade (and gtk) use 'boxes' to lay out widgets. add a box, then add a widget to it. |
Forum: C Mar 16th, 2005 |
| Replies: 9 Views: 2,811 actually, you're right. suggesting qsort was idiotic. ;) |
Forum: C++ Mar 16th, 2005 |
| Replies: 1 Views: 1,804 cool. i'm going to have to check that out (pun intended). |
Forum: C Mar 16th, 2005 |
| Replies: 7 Views: 2,896 execlp("cut", "cut","-d", "\"", "-f2",0); |
Forum: C Mar 16th, 2005 |
| Replies: 9 Views: 2,811 qsort is a systems programming fundamental. it might as well be learned for a sorting assignment.
of course. like knuth said, "beware of bugs in the above code; i've only proved it correct, not... |
Forum: C Mar 16th, 2005 |
| Replies: 7 Views: 2,896 the pipes are fine. it's the cut command. |
Forum: C++ Mar 16th, 2005 |
| Replies: 54 Views: 76,942 instead of performing that little dance every time, i'd just write a new function and get it over with.
char *fget(char *s, int size, FILE * stream)
{
char *ptr;
int c;
... |
Forum: C Mar 16th, 2005 |
| Replies: 7 Views: 2,896 i don't think your "cut" command is working
why are you writing this in c?
lynx -dump http://www.startsiden.no/sport/nyheter/ | grep vgart | cut -d \" -f2 |
Forum: C Mar 16th, 2005 |
| Replies: 9 Views: 2,811 you aren't allowed to use qsort?
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#define NINTS 3
int compar(int *a, int *b) |
Forum: C++ Mar 16th, 2005 |
| Replies: 1 Views: 13,599 recursive programming is an important and powerful paradigm. if you want to get into it and be able to "think recursively," you should really spend some time using LISP.
here's a couple of... |
Forum: C++ Mar 16th, 2005 |
| Replies: 10 Views: 5,699 system() insecure. use execl, execle, execv, or execve. |
Forum: C++ Mar 16th, 2005 |
| Replies: 19 Views: 14,603 mingw has nothing to do with linux whatsoever.
it complies with a 16-year old version of the ANSI C standard, but that's about it. |