Questions tagged [crt]

For issues relating to utilizing the C runtime library.

The C runtime library is a special program library used by a compiler, to implement functions built into the C programming language, during the execution (runtime) of a computer program.

Not to be confused with CRT terminals.

364 questions
-1
votes
1 answer

Visual C Run-time libraries missing

I've been losing sleep over this for a few days now: I'm using SFML to create an application and everything was well until I created a new project a few days ago. After that whenever I tried to compile a solution that uses SFML libraries I would get…
Lolechi
  • 151
  • 1
  • 3
  • 20
-1
votes
1 answer

Step debugging works fine but debugging without stepping causes strange error when using _tprintf

Ok, i am going to keep this simple and not include all the code (yet) if I don't need to. My inner senses tell me that there is probably a simple answer to this and I have overlooked it as usual. More inexperienced might say the compiler is the…
osirisgothra
  • 2,163
  • 24
  • 19
-2
votes
2 answers

Two questions about C run time library

I want to check the detail of the function sem_post() in semaphore header file,which is below extern int sem_post (sem_t *__sem) __THROWNL __nonnull ((1)); And then I find the sem_post.c file in source code of glibc, but in this file, the…
Ether
  • 9
  • 1
-2
votes
3 answers

_CrtDumpMemoryLeaks() gives a leak for a simple new int()

This code: int *pi = new int(); _CrtDumpMemoryLeaks(); gives me a leak of 4 bytes. Why? My pointer pi is pointing to the allocated memory. I would understand the leak if I had wrote pi = nullptr, but I did not. Any ideas?
Kami
  • 1,079
  • 2
  • 13
  • 28
1 2 3
24
25