python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
why does this keep printing "out of range try again"? and how can i fix it
For some reason this will print out "out of range please try again". I tried changing the if statements but that doesn't work either.
#define MAX_fn_LEN32
#define MAX_ln_LEN32
#define MAX_st...
noble
Votes: 0
Answers: 1
Printing char multi dimensional arrays not working like I want to
#include <stdio.h>
int main()
{
FILE *fisier;
fisier = fopen("cnp.txt", "r");
int cnpuri = 0;
char cnp[10][13];
while(1){
fscanf(fisier, "...
Xand Pi
Votes: 0
Answers: 1
I have a problem in C about reversing a string (reversing rows and letters
#include <stdio.h>
#include <string.h>
#define W 5
#define N 10
void print_(const char[W][N],int);
void reverse(char[W][N],int);
int main ( ) {
char words[W][N] ;
char test[N];
char endwor...
El Dimos Karam
Votes: 0
Answers: 1
Pointers and all that [C]
well, I'm trying to create a simple program that simply print the name of a list of students, the thing is,I do all that's required but when I try to print all the elements come out as the same. It's ...
thayrelan dos santos marcal da
Votes: 0
Answers: 2