termination is used in its general meaning, but it is bounded by the programming scope.
Questions tagged [termination]
351 questions
-2
votes
1 answer
TKinter problems closing application
I have a tiny application receiving numbers via serial port and showin it on the screen. Just a single label. My problem is, how to close the application (there is no close button or top line in the window (overrideredirect is set)
I'd like to…

Waldemar
- 1
- 2
-2
votes
5 answers
scanf prematurely terminating while loop (I think)
I am making a simple program to calculate the required exam mark based on your current mark, the % total worth of the exam on the course, and your desired mark. I was having no problems with it until I wanted a simple while loop to redo the proses…

theGreatOne
- 17
- 8
-2
votes
1 answer
C beginner not terminating program
I'm a beginner in C and I received the task to write a simple sum program, where I have to use my own atoi function.
The behavior is really strange:
sum 1 -> works fine, it writes "the sum is 1"
sum 1 2 -> it doesn't terminate
sum -1 -2 -> it…

Renata Samà
- 37
- 5
-2
votes
2 answers
New To Java (Program Keeps Terminating)
Need help with this:
Here is my code: http://pastebin.com/7aG0xbhJ
Couldn't figure out how to post it here.
Just keeps saying terminated. Trying to create a calculator.
import java.util.Scanner;
public class Calculator {
public static void…

Jokes
- 49
- 1
- 9
-3
votes
1 answer
Unintentional Program Termination
I'm creating program in which the user inputs a number that will display the month associated with that month (1 = january, 2 = feburary, 3 = march,....etc)
however, when inputting the number and pressing enter, the program breaks.
using…

Bentus
- 1
- 3
-5
votes
3 answers
What's wrong with this code which prints the value at address obtained after converting an integer to an integer pointer
#include
int main()
{
int a = 10;
int* p = &a;
int** q = &p;
printf("\n%d %d %d", a, *p, **q);
int y = (int*)2000;
printf("%d", y);
/*
printf("\n%d %d %d %d", a, *p, **q, *((int*)2000)); //Error line.
…

JustStartedCoding
- 83
- 9