Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #16.0K
Ranked #3K
~10K People Reached

8 Posted Topics

Member Avatar for Narue

[QUOTE=Narue][SIZE=3][B]Removing a newline in C[/B][/SIZE] The fgets function in C is annoying in that it copies a newline character to the buffer:[/QUOTE] instead of performing that little dance every time, i'd just write a new function and get it over with. [CODE] char *fget(char *s, int size, FILE * stream) …

Member Avatar for bector
2
8K
Member Avatar for johnbal

[url=http://gambas.sourceforge.net/]Gambas[/url] 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.

Member Avatar for chadauld
0
333
Member Avatar for Dani

[QUOTE="TkTkorrovi"]Hi! I usually use mingw [url]http://www.mingw.org[/url], as this uses a linux compiler gcc,[/quote] mingw has nothing to do with linux whatsoever. [quote]and is therefore very reliable and complies to standards more than any other.[/QUOTE] it complies with a 16-year old version of the ANSI C standard, but that's about it.

Member Avatar for tamilblast
0
732
Member Avatar for sinB
Member Avatar for jujuju

i don't think your "cut" command is working why are you writing this in c? [code]lynx -dump http://www.startsiden.no/sport/nyheter/ | grep vgart | cut -d \" -f2[/code]

Member Avatar for jujuju
0
159
Member Avatar for JayseR

you aren't allowed to use qsort? [code]#include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #define NINTS 3 int compar(int *a, int *b) { return (*a>*b); } int main(int argc, char *argv[]) { int i,ints[NINTS]; char buf[BUFSIZ]; printf("enter %d integer values:\n",NINTS); for (i=0;i<NINTS;++i) { memset(buf,0,BUFSIZ); fgets(buf,BUFSIZ,stdin); ints[i]=strtol(buf, (char **)NULL, 10); if …

Member Avatar for JayseR
0
219
Member Avatar for vegaseat
Member Avatar for Dani

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 recursive functions that might actually be useful. don't use them in production code if your compiler doesn't …

Member Avatar for wbk
0
169