Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~953 People Reached
About Me

C noobie ¦oP

Interests
Music - nerding - photography ;o)
PC Specs
MacBook - Black *drools* 2GHz Intel Core Duo processor 2GB MB DDR2 SDRAM
Favorite Forums
Favorite Tags
c x 11
Member Avatar for Line

Hey! Writing a simple client/server in C and I'm currently stuck with getting the results after calling system("ls") so I can send it from server to client. Since system() returns an int I tried popen() --> [CODE] char buffer[1000]; FILE* myPipe = popen(buf, "r"); if(myPipe==NULL){ //errorstuff } while(fgets(buffer, 1000, myPipe)!=NULL){ …

Member Avatar for Ancient Dragon
0
104
Member Avatar for Line

Helloes! I'm using getrusage to get the usertime and systemtime, but sometimes the times returned are negative --> SELF: user time: 1313366639 microseconds system time: -1547562616 microseconds I'm not sure I've understood getrusage correctly, so I'm posting my code in hope of getting a few tips on how to avoid …

Member Avatar for Line
0
197
Member Avatar for Line

Hey! I'm writing a program and currently having trouble with getting a written line typed in by the user to be copied correctly into another array... I'm using a for-loop to run through the original char-array, but if I type in "Hello" the program will give me this result: Param …

Member Avatar for Line
0
95
Member Avatar for Line

Hey! I'm looking for some help on what I'm doing wrong as I'm new to C#. I'd really like it if you can explain why my code isn't working and then offer some help on how to fix it without "making it easy" for me ;o) I have to understand …

Member Avatar for Tekmaven
1
557