What error message, if any, is displayed. What are the functions which do not work properly? Are there seeks in any other function(s) which work properly? Perhaps a bit of code from the offending functions could explain your problem.
dear shmoove
thanks for the idea. ungetc and ungetch only help me to stuff a key back into the keyboard. i understand that you have to use getch or getche the character before you can ungetch it.
let me make it clearer. i have a mail program which keeps checking the outbox. if there is a msg...
how do i do this?
I am using turbo-c 3.0 and working on DOS platform only.
is there some way i can stuff the keyboard with some characters as if the characters have been entered at the keyboard itself?
How do i do it?
thanks
I want to write a program to periodically transmit a message. I have a program which already checks whether any thing is there in the outbox and if there is, it transmits the file.
I want to write a program which will automatically create and send a file to the destination at fixed time...
i am using dos operating system. I use turbo-c to write my c programs. I want to write some sort of scheduling program, a tsr program, which will check for a condition say, every 10 minutes, and then execute a program as a result of the check.
for example, i am trying to download a file. I do...
I have just started learning java. I installed j2sdk1.4.0 on my pc. when i try to run the jdb (using jdb -launch <classname> it first gives and error box, [unsupported configuration] Windows Sockets 2 (Winsock 2.0) run time components are missing.
Can anyone tell me how i should solve the...
Hi,
An interesting debate no doubt. But remember, our efforts in writing clipper programs can only be used with the right os. While free os is nice, how many users will actually trust it to put it on their machines. I know, that many users and corporates have already adopted linux as their os...
Hello Matt,
Just in case, - I checked my compiler settings. I think you are correct. With the compiler options/ Word alignment set to on, the sizeof returns 42, with the option set to off, the compiler returns 41. You are right. Wow!!
Thanks a lot.
Subra. if you find this useful let me...
Thanks Matt for the response.
This may not be due to a compiler problem. As I mentioned earlier, the same struc and sizeof in another program returns the correct values. Not only that, I have another struct in the same "problem program". The sizeof returns the correct value on one of...
i am using a server running novel 4.11 (primary server). we also have another server running novel 5.0. both the servers are under a single tree. until recently thing were okay. now, the connections to the server from the nodes get disconnected abruptly. the server itself is okay. The physical...
i am using DOS and Turbo-c 3.0
I have two small programs, i. to create a data file
ii. to read and index the data file.
the structure of the data file and the offending code is as below.
typedef struc
{
char custno[7];
char custnm[31];
char amtnum[3];
} CUSTOMER;
CUSTOMER cust;
void...
is it possible to do this?
I work on DOS and i use turbo-c.
i have a function say
void abc(void);
i have a second function say
void xyz( p1, p2, ..);
{
abc();
}
my question is, how can i pass the function abc as a parameter to the function xyz. is it possible to do this?
more...
I work on the DOS platform only and I use the Turbo-c ver 3.0 compiler
I have written the following code:
# include <stdio.h>
# include <conio.h>
# include <string.h>
typedef struct
{
char custno[ 7]; /* customer no */
char accnum[14]; /* account no */
char acdesc[31]; /* account...
dear maniraja s.
thanks a lot for the prompt reply.
yes it did work and helped a lot
regards
subra
if you find this useful let me know at vksubra@icenet.net
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.