KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
if(stat("seek.pc.db", &files) ==0 ) sizes=files.st_size; sizes=sizes/sizeof(int); int s[sizes]; I am compiling this in Visual Studio 2008 and I am getting the following error: error C2057: expected constant expression error C2466: cannot allocate an array of constant size 0. I tried using vector s[sizes] but of no avail. What am I doing wrong? Thanks!
Tags (comma-separated)
Save Edits
Cancel