was trying to do that : https://www.youtube.com/watch?v=17ZB8RaKPmM
And never include a .c file! Create an associated header, with function declarations and whatever else you need, and include...
Type: Posts; User: fouzimedfouni
was trying to do that : https://www.youtube.com/watch?v=17ZB8RaKPmM
And never include a .c file! Create an associated header, with function declarations and whatever else you need, and include...
I was trying to practice some example for STATIC KEYWORD, Any help , thank you in advance
first file:
#include<stdio.h>
#include "Fouzi.c"
int Max;
maxvalue(){
Max = 1;
}
thank you so much ......I thought I fixed them the last time I modified the snippet!!
thank you again
14040
tried it and it didn't work for me ....same result
How ? and thank you
/*Enthusiastic
Pessimism
desensitize
uniqueness
*/
#include <stdio.h>
#include <string.h>
struct Books{
got it : just added the asterisk in the function
printf(" a %i\n " ,*a);
}
that gives me the address of : &aaa
and I want the value of : *aa
#include<stdio.h>
print_int_ptr(int *a){
printf(" a %i\n " ,a);
printf(" &a %i\n " ,&a);
}
my_scanf(int b){
printf("enter you value here :");
is there any diagram to understand that better , I changed the assignment of act1 and ptr and I got it but i need more demonstration :), any diagram you recommend me to check out ?
and thank you...
how can I call and print the Pointer : ptr->address
#include<stdio.h>
struct account
{
int address;
int value;
};
typedef struct account act;
thank you so much :)
tried that and worked
#include<stdio.h>
void add(int *c){
*c = *c+1;
};
main()
{
int num1;
num1 = 10;
an example please
dont understand , need an example or the code debugged
I tried to use pointer with a function but I guess I am missing out on something
#include<stdio.h>
int add(int *a,int *b){
int *c,*d;
*c = *c+1;
*d = *d-1;
};
sorry for the confusion I caused by not indenting my Code :)
I just want to call the function : outputboo(), but I dont know how
/*Enthusiastic
Pessimism
desensitize
uniqueness
*/
#include <stdio.h>
camel-man - whiteflags ..... thank you guys, I got it now :) working on the code source more :)
still does not answer my question
which means ?
I moved the prototypes after the structure definition and still getting the error (13|warning: parameter has incomplete type)
and I changed main to :
int main( ){
return 0;
}
and still...
hello guys, how are you,
I got a small problem with my code, and I would love if somebody can walk me through it step by step and help me debug the code
here is my code
#include <stdio.h>...
It looks like its the same for me :) , IS C++ OOP ?