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
~240 People Reached
Favorite Forums
Favorite Tags
c x 10
Member Avatar for lemichelle

I'm trying to get a program to print out two strings that I input. I can't figure out why its not working! [code] #include <stdio.h> #include <stdlib.h> #define ARRAY_SIZE 30 int main() { char s1[ARRAY_SIZE]; char s2 [ARRAY_SIZE]; printf("Enter a String:\n"); scanf("%25s\n", s1); printf("Enter string 2:\n"); scanf("%25s\n", s2); printf("String 1: …

Member Avatar for Aia
0
75
Member Avatar for lemichelle

Hi everyone, I just started C and I'm trying to understand some conceptual things. If anyone can help me with any of my questions It would be appreciated! I just want to hear it from something other than a book. 1. So, if macros can hold arguments, why would you …

Member Avatar for Aia
0
73
Member Avatar for lemichelle

Hello, From within a function, I'm trying to give data to certain members of a struct that I created. The struct also has an enum type that I created in it. Say this is the struct and the enum: [code] typedef enum {cat, dog, rabbit} Animal; typedef struct { Animal …

Member Avatar for lemichelle
0
92