By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,009 Members | 1,487 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,009 IT Pros & Developers. It's quick & easy.

declaring size_t types

P: 71
Hello everyone,

I am trying to declare some size_t types in my program. However, I get
'size_t' does not name a type error. Does anyone know what should I include in the beginning of my program to not to get this error? Thanks.
Jun 16 '07 #1
Share this Question
Share on Google+
2 Replies

Expert 5K+
P: 7,435
It's declared in either stdlib.h or stdio.h so:
#include <stdio.h>
#include <stdlib.h>
Jun 16 '07 #2

P: 71
Thank you. This was helpful.
Jun 18 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.