Search Results

Showing results 1 to 13 of 13
Search took 0.01 seconds.
Search: Posts Made By: wbk
Forum: C++ Mar 16th, 2005
Replies: 54
Views: 76,942
Posted By wbk
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
Posted By wbk
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
Posted By wbk
actually, you're right. suggesting qsort was idiotic. ;)
Forum: C++ Mar 16th, 2005
Replies: 1
Views: 1,804
Posted By wbk
cool. i'm going to have to check that out (pun intended).
Forum: C Mar 16th, 2005
Replies: 7
Views: 2,896
Posted By wbk
execlp("cut", "cut","-d", "\"", "-f2",0);
Forum: C Mar 16th, 2005
Replies: 9
Views: 2,811
Posted By wbk
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
Posted By wbk
the pipes are fine. it's the cut command.
Forum: C++ Mar 16th, 2005
Replies: 54
Views: 76,942
Posted By wbk
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
Posted By wbk
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
Posted By wbk
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
Posted By wbk
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
Posted By wbk
system() insecure. use execl, execle, execv, or execve.
Forum: C++ Mar 16th, 2005
Replies: 19
Views: 14,603
Posted By wbk
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.
Showing results 1 to 13 of 13

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC