Search:

Type: Posts; User: cigcode

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Thread: c & gui

    by cigcode
    Replies
    8
    Views
    1,388

    c & gui

    If you was learning c and wanted to learn how to code a gui for your programs created in c, what gui program would you use ( under linux / not windows )
  2. Thread: unsigned

    by cigcode
    Replies
    11
    Views
    1,681

    hm i think cause int takes 4 bits of space and...

    hm i think cause int takes 4 bits of space and all you are doing is removing one as well as unsigned takes 4 bit of space + your value is a low value.. and unsigned works on large ones

    but then...
  3. Thread: unsigned

    by cigcode
    Replies
    11
    Views
    1,681

    oh hmm sorry i didnt know i did something wrong.....

    oh hmm sorry i didnt know i did something wrong.. if i did then sorry about that.. some people in this world take things differently.. like you just did.. thank you anyways
  4. Thread: unsigned

    by cigcode
    Replies
    11
    Views
    1,681

    i understood it.. yet i didnt understand it.. but...

    i understood it.. yet i didnt understand it.. but it still help me out.. cause now i do understand a bit more then before. From what i understand that i didnt know before is that unsigned will always...
  5. Thread: unsigned

    by cigcode
    Replies
    11
    Views
    1,681

    unsigned

    when is the best time to use it.. and what does it really means? i have a gasp definition of it.. but would like to understand it better
  6. Replies
    6
    Views
    1,552

    thank you again

    thank you again
  7. Replies
    6
    Views
    1,552

    thank you Thantos, but im still new to c.. do you...

    thank you Thantos, but im still new to c.. do you mind making it a bit more simple for me if you dont mind please
  8. Replies
    6
    Views
    1,552

    loop with divition

    im tring to code a program that will convert decimals in to binaries... but i need it to keep dividing the numbers untill 1 or 0 or untill it cant divide anymore.. but i cant get it to work :( any...
  9. Thread: rand ( )

    by cigcode
    Replies
    4
    Views
    1,235

    ahh nice i didnt know that if you run the program...

    ahh nice i didnt know that if you run the program at the same sec you will get the same result.. nice i ran the program again and it works.. thank you again, see what i was doing is runing it and...
  10. Thread: rand ( )

    by cigcode
    Replies
    4
    Views
    1,235

    ahh nice.. good to know that i was close, but one...

    ahh nice.. good to know that i was close, but one more thing, how do i make it so it can give me a different value everytime i run the program.. cause now it works.. but if i was to run the program 2...
  11. Thread: rand ( )

    by cigcode
    Replies
    4
    Views
    1,235

    rand ( )

    Im tring to get a different letter char everytime the program is ran.. but im i dont understand rand function fully yet as im still new to c, can anyone help me out here for a sec and tell me what im...
  12. Thread: regs list

    by cigcode
    Replies
    6
    Views
    3,104

    hey bubba would it be ok if you showed me an...

    hey bubba would it be ok if you showed me an example using the dos interupts.. i dont know why.. im truely interested in this dos programming heh.. yet i cant seem to think of how to code such thing
  13. Thread: regs list

    by cigcode
    Replies
    6
    Views
    3,104

    no im using turbo c to do this, as i already know...

    no im using turbo c to do this, as i already know that using a windows compilar.. anyways thank you i will check out the windows forum as well
  14. Thread: regs list

    by cigcode
    Replies
    6
    Views
    3,104

    thank you.. im tring to learn cause i want to...

    thank you.. im tring to learn cause i want to code a cdrom player.. but first i need to learn how to open it by calling an interupt command.. hehe. :) thank's again
  15. Thread: regs list

    by cigcode
    Replies
    6
    Views
    3,104

    regs list

    Anyone knows where i can find a list of dos/bios REG so i know what they mean.. like.

    regs.x.ax = 1500;

    etc, etc,

    I want a list so i know what x or ax and 1500 etc means.. i would add a...
  16. Thread: regs

    by cigcode
    Replies
    3
    Views
    1,192

    nm sorry ic now

    nm sorry ic now
  17. Thread: regs

    by cigcode
    Replies
    3
    Views
    1,192

    sorry i didnt know it was necesery.. im on...

    sorry i didnt know it was necesery.. im on windowsxp and im using bloodshed and the dos.h files does not have int86 :( any suggestions?
  18. Thread: regs

    by cigcode
    Replies
    3
    Views
    1,192

    regs

    I want to learn on how to send IOCTL output to drives but i cant find anything in the header files.. does anyone know what header file i can include to get system Regs or etc

    example i have this
    ...
  19. Thread: programming

    by cigcode
    Replies
    4
    Views
    1,195

    Damn i would of never figured this one out.. heh...

    Damn i would of never figured this one out.. heh thank you lets hope in the future i can still remember about this variable :)
  20. Thread: programming

    by cigcode
    Replies
    4
    Views
    1,195

    nice but where did you get envp from if its not...

    nice but where did you get envp from if its not declared in the header file( stdio.h )
  21. Thread: programming

    by cigcode
    Replies
    4
    Views
    1,195

    programming

    Well as you can see im new to c and its going along good sofar. I want to code something useful or something interesting like a program that can show my systems info or something.. I am not smart,...
  22. Thread: time

    by cigcode
    Replies
    6
    Views
    1,738

    ic thank you again.

    ic thank you again.
  23. Thread: time

    by cigcode
    Replies
    6
    Views
    1,738

    ah ok i get.. but what i dont get is why this is...

    ah ok i get.. but what i dont get is why this is giving me the value of 104 instead of 04 or 2004



    struct tm* gettime;

    time_t t = time( NULL );
    char *now, buff[20];

    ...
  24. Thread: time

    by cigcode
    Replies
    6
    Views
    1,738

    ahh i c what you did.. you also added a NULL in...

    ahh i c what you did.. you also added a NULL in the time fuction.. hmm so NULL == current time correct.. i should of thought of this before its like mysql with a colum of datetime.. now i get it.. 10x
  25. Thread: time

    by cigcode
    Replies
    6
    Views
    1,738

    time

    how would i access tm_year in this program



    #include <time.h>
    #include <stdio.h>

    int main( )
    {
    time_t today;
Results 1 to 25 of 28
Page 1 of 2 1 2