473,396 Members | 1,871 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,396 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 2402
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.