Posts
 
Reputation
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
~52.9K People Reached
Favorite Tags
Member Avatar for samaru

Is everyone familiar with this game? Just reply with the first word that comes to your mind when you think of the last word posted. You can't respond to the post with a comment, just the word that comes to your mind. It can only be a word or a …

Member Avatar for Salem
2
52K
Member Avatar for staufa

Hi im trying to connect to my database but i dont know why i cant load my jdbc driver: -I've saved the jar file together with the other java files in the same folder called "a" -I used –classpath flag: Windows: "java -classpath .\mysql-connector-java-3.1.8-bin.jar;. LabDB4" but I dont know if …

Member Avatar for peter_budo
0
207
Member Avatar for staufa

I've been trying to read characters from the keyboard using 'getchar()' but my code always misses one character. Can anyone tell me why this is [CODE=suntax]#include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char *argv[]) { char string[50]; int i; printf("Enter a string: "); for (i=0; i < strlen(string); …

Member Avatar for cthoes
0
314
Member Avatar for staufa

I'm getting an unexpected error for my piece of code. It seems like a new line character is added into the string once is it called. Well the purpose of my lil code is to read characters from the keyboard using the fgets function and then convert it into pig …

Member Avatar for HiHe
0
186
Member Avatar for staufa

Can anyone tell me why I'm getting "number 1" as my output when i enter arguments 1, 2, 3. It seems like its always 1 and I don't know why. [CODE]int main(int argc, char *argv[]) { if (argv[1] = "1"){ printf("number 1"); }else if(argv[1] = "2"){ printf("number 2"); }else if(argv[1] …

Member Avatar for staufa
0
87