Search:

Type: Posts; User: the_head

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,732

    what do these operations do?

    I am sorry if this is a stupid question but I have looked around and can not find the answer anywhere.

    What do these two operations do?

    a |= b

    and

    a=a>>1
  2. Replies
    2
    Views
    998

    problem closing a window

    I have a program with two windows. I open the second window by pressing a button. And close it using the DestroyWindow( ), I also tried PostQuitMessage(WM_QUIT ). Both of these functions result in...
  3. If you know the answer you will know what i am...

    If you know the answer you will know what i am talking about
  4. Voice activation (change from dictation to commands)

    i used this code to set up the grammer for dictation, this will recognise any word. but i want to load up a list commands and only recognise these commands.


    SUCCEEDED(hr =...
  5. Replies
    5
    Views
    2,274

    i have it working perfectly in dos so i know the...

    i have it working perfectly in dos so i know the printer port can do the job. it is just inpout32.dll is a slow way to control the port.
  6. Replies
    5
    Views
    2,274

    faster port access

    i used inpout32.dll in my program to give me control over the printer port, but it is to slow. I am using it to control a Infra red Circuit and speed is Crucial .

    Is there a faster way to access...
  7. Thread: System call

    by the_head
    Replies
    1
    Views
    1,002

    System call

    i have a .exe file i need to run from within my c program. the .exe has to have a number after it so i use


    system("c:\\program.exe 1");

    is there a way to run this when i dont know the number...
  8. Replies
    2
    Views
    1,731

    reading a number from a file

    Q(1);
    This is my code for reading in a number and storing it in a file.
    but when i go to print out the number from the file it wont work.does anyone know why.

    Q(2);
    when the number is stored in...
  9. Replies
    2
    Views
    1,528

    insertion sort

    i dont know what insertion sort is can anybody explain it to me and maybe give me an example
  10. Thread: Blackjack

    by the_head
    Replies
    1
    Views
    2,517

    Blackjack

    i have programed blackjack it works but i know there is a better way of doing it. Does anybody know where i can find source code for a simple game of blackjack.

    i was once told that the best way...
  11. Replies
    7
    Views
    1,563

    i dont have the cds

    i dont have the cds
  12. Replies
    7
    Views
    1,563

    i am using microsoft visual c++ to compile and i...

    i am using microsoft visual c++ to compile and i want to run it in dos
  13. Replies
    7
    Views
    1,563

    stop input form showing on the screen

    i want to scan in a char y or n.
    i use scanf("%c",&ans); when i press y or n the y on n shows up on the screen. is there any way to scan in the char without displaying what was pressed.
  14. Replies
    15
    Views
    3,052

    C if you can solve this

    I have an array of 50 elements each element has a string with no more than 50 letters. i need to sort these alphabetically.

    what is an easy way of doing this.
  15. Replies
    1
    Views
    11,807

    bubble sort array of strings

    how do you sort an array of strings into alphabetical order using bubble sort.

    do you use strcpy() to swop the strings around.
  16. to pass the array. put void array_name(int [])...

    to pass the array.
    put
    void array_name(int []) if it is an integer array

    then when you are calling your function
    put

    function_name(array_name)
  17. Thread: 2 problems

    by the_head
    Replies
    1
    Views
    982

    2 problems

    (1)

    is there a way tp clear the screen that will work in any compiler.
    i tried <conio.h> and clrscr() but it does not work in my compiler(microsoft visual 6).

    (2)

    what is the best way of...
Results 1 to 17 of 17