thanks for the link. i had visited the first one ,and it demystified decle and stdcal a bit.
i was wondering why the name cdecl?
Type: Posts; User: studentc
thanks for the link. i had visited the first one ,and it demystified decle and stdcal a bit.
i was wondering why the name cdecl?
oh cdecl is the default then?
stdcal stands for standard call, correct?
what does cdecl mean?
Hello
I was wondering if there is a way to find out which calling convention is my function using
stdcall or cdecl?
thanks for the reply
i generated a test application to test my dll and it seemed to work without the use of the .lib file
isn't that the equivalent of an SDK for the DLL?
Hello
I was wondering if you guys told me what the is the function of a .lib file.
I created this dll file and the two main outputs besides the other files(.exp,.ilk,.obj,.pch,.pdb,idb which i...
is namespace kind of a library or does it just describe/define some scope? i tried to do a bit of reading and i think it describes scope. does this mean that once using namespace std is mentioned,...
Hi
i am trying to write a simple c++ program
why does this code throw up an error
#include "stdafx.h"
//using namespace std;
so the shared library is read only?
thanks for the replies
if two applications link to the same shared dll, is there not a possibility of the dll getting corrupted?
Hello
I got a real basic question. Whacan you guys/gals tell me what is the difference between dynamic link library and static library?
from my understanding the dynamic link library gets...
RAND_MAX works like a charm
however i was trying to write the function using drand48 and erans48, can you tell me what am i doing wrong
#include <stdio.h>
#include <time.h>
int main(void)...
i tried the RAND_MAX but i got the following
test.c:13: `RAND_MAX' undeclared (first use in this function)
i wrote the following function
#include <stdio.h>
#include <time.h>
int...
the standard srand() and rand() functions dont produce floating point random nubers, at least that is what i understand
will they be supported by gcc,
i thought stdlib was a standard library...
thanks for helping me out guys/gals
thanks dude
guys/gals
i was looking for information on how to write make utilities.
can you point me to resources on the web
what does this program "test" do,
can you guys/gals point me to resources which illustrates basic command line compiliing, execution and debugging
I just compiled my first program using the CLI in linux.
i compiled it using gcc
gcc test.c
it gave me a.out
now i thought since it was an executable, so all i needed to write was
a at the...
ok, so printf is given the bare minimum.
thanks, that make sense
basic question.
why in the printf statement we have the variable and in the scanf we have the address of the variable.
is there a reason behind this?
oh thanks prelude.
how did you know LNK2001 is a VC++ link error only.
would i need to declare the prototypes of the functions in the begining?
I wanted to generate a floating point random number and i read about the functions drand48, erand48, are these functions paired and are analogous to the functions srand & rand.
i wrote the...
so in essence
a macro is faster than a function
but it does not have the checks offered by a macro
also inline functions provide the benefits of the macro with the safety of the function
is ait better to use a macro than a function since function adds up to code size while a macros does not
some one suggested using macros like
#define READ_REG32(address) *(unsigned...
thanks thantos