473,970 Members | 18,699 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2448
ac************* ****@yahoo.com (Ebay boy) wrote in
news:a7******** *************** ***@posting.goo gle.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.


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.hel sinki.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.goo gle.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.


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>

Unfortunatel y, 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.goo gle.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.

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>

Unfortunatel y, 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
2668
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 touched C for large implementations, I'm seeking advice on what to use for development. My ultimate goal is to spend as less time on it as possible. I'll be writing it in Windows 32-bit environment, probably Win2000 or Win98. Planning to use a...
1
1874
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 host is Windows PC. - Target must be embedded 486. - Compiler's must do FAR (i.e., protected mode, 48 bit, segment & offset) pointers and other addresses. - Compiler must generate OMF 386 OBJs or LIBs. - Our embedded OS is not from Intel or...
11
2635
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 by myself. I know there are already tons of vector and matrix implementations, but I wanted to have one taylored for my needs and without debugging someones else code. Also is's become somewhat personal meanwhile ;-).
13
2135
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
2562
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 operator overloading and virtual functions. I mean it should not hamper the C++ meaning. In frank and simple terms i need to implement a small C++ compiler in C++, and i want the intermediate representation to be C. Please help me in this....
4
3786
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 upgrade/compatible compiler. Do Borland sell a newer version of the 4.52 compiler that will still allow me to compile a DOS executable? Regards, Darren
4
2769
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 generates another code an write it into another (second) segment. And after some fragment of code is generated program from first segment runnes just generated code from second segment which may return in first
9
9709
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 something I can run on the labs at school. The computers there are all running locked down accounts so its impossible to install anything beyond what they have for a base installation. I was looking at mingw and such but they require enviornment...
15
2197
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 (a_obj) of a class type (A), then we need to define A as well, but if B has a pointer to A, then we only need to forward declare A. I was told this is because the compiler needs to see the implemenation of A when allocating memory for a_obj. ...
0
10157
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11803
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10897
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
10065
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8449
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7595
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3748
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.