473,626 Members | 3,930 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

unable to run c program its doing nothing when i compile program

1 New Member
i am unable to run c program in turbo c compiler when i run the program it does nothing no error message nothing at all please help
Mar 30 '13 #1
1 1237
weaknessforcats
9,208 Recognized Expert Moderator Expert
Without your code I can only guess what's the problem.

One thing you might check is whether you have a getchar() as your last instruction in main(). It may be your program ran but ran so fast you couldn't see it. The getchar() will wait until you press the enter key.

If this is not the case post again and next time provide some of your code.
Mar 30 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1884
by: ping | last post by:
Hello everyone! I had already installed VC6.0 in my computer, then i installed the Vs.net. I wrote some programs of vs.net with the UtraEdit and compiled them in command line. For example, i wrote a program of Hello World with C# language: using System; class MainApp { public static void Main()
16
9114
by: Puneet | last post by:
Hi ALL, I have a silly question... (may be) Can we write a single line C program whose output is the program itself? Is anybody know the answer please tell me. Puneet
5
1423
by: magmo | last post by:
Hi I have a datagrid that have checkboxes added to it and there is also a button that I want to use as a check what rows has been selected in the datagrid. But when I use this piece if code the program just close when I press the button that is supposed to show the selected rows in the datagrid <code>
1
1962
by: Michael D. Reed | last post by:
I am using the help class to display a simple help file. I generated the help file using Word and saving it as a single page Web page (.mht extension). I show the help file with the following statement. Help.ShowHelp(Parent:=Me, url:=Me.HELP_URL_PRE & Me.myWorker.HelpFile) How do I get it to go away when the program exits? Now when I quit the program that I called it form the help file is sill displayed. Is there a way to get a handle...
1
1198
by: TheRain | last post by:
I'm working on a .NET C++ project. The program loads and creates a tray icon, but is not visible on the screen. So what I'm looking for is a way to detect when a specific key combination is pressed to control when the program is brought to the screen. Anyone have a good solution for doing this??
1
1554
by: D'artagnan | last post by:
Dynamically allocated (malloc) memory is returned back to the OS when a program terminates normally. But what if the program crashes? Is its heap also freed? Thanks.
0
1015
by: basith7861 | last post by:
im unable to see images when im testing my asp.net applcaition on workgroup
4
1113
by: Janet | last post by:
Hi, I need to call a .bat program inside a vb .net program. I have yet to find anything on this but have just started searching. Can someone enlighten me? It was be very much appreciated. Thanks, Janet Heath
2
1118
by: kin3zu | last post by:
hello all i have a problem, i want to get into my VB program an icon from another program. If you cen tell me in VB 6 thank you !!!!!
2
1590
by: Zoltan Dul | last post by:
Hi there! I read here the same named question topic, and a lot of other pages with this name, but I can't find any solution for my problem. I have PHP 5.2.14. I have Apache 2.2.17 I have MySQL 5.1.52 (32bit) I use Win7 32bit. After PHP+Apache installation, I tested php with phpinfo(), it work. Everything looks fine. I write any php code except using MySQL everything is fine.
0
8266
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8199
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
8705
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
8638
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
8505
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
7196
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
6125
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
4092
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...
1
2626
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.