is OWL web onthology language? i copied the code from a website, does that have anything to do with it
Type: Posts; User: breaka
is OWL web onthology language? i copied the code from a website, does that have anything to do with it
#include <stdio.h>
#include <stdlib.h>
typedef struct record {
int getal;
struct record *volg;
} ELT;
int main(void)
got an exam in borland so really need to find out about it.
whats a makefile?
what do the following messages mean?
Linker Warning: No module definition file specified: using defaults
I get the first warning al the time, but after compiling the program works fine.
made independent files instead of creating a project, making it a project now, thanx;)
i just ran bps.c from borland 4.52, do i have to compile every file or... dont now much about it
hello i'm writing this code to teach myself programming with modules, but obviously theres something wrong since my compiler says
Compiling BPS.C:
Linking bps.exe:
Linker Warning: No module...
dont wanna be stubourn but still not seeing why this program isn't working like i think it should. Propably my newbee , not-seeing-the-whole-idea , way of thinking.
made some important changes...
what exactly is the minefield your talking about. The array of pointers? the way the memory is allocated?
How should i initalise the array tab if i want it to be an empty, soon to be filled,...
actually i'm trying to open a plain txt file and read whats in it with fscanf. Every lin in txt file comes into a structure and from the structure i want to write it into bin file.
...
why doi get processor fault when doing this:
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
typedef struct {
int nr;
char naam[21];
your right thanx ,
so fwrite is onely used with binary files then?
wy is this program writing Wjonas to the file while input is {1111,"jonas"}
#include<stdio.h>
typedef struct persoon {
int nr;
char naam[10];
}PERS;
int main (void){
you re right they do thanx.
#include<stdio.h>
int main (void){
typedef struct {
int nr;
char naam[20];
}RECORD;
RECORD r1={1,"jones"},*p;
whats the difference between:
&(r.x) and &r.x with r identifier of structure cause they print out different adresses
its pointer arithmetics that im looking for, notting there realy
http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1074728813&id=1073086407
thanx for helping me out anyway
i was looking for some generalisation because the faq dont seem to cover this. and sorry if my newb questions aren't interesting to you. Perhaps a link to tutorials on this matter?
this is very helpfull so far, thanx.
who can add/correct statements that can be usefull with structures
EMPLOYEE e1; //record
EMPLOYEE *p; //pointer to record
p=&e1; ...
typedef struct {
int nr;
char name[21];
char afd;
}
EMPLOYEE;
void print (EMPLOYEE);
void get(EMPLOYEE*);
of course, thanx for sorting that out
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int invoer (char *tab, FILE *fp);
int main(void)
{
FILE* fp;
so if i have pointers in a stack refering to individual characters then i do have to derefernce them since i would be using a %c specdifier, right?
something like *(tab[i])
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int invoer ();
int main(void)
{
FILE* fp;
trying to print the number of certain letter in a string but code gives general exception
what to do, what to do... ;)
#include<stdio.h>
#include<string.h>
int main(void)
{
char...