struct

  1. kARTechnology

    C Program use LARGE STRUCTURE & ARRAY

    Hi completed C subject in my Engineering:-D... Today I developed a code, I'm getting array is too large and structure is too large.but i need large structures, or is there any alternative way? the aim is to STORE log records(roll,time) from a fingerprint-based time attendance soft which...
  2. T

    Sorting Data

    Define a structure called c ricket the will describe the following information - i) Player's name, ii) Country name, iii) Batting average. Write a program that will store information of 25 players using this structure, also arrange and display names of these players in...
  3. P

    problem during creation of object file

    hi, I have a problem in understanding the creation of object file just look at the code below. in the code below i have defined struct node in another C file. I have no any declaration of struct node in this code . But when i am compiling this code to generate the object code it is...
  4. veddotcom

    Need Help With This CODE of Data Structure(Binary TREE).

    OUTPUT Of the Above Programm is In-Order Traversal: D B H E A F C G I want to know How the Function BUILDTREE is Working, The Problem is When we Calling the Function buildtree recursively by the expression LINE 1,HOw Compliter would be Able to Read The LINE 2 and LINE 3, After Recursive...
  5. iinfi

    RUN make command means what

    i have a USB to ethernet device which i want to use in linux. i downloaded the driver files from the net for the same but am unable to understand the instructions. the instructions in the readme go as follows. contents of the file named "Makefile"...
  6. veddotcom

    Problem with Pointer in Structure

    #include <stdio.h> #include <conio.h> #include <alloc.h> /* structure containing a data part and link part */ struct node { int data ; struct node * link ; } ; /* This is The Part of Programm*/ The Problem is when i m running This Program (of Linked List) Runs Properly But...
  7. F

    problem in C ( structures )

    #include<conio.h> #include<stdio.h> struct name { char n[20]; }; function (int *n) struct name *n { printf("%c",*n->n); } void main () { struct name n scanf("%c",&name.n); function(&n); } this is a simple program in which i have to take user name then print it using pointer , function and...
  8. R

    socket: can't find where is sockaddr

    *pastebin.com/m42b627b9 here when I compile it gcc gives the error "cannot convert to a pointer type" for line 24. I tried to find where struct sockaddr is defined but can't find. man pages say no thing about it. Please help.
  9. hrushij

    proble with turbo c complier..!

    This code works fine on borlaand c++ 5.0 but it scans only first object in turbo c++ IDE what is the problem with this..??? #include <stdio.h> #include <conio.h> struct student { char name[10]; int no; float marks; }; void main() { struct student s[5]; int i...
  10. arunks

    Hey i m getting only one error...Plz help to rectify that

    I m writing a program for various operations on linked list in C... Program is given below.. and i m getting one error and two warnings.. Plz see by executing it and help me to remove it and run the program successfully... #include<stdio.h> #include<conio.h> struct node { int info; struct node...
  11. arunks

    plz remove error in my c program

    i wrote a program which is given below #include<stdio.h> #include<conio.h> struct employee { char name[5]; char deptt[5]; int idcode; float s; }; void main() { struct employee emp[2]; int i,j; clrscr(); for(i=0;i<2;i++) { gets(emp[i].name); gets(emp[i].deptt); scanf("%d",&emp[i].idcode)...
  12. eagle_y2j

    Help me over C project !

    Can any of you check my BCA xcam project to find any bug ? I just completed this stuff using help from internet (answers) not sure are they correct or not ! Help will really be appreciated :-) Question 1: Write a C program to create a calculator. The program will accept an arithmetic...
  13. M

    LInk List Problem , Immediate soln needed

    Hi guys , plz see this code for me The problem lies in the Inserting of node portion. #include<iostream.h> #include<conio.h> #include<stdlib.h> #include<stdio.h> struct linklist { int data; linklist *next; }; typedef struct linklist node; void create(node...
  14. K

    HowTo convert C struct with array of another struct in java

    How to convert C code(given below) in java C code: struct structA { int varA[4]; float varB[2]; } struct structB { int len; structA varC[50]; } void main { structB varD[10]; ..... ..... somefunction(varD) { ..... } } Here i have a structure A with variables of...
Top Bottom