thanx for that
another question , is the following sytax correct ?
typedef int myfunc(void*) myDefinedFunc();
Type: Posts; User: kpmkhaja
thanx for that
another question , is the following sytax correct ?
typedef int myfunc(void*) myDefinedFunc();
The following function is used to get some data from an external source (whatever is this source) and store them into the provided buffer.
int GetData(unsigned char* aBuffer);
Why is...
sorry sorted it out
compiled it with g++ under cygwin with 1 argument of course
//: C02:Seeking.cpp
// Seeking in iostreams
#include "require.h"
#include <iostream>
#include <fstream>
using namespace std;
int main(int argc, char* argv[])
{
requireArgs(argc, 1);
oh sorry a CPP program
is there any solution for this
i know something to do with linker
but not able to sort it out
I get this big error while trying to compile a simple C program
under Cygwin
$ gcc FileClass2.cpp
In file included from FileClass2.cpp:3:
require.h:58:26: warning: no newline at end of...
> the compiler and port of OS was given together
What exactly are you trying to achieve here?
I see you asking about learning C, and about embedded operating systems and compilers. These to me are...
thank you
> but isnt there any way by which i could set the configuration or options to extend this length ?
Yes, you get a compiler designed for the OS you're actually using.
but i got the...
hallo
yes i am using a dos compiler , and ther fore the problem of 8.3 exists.
but isnt there any way by which i could set the configuration or options to extend this length ?
regards
khaja
yeah, unless its WinXP or WinNT , it still follows DOS's "8.3" rule, which basically means that the filename cannot be more than 8 characters long and the extension name cannot be more than 3...
hallo
i was not able to put a file name with length say for eg. more than 8 charaters eg. #include "test12345678901093939939.h" into the include directive
is there any restriction on this lenght?...
thank you Salem and Dave_Sinkula
i was able to compile the test programs with a port
reg
khaja
there is a port for ver5.2 borland compiler but not for ver5.5.1 or ver5.6 which is available as a free download from borland
but the problem is the test program i am trying to compile in the book microc/os-ii by jean labrosse says i have to use a borland 4.5 compiler .
but when i managed to compile with 5.5 , there is...
hi
Can the Borland 5.5 produce code in REAL MODE, large model or does it only compile to protected mode code?
thanx
khaja
Error: Unresolved external '_PC_DispClrScr' referenced from C:\SOFTWARE\UCOS-II\
EX1_X86L\BC45\SOURCE\TEST.OBJ
but i have the file named pc.c where the implementation of the function...
hallo
i am new to c programming
please explain the way the files link with each other especially when there are many .c files and one main.c file
i see that only the header files are included in...
hallo
thank you for ur reply
do u know where i can get 4.5x version of c compiler ?
regards
khaja
this is the structure of the c files
all the lib files and header files are in place
can u find any mistake
thanx
see pic attached
hallo
does any help me to download a borland c compiler version 4.5x or
when i compile with borland 5.5 i have the following errors
Error: Unresolved external '_PC_DispClrScr' referenced from...