Search Results

Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: Matt You
Forum: C Feb 26th, 2008
Replies: 3
Views: 564
Posted By Matt You
Thanks guys. Here's the solution btw:int intCheck(){
int userNum, count = 0;
int SIZE = 5;
char userNum_asChar[SIZE];
int negFlag;

fgets ( userNum_asChar, SIZE, stdin );

printf(...
Forum: C Feb 26th, 2008
Replies: 3
Views: 564
Posted By 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?#include <stdio.h>
#include...
Forum: Python Feb 5th, 2008
Replies: 3
Views: 1,334
Posted By 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...
Forum: C Jan 22nd, 2008
Replies: 4
Views: 1,975
Posted By Matt You
Thank you! I never would have figured that out. It all works the way it should now.
Forum: C Jan 22nd, 2008
Replies: 4
Views: 1,975
Posted By Matt You
here ya go:#include <stdio.h>

int dummy;

int stringSplitter(char arrayToSplit[], int arraySize);

int main()
{
char userString[20];
Forum: C Jan 22nd, 2008
Replies: 4
Views: 1,975
Posted By 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:
for( i=0 ; charArray[i] != '\0' ; i++ )
But here...
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC