Search:

Type: Posts; User: shad0w

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,333

    Passing Values to Functions

    how do i pass a value to a function?
    lets say i wanna pass an array of string to a function

    char array[50];
    printf("Enter a string:")
    scanf("%s",array);

    how do i pass this array to a...
  2. Replies
    7
    Views
    1,312

    okok...i got it thanx alot u guys but there's...

    okok...i got it thanx alot u guys but there's still another problem regarding the fscanf or fgets call
    I've modified my program to

    main(){
    char name[100];
    int x,name;
    FILE *fptr;...
  3. Replies
    7
    Views
    1,312

    There's still a problem with the program. The...

    There's still a problem with the program.
    The error only occurs when I enter more than 1 name.
    An error screen will popup saying that this program has performed an illegal operation.
    Why is this...
  4. Replies
    7
    Views
    1,312

    Problem with .txt file

    I have this problem with binary files. I cant access the file properly. Here is a portion of my program:-

    main(){
    char name[1000];
    int x,num;
    FILE *fptr;
    fptr=fopen("name.txt","w");...
  5. Replies
    1
    Views
    3,500

    Evaluate postfix expression program

    how do i write a program to evalute postfix expression?
    what method should i use?
    please help..i'm dying right here trying to figure out the damn thing. My friend said I can use link list to do...
Results 1 to 5 of 5