Search:

Type: Posts; User: studentc

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    4,491

    thanks for the link. i had visited the first one...

    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?
  2. Replies
    4
    Views
    4,491

    oh cdecl is the default then? stdcal stands...

    oh cdecl is the default then?

    stdcal stands for standard call, correct?

    what does cdecl mean?
  3. Replies
    4
    Views
    4,491

    stdcall or cdecl

    Hello

    I was wondering if there is a way to find out which calling convention is my function using

    stdcall or cdecl?
  4. Replies
    2
    Views
    2,330

    thanks for the reply i generated a test...

    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?
  5. Replies
    2
    Views
    2,330

    what is the use of a .lib file

    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...
  6. Replies
    4
    Views
    1,596

    is namespace kind of a library or does it just...

    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,...
  7. Replies
    4
    Views
    1,596

    what's wrong with this piece of code

    Hi

    i am trying to write a simple c++ program

    why does this code throw up an error


    #include "stdafx.h"

    //using namespace std;
  8. so the shared library is read only?

    so the shared library is read only?
  9. thanks for the replies if two applications...

    thanks for the replies

    if two applications link to the same shared dll, is there not a possibility of the dll getting corrupted?
  10. difference between dynamic link library and static library

    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...
  11. Replies
    17
    Views
    9,771

    RAND_MAX works like a charm however i was...

    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)...
  12. Replies
    17
    Views
    9,771

    i tried the RAND_MAX but i got the following...

    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...
  13. Replies
    17
    Views
    9,771

    the standard srand() and rand() functions dont...

    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...
  14. Replies
    9
    Views
    1,528

    thanks for helping me out guys/gals

    thanks for helping me out guys/gals
  15. Thread: make utility

    by studentc
    Replies
    2
    Views
    1,373

    thanks dude

    thanks dude
  16. Thread: make utility

    by studentc
    Replies
    2
    Views
    1,373

    make utility

    guys/gals
    i was looking for information on how to write make utilities.
    can you point me to resources on the web
  17. Replies
    9
    Views
    1,528

    what does this program "test" do, can you...

    what does this program "test" do,
    can you guys/gals point me to resources which illustrates basic command line compiliing, execution and debugging
  18. Replies
    9
    Views
    1,528

    programming using linux

    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...
  19. Replies
    3
    Views
    2,041

    ok, so printf is given the bare minimum. thanks,...

    ok, so printf is given the bare minimum.
    thanks, that make sense
  20. Replies
    3
    Views
    2,041

    printf and scanf

    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?
  21. Replies
    17
    Views
    9,771

    oh thanks prelude. how did you know LNK2001 is a...

    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?
  22. Replies
    17
    Views
    9,771

    random generators

    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...
  23. Replies
    5
    Views
    2,833

    so in essence a macro is faster than a function...

    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
  24. Replies
    5
    Views
    2,833

    macro or 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...
  25. Replies
    20
    Views
    6,260

    thanks thantos

    thanks thantos
Results 1 to 25 of 70
Page 1 of 3 1 2 3