Yes . I was turn on warning in Code . After i edited *p=NULL to *p='\0' . It give me a warning "assignment makes integer from pointer without a cast" int line "
for(*p=strings +...
Type: Posts; User: ToNy_
Yes . I was turn on warning in Code . After i edited *p=NULL to *p='\0' . It give me a warning "assignment makes integer from pointer without a cast" int line "
for(*p=strings +...
When i used Code:blocks compiler code is well but with Pelles C compiler is display error : "Operands of '!=' have incompatible types 'char' and 'void*'" . Can you tell me why, i don't understand.
I understood . But compiler don't display message . It show rubbish character . I don't know why .
Yes. It is very good result . Thanks stahta .
\
Thank you . This is my code :
#include<stdio.h>#include<conio.h>
#include<ctype.h>
int main()
{
char strings[200];
char *p;
printf("Input strings : ");
But the program still run not true .
Sorry. I have done it . I was create winform project so i can't find .dll file in BIN folder .
I have a project C# and i want to build it to .dll for use in ASP.Net project . Can anyone tell me the way to do it.
It look like my attachments image .
Thank a lots.
Thank you.
Hi everybody ,
i'm learning about Pointer and type a tutorial Capitalization(strings) and
reverse(strings) . But compiler give me a error " 'for' loop initial declarations are only allowed in C99...
Ok . I'm will do it.
Thanks a lot CommonTater, vs Grumpy . I was correct it and it don't have problem . But i till don't know when we must initialize value of variable .
This is my code :
#include<stdio.h>...
I have a code . Looking for Min,Max in a Array . I can find Min in array
but Max display garbage. Please tell me why .
#include<stdio.h>
#include<conio.h>
int main()
{
int number[25];...
I think i have to add return 0 at the end .
While(n>0||n<100) . I don't know why . Exercise give me some hints like that.
Yes. I'm understood.
Tks a lots . I can be edit it . It is good. But how can I input n again if n >100 .
#include<stdio.h>#include<conio.h>
void main()
{
int A[100];
int B[100];
int i,n;
I have a code :
#include<stdio.h>#include<conio.h>
void main()
{
int A[100];
int B[100];
int i,n;
Thank a lots Mk27 vs CommomTater . Today i have learned swap two variables and Bubbles sorting algorithms .
I have known that. Is that assign swap two variables?
Like this :
B = A-B;
A = A-(-B)
B = A +B
No . That is a examples in book .
I think code only like this :
#include<stdio.h>
#include<conio.h>
void main()
{
int n;
int num[100];
Oh. But i think don't need that loop . Code still have not error.
I have a code
#include <stdio.h>
#include <conio.h>
void main
{
int n;
int num[100];
int L;
int desnum[100], k;
#include <stdio.h>
int main() {
char* string="ape";
int i=0;
for(;string[i]!='\0';i++) {
if (string[++i]=='\0') printf("here");
}
}