Click here to Skip to main content
15,890,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Listbox - How to keep an index Pin
Kreatief19-Nov-04 0:58
Kreatief19-Nov-04 0:58 
GeneralRe: Listbox - How to keep an index Pin
BlackDice19-Nov-04 2:48
BlackDice19-Nov-04 2:48 
GeneralRe: Listbox - How to keep an index Pin
David Crow19-Nov-04 3:49
David Crow19-Nov-04 3:49 
GeneralRe: Listbox - How to keep an index Pin
Maximilien19-Nov-04 2:42
Maximilien19-Nov-04 2:42 
GeneralRe: Listbox - How to keep an index Pin
Kreatief19-Nov-04 3:49
Kreatief19-Nov-04 3:49 
Generalquery in rs232 programming in turbo c Pin
narasimhavarmap18-Nov-04 21:39
narasimhavarmap18-Nov-04 21:39 
GeneralRe: query in rs232 programming in turbo c Pin
Roger CS18-Nov-04 22:31
Roger CS18-Nov-04 22:31 
GeneralRe: query in rs232 programming in turbo c Pin
Anonymous19-Nov-04 18:39
Anonymous19-Nov-04 18:39 
i am using null modem cable for the transmission of data.through hyper terminal the data is getting transferred and recieved.but not happening through my program any way i am writing my code down to this matter if possible plz help me to solve this problem


my program is as follows:#include<conio.h>
#include<bios.h>
#include<stdio.h>
#include<dos.h>

#define COM1 1
#define SETTINGS (0x80 | 0x02 | 0x00 | 0x00)

void transmit();
void display();
void main()
{
clrscr();
transmit();
}
void transmit()
{
char msg,msg_in;
int status,out,in,count=0,count_in=0,i,extra;
int x,y,n;

x=bioscom(0, SETTINGS, COM1);
bioscom(3,0,COM1);
n=x;
printf("\n the status in binary is:");
while(n!=0)
{
printf("%d",(n%2));
n=n/2;
}

msg=getche();
bioscom(1,msg,COM1);
printf("\n %d",x);


window(10,10,40,11);
/* while (1)
{
if (kbhit())
{
gotoxy(count+1,1);
if ((in = getche()) == 27)//if esc is pressed then exit
break;
if(in==0)
{
in= getch();
continue;
}
if(in==8 && count>0) { count-=2;cprintf(" \b");}
else msg[count]=in;
if(count==70) {in=13; msg[70]=13;}

count++;

if(in==13 )
{
i=0;
display(msg,14);
for(i=0;i
GeneralRe: query in rs232 programming in turbo c Pin
Roger CS25-Nov-04 6:49
Roger CS25-Nov-04 6:49 
GeneralLine Caps Pin
S.DARWIN PAUL RAJ18-Nov-04 20:39
S.DARWIN PAUL RAJ18-Nov-04 20:39 
GeneralRe: Line End Style Pin
S.DARWIN PAUL RAJ20-Nov-04 21:00
S.DARWIN PAUL RAJ20-Nov-04 21:00 
GeneralRe: Line Caps Pin
P. Gnana Prakash21-Nov-04 1:14
P. Gnana Prakash21-Nov-04 1:14 
GeneralBisection Method Root Finding...little details Pin
shorty02br18-Nov-04 19:46
shorty02br18-Nov-04 19:46 
GeneralRe: Bisection Method Root Finding...little details Pin
Joaquín M López Muñoz18-Nov-04 20:29
Joaquín M López Muñoz18-Nov-04 20:29 
GeneralRe: Bisection Method Root Finding...little details Pin
shorty02br19-Nov-04 6:02
shorty02br19-Nov-04 6:02 
GeneralRegister of ActiveX controls in common Location Pin
voonnalk18-Nov-04 18:25
voonnalk18-Nov-04 18:25 
GeneralRe: Register of ActiveX controls in common Location Pin
bryce18-Nov-04 18:41
bryce18-Nov-04 18:41 
GeneralIStorage::CreateStorage() help... Pin
RYU^^18-Nov-04 18:02
RYU^^18-Nov-04 18:02 
QuestionHow we can monitor wether the system time is changed manualy? Pin
Ranjish18-Nov-04 17:24
Ranjish18-Nov-04 17:24 
AnswerRe: How we can monitor wether the system time is changed manualy? Pin
22491718-Nov-04 18:30
22491718-Nov-04 18:30 
GeneralRe: How we can monitor wether the system time is changed manualy? Pin
Ranjish18-Nov-04 19:13
Ranjish18-Nov-04 19:13 
GeneralRe: How we can monitor wether the system time is changed manualy? Pin
22491718-Nov-04 19:40
22491718-Nov-04 19:40 
AnswerRe: How we can monitor wether the system time is changed manualy? Pin
Neville Franks18-Nov-04 23:40
Neville Franks18-Nov-04 23:40 
GeneralVisual Studio question Pin
glowskull0318-Nov-04 17:23
glowskull0318-Nov-04 17:23 
GeneralRe: Visual Studio question Pin
bryce18-Nov-04 18:38
bryce18-Nov-04 18:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.