Search:

Type: Posts; User: deian

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    3,468

    help to fix a problem

    Hi!
    I wrote the following code:


    void serialportsetup(){
    hCom = CreateFile( "COM1",
    GENERIC_READ | GENERIC_WRITE,
    0, // exclusive access
    NULL, // no security attributes
    ...
  2. Replies
    2
    Views
    3,468

    sending streams over serial port in win32

    Hi !
    I need a commented sample code for a Win app to send a stream via the serial port. Unfortunately the C
    is the only language I know. I have found some example codes on this forum, but I could'n...
  3. Replies
    18
    Views
    5,231

    compiler problems

    i tried to compile menutwo.c file and those attached to it from theForger's win32 Tutorial. I included all the files in a project, but the IDEs from below show the following errors:

    dev c++
    ...
  4. Replies
    18
    Views
    5,231

    ???

    i downloaded the tutorial from theForger's win32 Tutorial , but i will read it later because right now i don't have so much time. i have at home a c++ programming book , i have already red it , but...
  5. Replies
    18
    Views
    5,231

    read this

    ok guys, look what i want! i'm a telecom & electronics engineer. all i want is to write a simplest win32 application which could command a hardware via parallel port (or maybe serial, i don't know...
  6. Replies
    18
    Views
    5,231

    need example code for a win32 window

    could somebody help me with a basic code for a win32 application - a simple window with some pop-up menus, a entering/displaying of a message on the screen or a text in a window and so on) ? i know...
  7. Replies
    2
    Views
    2,307

    tc 3.0++ minimum instalation package

    which is the minimum instalation package for turboc++ 3.0(the minimum required folders for "correct software developing")?
  8. Replies
    1
    Views
    1,002

    cursortype and string deleting

    hi!i need some help on next issues:
    - i have tc 2.01 compiler downloaded from borland's museum site. in my program i need setcursortype() function(i want cursor to disappear in some parts of the...
  9. Replies
    1
    Views
    1,454

    about exit() function

    this function closes all the files opened or not ?
  10. Replies
    6
    Views
    3,356

    continue

    you both have right.it depends on how fast are read the pixel from external ram.i want to do the folowing:let;s suppose that
    the characters heave each a different number of pixels for each tv line(...
  11. Replies
    6
    Views
    3,356

    the idea is to display in a tv line a set of...

    the idea is to display in a tv line a set of characters, but the displaying is hardware made(for speed reasons),and this hardware(external static ram) is programmed by software .he contains bits of...
  12. Replies
    6
    Views
    3,356

    ascii characters video displaying on tv screen

    how can i know
    1)how many bits are corresponding to length of a non-monospaced
    characters(let's say "i" and "m",they don't have same length on the screen)
    2)the position of first bit of every...
  13. Replies
    3
    Views
    1,824

    elapsed time testing

    1)why the following test programs are not working?

    #include "stdio.h"
    #include "time.h"

    int i,x,step;
    time_t s1,s2;

    void main(void){
    step=20;
  14. Replies
    23
    Views
    5,211

    it looks like assembly code,isn't?

    it looks like assembly code,isn't?
  15. Replies
    23
    Views
    5,211

    making programms faster

    which is the faster way to call a set of instructions, grouping them
    in a separate function(and calling her) or labeling first set instruction and using GOTO instuction from other parts of the...
  16. Replies
    6
    Views
    1,211

    i founded a solution on my other thread.

    i founded a solution on my other thread.
  17. Replies
    4
    Views
    1,471

    founded solution

    people, look what i asked for:

    #include <stdio.h>
    #include <string.h>

    void main(void){

    FILE *fp;
    char buf[40],filename[13];
    strcpy(buf,"DIRNAME/");
  18. Replies
    6
    Views
    1,211

    about.. let me continue

    no, something like:
    cprintf("enter the file to open:")
    gets(filename);
    ?????
    ?
    ?
    fp=fopen(file name,"r")
    where the ?? signes are folder opening(let's say TEMP). TEMP is found in the same...
  19. Replies
    6
    Views
    1,211

    bc 2.0 different folder file opening

    my program ask me to open a file found in a folder which is in the same folder with the exe file,without entering the complete path(only the file name).how can i do if i have the following dir.h...
  20. Replies
    4
    Views
    1,471

    directory file openong

    hi!
    1)my program ask my to open a file which is in a directory named DIR.how can i do this(i want to enter only the file name,without the complete path)?
    2)how can i display time and date who...
Results 1 to 20 of 20