| Summary: | input prompt doesn't show in console. | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | rodrig55 |
| Component: | cdt-debug-dsf-gdb | Assignee: | Project Inbox <cdt-debug-dsf-gdb-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Marc Khouzam <marc.khouzam> |
| Severity: | normal | ||
| Priority: | P3 | CC: | pawel.1.piech |
| Version: | 0 DD 1.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
On Windows we currently don't print to the console properly as tracked by bug 231883. *** This bug has been marked as a duplicate of bug 231883 *** |
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Build Identifier: 20090619-0625 Hello, I am trying to run a practice program that requires an user input. Example program: #include<stdio.h> int main(void) { int num1,num2; printf("enter number:\n"); scanf("%d",&num1); printf("enter second number:\n"); scanf("%d",&num2); printf("Number is:%d\n",num1+num2); return 0; } When I run this program the user prompt does not pop up in the console. But when I type in a couple of numbers in the blank console this happens: 1 2 enter number: enter second number: Number is:3 Please help.Thanks in advance. Reproducible: Always