473,320 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

need help with c compiler

I have recently bought a compiler and I have this sample code that
includes the following:
#include <stdlib.h>
#include <string.h>
#include <time.h>

Unfortunately, my compiler doesn't incude these. So where can I get
these files from? I'm a computer idiot so please be clear. Any help is
appreciated.
Nov 14 '05 #1
7 2399
ac*****************@yahoo.com (Ebay boy) wrote in
news:a7**************************@posting.google.c om:
I have recently bought a compiler and I have this sample code that
includes the following:

#include <stdlib.h>
#include <string.h>
#include <time.h>

Unfortunately, my compiler doesn't incude these. So where can I get
these files from? I'm a computer idiot so please be clear. Any help is
appreciated.


I think that's pretty much impossible since it's not a compiler without
the header files (IMHO). You ought to call the vendor and ask how to
configure the compiler to find header files. You could do a search for all
*.h files starting from the root directory of your compiler install dir
too.

Besides, these file may be *very* compiler specific so using one from some
other compiler will not help.

--
- Mark ->
--
Nov 14 '05 #2
Ebay boy <ac*****************@yahoo.com> scribbled the following:
I have recently bought a compiler and I have this sample code that
includes the following: #include <stdlib.h>
#include <string.h>
#include <time.h> Unfortunately, my compiler doesn't incude these. So where can I get
these files from? I'm a computer idiot so please be clear. Any help is
appreciated.


Your compiler is either broken or aimed at a free-standing
implementation. The ISO C standard requires all compilers for hosted
(i.e. normal computer) implementations to provide all the above
headers.
Where can you get them? Nowhere, I'm afraid. All compilers implement
those headers in different ways, so headers from another compiler would
be useless for you. You could try the compiler vendor, but if they don't
have them, their compiler is broken, and shouldn't be called a C
compiler.
It might be that your compiler is really for a free-standing
implementation - embedded computers in phones or PDAs or toasters or
whatever - but in that case the vendor should have told you about it.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"How can we possibly use sex to get what we want? Sex IS what we want."
- Dr. Frasier Crane
Nov 14 '05 #3
"Ebay boy" <ac*****************@yahoo.com> wrote in message
news:a7**************************@posting.google.c om...
I have recently bought a compiler and I have this sample code that
includes the following:
#include <stdlib.h>
#include <string.h>
#include <time.h>

Unfortunately, my compiler doesn't incude these. So where can I get
these files from? I'm a computer idiot so please be clear. Any help is
appreciated.


What compiler did you buy then?
Nov 14 '05 #4
On 8 Jan 2004 12:26:11 -0800, ac*****************@yahoo.com (Ebay boy)
wrote:
I have recently bought a compiler and I have this sample code that
includes the following:
#include <stdlib.h>
#include <string.h>
#include <time.h>

Unfortunately, my compiler doesn't incude these. So where can I get
these files from? I'm a computer idiot so please be clear. Any help is
appreciated.


You may have bought only part of a compiler, you may have installed it
incorrectly, you may not know how to invoke it properly - the
possibilities are many, and probably off-topic here. Without knowing
what compiler you bought, we can't even suggest where to ask, but you
need a group which deals with your specific implementation.

--
Al Balmer
Balmer Consulting
re************************@att.net
Nov 14 '05 #5

"Ebay boy" <ac*****************@yahoo.com> wrote in message
news:a7**************************@posting.google.c om...
I have recently bought a compiler and I have this sample code that
includes the following:
#include <stdlib.h>
#include <string.h>
#include <time.h>

Unfortunately, my compiler doesn't incude these. So where can I get
these files from? I'm a computer idiot so please be clear. Any help is
appreciated.

The installation instructions for your compiler really ought to tell you, if
they aren't included with the compiler. Certain compilers expect the
relevant components of the operating system to have been installed, but
those may be optional. For example, Intel compilers require that the most
commonly used compiler for the target OS should have been installed.
Nov 14 '05 #6
>Subject: need help with c compiler
From: ac*****************@yahoo.com (Ebay boy)
Date: 1/8/04 1:26 PM US Mountain Standard Time
Message-id: <a7**************************@posting.google.com >

I have recently bought a compiler and I have this sample code that
includes the following:
#include <stdlib.h>
#include <string.h>
#include <time.h>

Unfortunately, my compiler doesn't incude these. So where can I get
these files from? I'm a computer idiot so please be clear. Any help is
appreciated.


Yes, I'd say you are one, evryone who buys
a compiler is an idiot.
Return the stuff, get your money back, go
to www.borland.com and download their
free compiler. Then get the compiler "Dev-C++" install it and then you have two
very good and above all complete and free
compilers.
I don't know the address for Dev-C++,
ask Altavista for it. Avoid Google, they send
spy software.
You can get free compilers for virtually every existing language. Just ask
altavista:
"Free ADA compiler", "free Fortran compiler".
If you work on Linux-Unix, two compilers
are included in the system, waiting for you to use them.

Nov 14 '05 #7
A123b456c wrote:

I have recently bought a compiler and I have this sample code that
includes the following:
#include <stdlib.h>
#include <string.h>
#include <time.h>

Unfortunately, my compiler doesn't incude these. So where can I get
these files from? I'm a computer idiot so please be clear. Any help is
appreciated.

Yes, I'd say you are one, evryone who buys
a compiler is an idiot.
Return the stuff, get your money back, go
to www.borland.com and download their
free compiler. Then get the compiler "Dev-C++" install it and then you have two
very good and above all complete and free
compilers.
I don't know the address for Dev-C++,


Dev-C++ is not a compiler. It's a front-end for gcc.
ask Altavista for it. Avoid Google, they send
spy software.


Bullshit. Even if this were true it'd be your own fault for using a
browser that allows installation of software without your permission.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Nov 14 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Beach Potato | last post by:
Dear Y'all: I'm about to start porting a big old project written in anscient version of Delphi to something more stable, robust, supportable and maybe even portable. Since I haven't seriously...
1
by: miles.wrigley | last post by:
We need a C/C++ compiler: - Compiler will be used to create functions and OBJs/LIBs (C++ code with C language wrapper) that will be linked and called from an embedded application. - Preferred...
11
by: Micha | last post by:
Hello there, I think I've run into some classic c++ pitfall and maybe some of you guys can help me out. For my project I will need to use matrices and vectors and so I decided to implement them...
13
by: vincent | last post by:
I made the suggestion "Need built in obfuscation support in C# compiler" to Microsoft. Anyone here agree with me? If yes, please cast your vote on this suggestion to raise its priority.
17
by: Student | last post by:
Hi All, I have an assignment for my Programming language project to create a compiler that takes a C++ file as input and translate it into the C file. Here I have to take care of inheritance and...
4
by: darrensjunkaccount | last post by:
Hi, I have just inherited some embedded software that was compiled with Borland 4.52. I need to either purchase that compiler, which Borland no longer appear to sell or alternatively source an...
4
by: Quas.co.ua | last post by:
Hello all. I need your help. I need C compler to make demo of some technologie. This C compiler I need to write program which after run will be located in one segment of memory and it...
9
by: kotori | last post by:
Hi, i'm looking for a C++ compiler that I can run straight off of a USB Thumbdrive for compiling my applications on-the-go. I currently use both dev-cpp and MSVS8 at home, but I desperately need...
15
by: Jess | last post by:
Hello, Sometimes declarations are all what we need when we define/declare classes (or functions?), but sometimes we need definitions. I learned that if we define a class (B) that has an object...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.