473,321 Members | 1,748 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,321 software developers and data experts.

Compiling a C program through another C program

As "spawnl" executes an exe through C code., similarly how can we
compile a C program through another C program (on Windows platform) ?

Sep 29 '07
62 3068
Tor Rustad wrote:
Joe Wright wrote:
>Chris Hills wrote:
>>In article <61********************************@4ax.com>, "¬a\\/b"
>>>What is "CLI"?

AFAIK an MS thing. They have managed to create a "new" C++ C++/CLI
that is used in MS compilers that is nothing to do with ISOC++ but
they are fast tracking the C++/CLI standards through ECMA and then on
to ISO bypassing the usual ISO procedures for language standard as
ECMA have a fast trade route with ISO

"CLI" is Command Line Interface when I read it.

This is more like it:

http://www.research.att.com/~bs/bs_faq.html#CppCLI
Yes, it is. Sorry.

--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
Oct 2 '07 #51
In article <Gd******************************@comcast.com>, Joe Wright
<jo********@comcast.netwrites
>Chris Hills wrote:
>In article <61********************************@4ax.com>, "¬a\\/b"
<al@f.gwrites
>>In data Sun, 30 Sep 2007 14:29:41 +0100, Chris Hills scrisse:
[comp.lang.c,alt.lang.asm]
One of the leading..... I assume you mean MS. They in my view have
subverted the standard process for C, C++. C#, C++/CLI Whether that is
for good or ill remains to be seen.

What is "CLI"?
AFAIK an MS thing. They have managed to create a "new" C++ C++/CLI
that is used in MS compilers that is nothing to do with ISOC++ but
they are fast tracking the C++/CLI standards through ECMA and then on
to ISO bypassing the usual ISO procedures for language standard as
ECMA have a fast trade route with ISO

"CLI" is Command Line Interface when I read it.
Microsoft's CLI (Common Language Infrastructure).
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Oct 2 '07 #52
Chris Hills wrote:
Joe Wright <jo********@comcast.netwrites
>Chris Hills wrote:
>>"¬a\\/b" <al@f.gwrites
.... snip ...
>>>>
What is "CLI"?

AFAIK an MS thing. They have managed to create a "new" C++
C++/CLI that is used in MS compilers that is nothing to do with
ISOC++ but they are fast tracking the C++/CLI standards through
ECMA and then onto ISO bypassing the usual ISO procedures for
language standard as ECMA have a fast trade route with ISO

"CLI" is Command Line Interface when I read it.

Microsoft's CLI (Common Language Infrastructure).
In other words one more Microsoft effort to confuse the world and
spread FUD etc. Best ignored.

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>

--
Posted via a free Usenet account from http://www.teranews.com

Oct 2 '07 #53
In data Mon, 1 Oct 2007 11:33:09 +0100, Chris Hills scrisse:
>In article <61********************************@4ax.com>, "¬a\\/b"
<al@f.gwrites
>>In data Sun, 30 Sep 2007 14:29:41 +0100, Chris Hills scrisse:
[comp.lang.c,alt.lang.asm]
>>>One of the leading..... I assume you mean MS. They in my view have
subverted the standard process for C, C++. C#, C++/CLI Whether that is
for good or ill remains to be seen.

What is "CLI"?

AFAIK an MS thing. They have managed to create a "new" C++ C++/CLI
that is used in MS compilers that is nothing to do with ISOC++ but they
are fast tracking the C++/CLI standards through ECMA and then on to ISO
bypassing the usual ISO procedures for language standard as ECMA have a
fast trade route with ISO
yes yes :)
because i'm reading a new software book i had confuse it with CIL
"Common Intermediate Language" that seems to be the language of an
emulator of a CPU that allow .NET to run in multi plataform
Oct 3 '07 #54
In data Wed, 03 Oct 2007 08:32:21 +0200, ¬a\/b scrisse:
>In data Mon, 1 Oct 2007 11:33:09 +0100, Chris Hills scrisse:
>>In article <61********************************@4ax.com>, "¬a\\/b"
<al@f.gwrites
>>>In data Sun, 30 Sep 2007 14:29:41 +0100, Chris Hills scrisse:
[comp.lang.c,alt.lang.asm]
One of the leading..... I assume you mean MS. They in my view have
subverted the standard process for C, C++. C#, C++/CLI Whether that is
for good or ill remains to be seen.

What is "CLI"?

AFAIK an MS thing. They have managed to create a "new" C++ C++/CLI
that is used in MS compilers that is nothing to do with ISOC++ but they
are fast tracking the C++/CLI standards through ECMA and then on to ISO
bypassing the usual ISO procedures for language standard as ECMA have a
fast trade route with ISO

yes yes :)
because i'm reading a new software book i had confuse it with CIL
"Common Intermediate Language" that seems to be the language of an
emulator of a CPU that allow .NET to run in multi plataform
possibly no one has seen that code?
Oct 3 '07 #55
In article <47***************@yahoo.com>, CBFalconer
<cb********@yahoo.comwrites
>Chris Hills wrote:
>Joe Wright <jo********@comcast.netwrites
>>Chris Hills wrote:
"¬a\\/b" <al@f.gwrites
... snip ...
>>>>>
What is "CLI"?

AFAIK an MS thing. They have managed to create a "new" C++
C++/CLI that is used in MS compilers that is nothing to do with
ISOC++ but they are fast tracking the C++/CLI standards through
ECMA and then onto ISO bypassing the usual ISO procedures for
language standard as ECMA have a fast trade route with ISO

"CLI" is Command Line Interface when I read it.

Microsoft's CLI (Common Language Infrastructure).

In other words one more Microsoft effort to confuse the world and
spread FUD etc. Best ignored.
Yes.... Unless you are working on an MS platform. However what with the
current flurry of activity with Microsoft and ECMA they are making MS
the standard :-(
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Oct 3 '07 #56
Chris Hills wrote:
Yes.... Unless you are working on an MS platform. However what with the
current flurry of activity with Microsoft and ECMA they are making MS
the standard :-(
(fx:atopical)

That "flurry" started with the standardisation effort for C++ and the CLI,
and unless I've lost my marbles has been going on for about seven years.

--
Chris "... (fx:small-voice) Ecmascript ..." Dollin

Hewlett-Packard Limited registered no:
registered office: Cain Road, Bracknell, Berks RG12 1HN 690597 England

Oct 3 '07 #57
In article <fe**********@murdoch.hpl.hp.com>, Chris Dollin
<ch**********@hp.comwrites
>Chris Hills wrote:
>Yes.... Unless you are working on an MS platform. However what with the
current flurry of activity with Microsoft and ECMA they are making MS
the standard :-(

(fx:atopical)

That "flurry" started with the standardisation effort for C++ and the CLI,
and unless I've lost my marbles has been going on for about seven years.
I would agree. Now I look back it has been a while. Time flies etc.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Oct 3 '07 #58
Chris Hills <ch***@phaedsys.orgwrote:
In article <fd**********@aioe.org>, santosh <sa*********@gmail.com>
writes
Sjouke Burry wrote:
Jack Klein wrote:
On Sat, 29 Sep 2007 12:48:17 +0100, Chris Hills <ch***@phaedsys.org>
wrote in comp.lang.c:

In article <11*********************@w3g2000hsg.googlegroups.c om>,
bo*******@gmail.com writes
On Sep 29, 7:49 pm, Chris Hills <ch...@phaedsys.orgwrote:

>spawnl is not a standard C function
>and so is OT
No it's not.
Yes it is
So, you want to flood the newsgroup with anything from windows(4
versions), 40 dialects of unix, 100 types of embedded systems, all Apple
types etc, etc... just as long as its done in c(c++) or a system call in
c(c++) ??????????????? If you win, I'l chuck out this newsgroup.
Go look at sci.astro or alt.astronomy to get a taste of "Anything goes".
I think you are complaining to the wrong poster. As far as I can tell, it's
Chris Hills that wants to allow non-Standard discussions.

I just want discussions about C.
No, you want screaming tentacled masses of discussion about Windows,
ululating squamous rugosities full of discussion about Unix, and no
useful discussion about C. You may not realise it, but if you don't
believe me, look at any other newsgroup where "anything goes".

Richard
Oct 8 '07 #59
In article <47*****************@news.xs4all.nl>, Richard Bos
<rl*@hoekstra-uitgeverij.nlwrites
>Chris Hills <ch***@phaedsys.orgwrote:
>In article <fd**********@aioe.org>, santosh <sa*********@gmail.com>
writes
>Sjouke Burry wrote:

Jack Klein wrote:
On Sat, 29 Sep 2007 12:48:17 +0100, Chris Hills <ch***@phaedsys.org>
wrote in comp.lang.c:

In article <11*********************@w3g2000hsg.googlegroups.c om>,
bo*******@gmail.com writes
On Sep 29, 7:49 pm, Chris Hills <ch...@phaedsys.orgwrote:
>
>>spawnl is not a standard C function
>>and so is OT
>No it's not.
Yes it is
So, you want to flood the newsgroup with anything from windows(4
versions), 40 dialects of unix, 100 types of embedded systems, all Apple
types etc, etc... just as long as its done in c(c++) or a system call in
c(c++) ??????????????? If you win, I'l chuck out this newsgroup.
Go look at sci.astro or alt.astronomy to get a taste of "Anything goes".

I think you are complaining to the wrong poster. As far as I can tell, it's
Chris Hills that wants to allow non-Standard discussions.

I just want discussions about C.

No, you want screaming tentacled masses of discussion about Windows,
ululating squamous rugosities full of discussion about Unix,
Never asked for that.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Oct 8 '07 #60
Chris Hills <ch***@phaedsys.orgwrote:
In article <47*****************@news.xs4all.nl>, Richard Bos
<rl*@hoekstra-uitgeverij.nlwrites
Chris Hills <ch***@phaedsys.orgwrote:
In article <fd**********@aioe.org>, santosh <sa*********@gmail.com>
writes
Sjouke Burry wrote:

Jack Klein wrote:
On Sat, 29 Sep 2007 12:48:17 +0100, Chris Hills <ch***@phaedsys.org>
wrote in comp.lang.c:

In article <11*********************@w3g2000hsg.googlegroups.c om>,
bo*******@gmail.com writes
On Sep 29, 7:49 pm, Chris Hills <ch...@phaedsys.orgwrote:

>spawnl is not a standard C function
>and so is OT
No it's not.
Yes it is
So, you want to flood the newsgroup with anything from windows(4
versions), 40 dialects of unix, 100 types of embedded systems, all Apple
types etc, etc... just as long as its done in c(c++) or a system call in
c(c++) ??????????????? If you win, I'l chuck out this newsgroup.
Go look at sci.astro or alt.astronomy to get a taste of "Anything goes".

I think you are complaining to the wrong poster. As far as I can tell, it's
Chris Hills that wants to allow non-Standard discussions.

I just want discussions about C.
No, you want screaming tentacled masses of discussion about Windows,
ululating squamous rugosities full of discussion about Unix,

Never asked for that.
Not explicitly, no. Just as political anarchists never actually _ask_ to
be herded into a labour camp by the guy with the biggest army, but
that's still what happens in countries which fall into anarchy.

Richard
Oct 9 '07 #61
In article <47*****************@news.xs4all.nl>, Richard Bos
<rl*@hoekstra-uitgeverij.nlwrites
>Chris Hills <ch***@phaedsys.orgwrote:
>In article <47*****************@news.xs4all.nl>, Richard Bos
<rl*@hoekstra-uitgeverij.nlwrites
>Chris Hills <ch***@phaedsys.orgwrote:

In article <fd**********@aioe.org>, santosh <sa*********@gmail.com>
writes
Sjouke Burry wrote:

Jack Klein wrote:
On Sat, 29 Sep 2007 12:48:17 +0100, Chris Hills <ch***@phaedsys.org>
wrote in comp.lang.c:

In article <11*********************@w3g2000hsg.googlegroups.c om>,
bo*******@gmail.com writes
On Sep 29, 7:49 pm, Chris Hills <ch...@phaedsys.orgwrote:
>
>>spawnl is not a standard C function
>>and so is OT
>No it's not.
Yes it is
So, you want to flood the newsgroup with anything from windows(4
versions), 40 dialects of unix, 100 types of embedded systems,
all Apple
types etc, etc... just as long as its done in c(c++) or a
call in
c(c++) ??????????????? If you win, I'l chuck out this newsgroup.
Go look at sci.astro or alt.astronomy to get a taste of
"Anything goes".

I think you are complaining to the wrong poster. As far as I can
tell, it's
Chris Hills that wants to allow non-Standard discussions.

I just want discussions about C.

No, you want screaming tentacled masses of discussion about Windows,
ululating squamous rugosities full of discussion about Unix,

Never asked for that.

Not explicitly, no. Just as political anarchists never actually _ask_ to
be herded into a labour camp by the guy with the biggest army, but
that's still what happens in countries which fall into anarchy.

Richard
I just wanted a slight relaxing to the shout of OT. What you have said
is something completely different.

If you look in another thread on "Fully-portable time delay of specified
length" I was the first to redirect the OP to a different NG. (He really
needs to write a delay routine using a HW timer)

However others are suggesting ways it can be done in different systems
as there is no sensible (or fully portable) way to do it in standard C.
the discussion is interesting and useful but every time the method
described starts to go deep into a non- standard method it is being
moved to the more appropriate NG.

The thread is short and has a very high signal to noise because there
are not pedants screaming OT at every post. Everyone is learning, happy
and polite.

I suggest that for one month. Say 10 October to 10 November the pedants
who usually say OT or "not standard C" every other line refrain from
doing that and let the moderates (or anarchists as you call them) do the
redirecting and OT posts.

If at the end of the month we are all drowning in noise and everyone is
unhappy they we will go back to the system the small group of pedants
have been trying to enforce.
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Oct 9 '07 #62
Chris Hills <ch***@phaedsys.orgwrites:
[...]
I suggest that for one month. Say 10 October to 10 November the
pedants who usually say OT or "not standard C" every other line
refrain from doing that and let the moderates (or anarchists as you
call them) do the redirecting and OT posts.
I suggest that for one month, those who habitually complain about
those of us who point out that things are off-topic stop complaining.
The signal-to-noise ratio would increase dramatically.

I also suggest that the trolls stop trolling and the spammers stop
spamming.

Of course, I don't actually expect this to happen.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Oct 9 '07 #63

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

Similar topics

1
by: Jung Joon Park | last post by:
Hi everyone. I am JJ Park. I got some questions in C++. First of all, my English is not perfect, because I am foreigner. I have got C++ code, which have no syntex error in Visual C++ ver6.0...
4
by: Eranga | last post by:
I want to add a program to windows which will run at a specified time period which may be changed by the administrator.What I plan to do is start the program at windows startup and then within that...
0
by: federico | last post by:
Hello, how can I make a program respond to another program's input request? For example, this code: Process.Start("unrar.exe", "e D:\temp\key.rar D:temp2") SendKeys.SendWait("test~") will...
4
by: Opettaja | last post by:
I am trying to make a program that times how long it takes to do something in another program. Is there away to make my timer program listen for a dialog box to open on the other program and then...
18
by: utab | last post by:
Dear all, I am making a system call to the well known Gnuplot with system("gnuplot"); gnuplot opens if I only supply this command but I would like to pipe that command line in my C++...
1
by: Netaro | last post by:
Well... So, i have a program. A normal program, which does something, and so.. and i have another program, which wants to run the first program.... So, there are 2 questions about that problem...
0
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
Hi, We want to write a program (Prog_A) to check the activities of another program (Prog_B). If there is no activity on the Prog_B for a period of time, the Prog_A need send a message to close...
2
by: jrbush82 | last post by:
I am trying to read the standard out of another program into an array or string in my C++ program. I need to read each line individually because based on the output depends on what the program will...
1
by: WackoZacho | last post by:
I've tried searching on Google and for other questions similar to mine, but all I get are results on how to use the LostFocus event or Deactivate, etc., but I'm under the impression each of these...
4
by: maximus tee | last post by:
hi all, i wrote a simple GUI with 2 buttons. Button1 is to launch another program. Button2 is to run test. When I click Button1, it will launch another program. After launching the program, my...
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...
0
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...
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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.