473,811 Members | 3,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where to download gcc for DOS/Windows

Thanks in advance...

Robert...;)
Oct 13 '08 #1
12 8795
Dj********@gmai l.com writes:
Thanks in advance...

Robert...;)
http://www.delorie.com/djgpp/ runs on DOS.
http://www.mingw.org/ is for Windows.

Further questions about these compilers would be better directed to a
forum specific to them. See the respective web pages for pointers.
Oct 13 '08 #2

Dj********@gmai l.com;9218512 Wrote:
Thanks in advance...

Robert...;)


http://www.delorie.com/djgpp/
;)
--
hydra
------------------------------------------------------------------------
hydra's Profile: http://nettechguide.com/forums/member.php?u=416
View this thread: http://nettechguide.com/forums/showthread.php?t=2243904

Oct 14 '08 #3
On Mon, 13 Oct 2008 10:35:23 -0700, Nate Eldredge wrote:
Dj********@gmai l.com writes:
>Thanks in advance...

Robert...;)
[reordered, for thematic reasons]
>
Further questions about these compilers would be better directed to a
forum specific to them. See the respective web pages for pointers.
I respect your opinion, but mine differs. I've got a brand new xp install
and have both of the below installed. I would like to get the following
pseudocode to work on both, and I hope to run them simultaneously.

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

int main(void)

time_t num1, num2, num_3;
int input, diff;
print *, "enter a number to make timer start"
read *, input
num1 = gettime()
print *, "time is ticking"
print *, "replying to this will stop the clock"
read *, input
num2 = gettime()
num3 = num2 - num1

// cast the result to a type you know how to print
diff = cast num3
printf %d "seconds elapsed were " \n, diff;
>
http://www.delorie.com/djgpp/ runs on DOS.
http://www.mingw.org/ is for Windows.
There exists a windows prejudice in clc. Such parochialism has nothing to
do with the C programming Language.
--
Richard Milhous Nixon

Golf is a good walk spoiled.
~~ Mark Twain
Oct 14 '08 #4
Richard Nixon wrote:
.....
There exists a windows prejudice in clc. Such parochialism has nothing to
do with the C programming Language.
A disproportionat e number of the people who post messages here in the
mistaken belief that implementation-specific messages are on-topic
here seem to be Windows users. However, I don't think that indicates a
prejudice in favor of Windows. It just reflects the demographic fact
that a disproportionat e fraction of the people who are familiar with
programming on only one type of platform are Windows programmers. More
C programming is done on non-Windows platforms, but most of it is done
by people who are also familiar with the existence of Windows programs.
Oct 14 '08 #5
Richard Nixon <ri*****@exampl e.invalidwrites :
On Mon, 13 Oct 2008 10:35:23 -0700, Nate Eldredge wrote:
>Dj********@gmai l.com writes:
>>Thanks in advance...

Robert...;)

[reordered, for thematic reasons]
>>
Further questions about these compilers would be better directed to a
forum specific to them. See the respective web pages for pointers.

I respect your opinion, but mine differs.
I think you would have a hard time finding answers to questions *about
the compilers* on comp.lang.c. E.g. "How do I install it, what's the
command to compile". Likewise with questions about the operating
systems they run on, or how to call their system-specific functions.
Even if you think this is on-topic here, and even if there are people
here that know the answers to your questions, from a purely pragmatic
view you're going to find that the volume of flames far exceeds that of
useful information.
I've got a brand new xp install
and have both of the below installed. I would like to get the following
pseudocode to work on both, and I hope to run them simultaneously.

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

int main(void)

time_t num1, num2, num_3;
int input, diff;
print *, "enter a number to make timer start"
read *, input
num1 = gettime()
print *, "time is ticking"
print *, "replying to this will stop the clock"
read *, input
num2 = gettime()
num3 = num2 - num1

// cast the result to a type you know how to print
diff = cast num3
printf %d "seconds elapsed were " \n, diff;
Great. You can do this in standard C, so it's on-topic here; it's a
question about the language, and not the compilers or the operating
system. The same program should work for both. I'd recommend you look
at the time() and difftime() functions, which are standard and are
provided by both implementations . For I/O, consider functions like
printf(), fgets(), or scanf(). If you have further questions, please
post again.
>http://www.delorie.com/djgpp/ runs on DOS.
http://www.mingw.org/ is for Windows.

There exists a windows prejudice in clc. Such parochialism has nothing to
do with the C programming Language.
I agree. However, many questions related to Windows don't have anything
to do with the C programming language per se either, and so would be
best taken elsewhere. That is not the case with what you've posted, so
no problems here.
Oct 14 '08 #6
Djuro.T...@gmai l.com wrote:
Thanks in advance...

Robert...;)
Before there was Google Groups, there was Google...

http://www.google.com/search?q=gcc+dos+port
http://www.google.com/search?q=gcc+windows+port

--
Peter
Oct 15 '08 #7
On Tue, 14 Oct 2008 16:01:18 -0700 (PDT), ja*********@ver izon.net wrote:
Richard Nixon wrote:
....
>There exists a windows prejudice in clc. Such parochialism has nothing to
do with the C programming Language.

A disproportionat e number of the people who post messages here in the
mistaken belief that implementation-specific messages are on-topic
here seem to be Windows users. However, I don't think that indicates a
prejudice in favor of Windows. It just reflects the demographic fact
that a disproportionat e fraction of the people who are familiar with
programming on only one type of platform are Windows programmers. More
C programming is done on non-Windows platforms, but most of it is done
by people who are also familiar with the existence of Windows programs.
A disproportionat e number of the anti-windows zealots provide a
dispropprtionat ely large fraction of the serious assholes in this world.

They will usually equate *any* talk of how a person gets on with either
host or target OS to be like talk of women's lib among sandniggers:
anathema.

If K&R are the Holy Tablets, then one eighth of the time would be about
right. Maybe we should K â€* R , but not seven.
--
Richard Milhous Nixon

There's nothing drunker than a drunk Indian.
~~ Mark Twain
Oct 15 '08 #8
Richard Nixon <ri*****@exampl e.invalidwrites :
[...]
They will usually equate *any* talk of how a person gets on with either
host or target OS to be like talk of women's lib among sandni**ers:
anathema.
[...]

Please keep your racist crap out of this newsgroup (or any other).

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Oct 15 '08 #9
In article <ln************ @nuthaus.mib.or g>,
Keith Thompson <ks***@mib.orgw rote:
>Richard Nixon <ri*****@exampl e.invalidwrites :
[...]
>They will usually equate *any* talk of how a person gets on with either
host or target OS to be like talk of women's lib among sandniggers:
anathema.
[...]

Please keep your racist crap out of this newsgroup (or any other).
Quote fixed.

You are just sooooo cute.

Oct 15 '08 #10

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

Similar topics

2
2909
by: Federico | last post by:
Hi, Where can I download the mcmillan installer utility? http://www.mcmillan-inc.com/ doesn't exist anymore? Thanks
10
3234
by: scrimp | last post by:
Ive been using PAMIE 1.4 to try to automate web page processes. The one thing I cannot do with it is upload files and download files. With uploading files, the file input box does not allow PAMIE to enter in a path to a file. With downloading files, I can click on the link to download the file, but thats where I get stuck at. It brings up that download window and then it brings up the where to save window.
7
5699
by: atse | last post by:
Hi, I want the MP3 audio files to be able to download by users only. Even I set the pages validated by session, anyone still can type the download url to get my files without access of the pages where download URL provided. How can I do in order to prevent everyone from downloading without a user account? Thanks for any idea? Atse
3
12413
by: James Kirk | last post by:
The script below allows me to link to a file and as the user clicks to download, the 'File Download' windows appears as normal, and the user can download... The original page is then redirected to a new page.. This works, but it also opens a blank page.. How can this be chaged to stop the blank page from opening... ? <script type="text/javascript">
2
192269
by: xman | last post by:
I am new in Java.. where download JDK 1.4.2 compiler? is it right URL? http://java.sun.com/j2se/1.4.2/download.html
1
8920
by: Anise | last post by:
I have a question concerning embedding a windows media player into a web application in .net.. I download Windows Media Player 10 and its SDK On the .ascx page I placed a windows media player object from the toolbox and all the sites i read say when "Adding the Windows Media Player control from the Toolbox also adds references to two libraries created by Visual
1
1442
by: Machi | last post by:
I am trying to use the below source codes in ASP.NET application to download pdf file =========================================================================== Response.Clear() Response.AddHeader("content-disposition", @"attachment; filename=" + strFilenm + "") Response.ContentType = application/pdf Response.OutputStream.Write(btDownload,0,btDownload.Length-1); Response.End()...
0
1090
by: Jedi G | last post by:
I tried to download windows defender (since it just came out of beta) I have wondows defender beta version. To download the active x would not work so I had to try the alternative it would not work I got a error of 0x80072efd can anyone tell me what this is? Also if any moron says I have a non valid version of XP I have a older computer with factory XP it did not come with a service pack it now has servic pack 2,windows defender...
1
1009
by: =?Utf-8?B?QmVuIFc=?= | last post by:
I had gotten XP Pro x64 last year, when I downgraded from Vista due to some problems. I went to Vista Home Premium, and now I wanted to go back, cause with all my video and audio production, and my internet radio station, it messes up on Vista... Now I lost the code to install XP. When will Microsoft let us download Windows XP Pro x64
3
9743
by: axelman | last post by:
Hi guys, I'm using Classic ASP, IIS6, IE 7, FF 3 I've developed a vb script to downloand files hosted in my server (zip, doc, pdf, jpg, xls, et. etc.) it's very straight forward and there's a lot of information around the web, however when it comes to dowload files from a remote server (NOT hosted in my server) there is no information :-(, the idea is to have an Access DB that stores the full url...
0
9605
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
10651
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
10136
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
9208
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
7671
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
6893
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
5556
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
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.