GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 03-Mar-2006, 03:12
jaininaveen jaininaveen is offline
New Member
 
Join Date: Jan 2006
Posts: 25
jaininaveen is an unknown quantity at this point

how to issue dos command from c program


i don't know how to issue a dos command from a c program. i tried system function but it is not working in my program so please tell me if any other way is there to issue the dos command..
  #2  
Old 03-Mar-2006, 08:23
QED's Avatar
QED QED is offline
Member
 
Join Date: Feb 2005
Location: Hudson Valley, NY
Posts: 231
QED is a jewel in the roughQED is a jewel in the roughQED is a jewel in the rough

Re: how to issue dos command from c program


Since I already responded to your other thread, I'll try to make this brief.

As pointed out by Dave in one of your previous threads, the problem is likely an incompatibility between your old Borland compiler and your (much newer) 32-bit WinXP system.

There are many free, up-to-date compilers out there, like GNU gcc. Even Miscrosoft's compiler is available for free!

Why not grab one and upgrade. Besides a newer, standards-compliant compiler might help you write more portable code by discouraging non-standard code.

Matthew
  #3  
Old 03-Mar-2006, 10:02
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,432
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all

Re: how to issue dos command from c program


Borland works fine using the system() command. That is not the problem.

I too remember a couple threads you started, jaininaveen, which should have fully answered your question. If not, state your problem. Exactly. As Guideline #2 states.
__________________

Definition: Politics
Latin, from
poly meaning many and
tics meaning blood sucking parasites
-- Tom Smothers
 
 

Recent GIDBlogPlanned Network Maintenance on 2013-05-29 by gidnetwork

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a file in [c] i hate c C Programming Language 15 21-Nov-2005 12:52
Type casts ? kai85 C++ Forum 12 23-Jun-2005 12:04
[TUTORIAL] Calling an external program in C (Linux) dsmith C Programming Language 4 22-Apr-2005 13:30
fltk-2.0 cvs Plumb FLTK Forum 20 13-Nov-2004 07:10
Need help with a C program (Long) McFury C Programming Language 3 29-Apr-2004 20:06

Network Sites: GIDNetwork · GIDApp · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 10:20.


vBulletin, Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.