No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
show slow textbox array ie display the item and wait a few seconds to display the following c # , its gonna be like a process roundd 1 //wait a few seconds to dislplay another line for (i = 1; i <= r; i++) { label3.Text += ("round " + … | |
I need save each word of text file into array of strings I have this code how to do for convert into dinamically #include <stdio.h> #include <conio.h> #define MAX_CHARS 20 typedef char string[MAX_CHARS+1]; // leave one space for '\0' main(){ int i; string array[4]; FILE *data; data = fopen("ard.txt","r"); for(i … | |
#include <ctype.h> #include <stdlib.h> #include <stdio.h> #include <string.h> char c; { char text[1000]; FILE *fp=fopen("filename", "r"); int i=0; while((c=fgetc(c))!=EOF) { do something } } | |
How should I concatenate the characters read from a file with fgetc to determine if it is a number, keyword or an identifier? The problem is that, for example, the number 555 must be one and 5 and 5 and 5 as words must be jose and not character by … | |
I have this code #include <stdio.h> #include "ctype.h" #include <string.h> #include <stdlib.h> #include <string.h> char p; int j; int i; FILE *f1; char c; int main() { f1 = fopen("ard.txt","r"); if(f1 == NULL) { printf("No se ha podido abrir el archivo"); } while((c=fgetc(f1))!=EOF) { if (isdigit(c)) { putchar(c); } else … | |
The End.