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
~726 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Matt You

I have a simple program (code follows) that circle_shifts an array, but I need it to be able to quit when the user enters a character, (ex. q). Where do I start?[code]#include <stdio.h> #include <stdbool.h> #include <math.h> int printAr(int n[], const int SIZE){ unsigned int i; printf("Array contents: "); for( …

Member Avatar for Matt You
0
118
Member Avatar for Matt You

I've made a program that can scan through a plain text document for the string "SA001:" and if it's not there, it ads it in at the top. But the problem comes with the saving to the document: It adds some things to the document that I don't know how …

Member Avatar for micdareall
0
108
Member Avatar for Matt You

I'm trying to make a function that can scan a char array, and finish it's business when it comes to a '\0'. so here is the for loop i came up with: [CODE]for( i=0 ; charArray[i] != '\0' ; i++ )[/CODE] But here is an example of entered data: "1234 …

Member Avatar for Matt You
0
500