View Single Post
Old 04-29-2013, 02:56 PM   #499
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by mallums View Post
#include <archive.h>
#include <stdio.h>
int main() {
printf('Hello World');
return -1;
}

Should that be:

#include <archive.h>

or

#include "archive.h"
Ans: Depends on where you put the file.

Find file on your system, make file location and include directive agree on where it is at.

Both: gcc -v and gcc -E can be a big help in troubleshooting "things not found or not working" problems.

The gcc on-line manuals are indexed in our prefix index system, found in a sticky at the top of this forum.
knc1 is offline   Reply With Quote