Search:

Type: Posts; User: laughing_man

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,213

    OK. Thank you for your input.

    OK. Thank you for your input.
  2. Replies
    5
    Views
    1,213

    I mean to say that i have seen some example pass...

    I mean to say that i have seen some example pass just NULL as that second-to-last argument, instead of hInstance or GetModuleHandle(NULL). Is there a time when we should pass an hInstance and a time...
  3. Replies
    5
    Views
    1,213

    Child control creation doubt.

    While using the CreateWindow function to create child controls inside the main window do I have to pass the main hInstance to it? I know I have to pass it while creating the main window, but what...
  4. Replies
    2
    Views
    706

    Okay, Thanks!

    Okay, Thanks!
  5. Replies
    2
    Views
    706

    Is there a problem in my code?

    I made this C function for easy reading of strings from the console. Can someone please help and find if there are any faults(like a memory leak) in the following code? Which line would the fault be...
  6. Replies
    11
    Views
    872

    Thank you everyone for being patient with me.

    Thank you everyone for being patient with me.
  7. Replies
    11
    Views
    872

    So according to your explanation a memory address...

    So according to your explanation a memory address is present for each byte. And each byte does not utilize the entire memory word in my case.
  8. Replies
    11
    Views
    872

    Consider this #include int...

    Consider this



    #include <stdio.h>

    int main(int argc, char argv[]){
    char ch1,ch2,ch3,ch4;
    ch1 = 'a';
    ch2 = 'A';
  9. Replies
    11
    Views
    872

    +mutantJohn : No not that way. +stahta01 : I...

    +mutantJohn : No not that way.

    +stahta01 : I have an Intel Atom CPU, on a Gateway netbook, and Windows XP on it.
  10. Replies
    11
    Views
    872

    How is memory addressed?

    Are locations in the RAM addressed per word or per byte? I am using a 32 bit machine, so I think that it means that on my PC a word would be 4 bytes.
  11. Instead of 19 do -19

    Instead of 19 do -19
  12. Replies
    4
    Views
    4,380

    I think keycode for ESC is ASCII 27.

    I think keycode for ESC is ASCII 27.
  13. %s enables reading upto the first white space.

    %s enables reading upto the first white space.
  14. Thanks

    Thanks
  15. laserlight One more thing. I am using PellesC and...

    laserlight One more thing. I am using PellesC and it has that getline function you spoke about. But it seems to be similar to fgets, in that I have to mention th size there too and provide a char...
  16. laserlight BTW in the last method (linked list of...

    laserlight BTW in the last method (linked list of char arrays), in the end I would combine them into one dynamically created char array.

    My main aim is to not worry about the size while creating a...
  17. laserlight I am sorry, I forgot to mention that I...

    laserlight I am sorry, I forgot to mention that I am working on Windows XP. Is that "POSIX standard getline function " available in win32.
  18. laserlight Yes! I have even tried these:- ...

    laserlight Yes!

    I have even tried these:-
    [1]first read into linked list of chars and then combine them into a single string. But then, I read somewhere that malloc and family of statement are...
  19. Directly create dynamic string from stdin

    Is it possible to create a dynamic char array on the fly directly from stdin? I do not want to create a fixed length array before hand and then copy contents of it into a malloc created array.


    ...
  20. Replies
    12
    Views
    1,186

    How about exposing him to different families of...

    How about exposing him to different families of languages and letting him choose for himself depending upon his aesthetics. First explain to him what is a programming language and why we need it....
  21. Replies
    9
    Views
    5,591

    I understand you. I was just exploring my...

    I understand you. I was just exploring my options..I mean I wanted to know what "I" was comfortable doing in C. To all the replies - THANK YOU!
  22. Replies
    9
    Views
    5,591

    c99Tutorial - what you tell me to do is...

    c99Tutorial - what you tell me to do is overwhelming and a over the head bouncer:confused: as I find it difficult reading other people's huge projects. But I will try... :) See you guys next year...
  23. Replies
    9
    Views
    5,591

    Actually I don't need... But I am attached to MS...

    Actually I don't need... But I am attached to MS Access' usability. So I want to know if there is a simple way in which I could write small C win32 GUI apps which could connect to my MS Access...
  24. Replies
    9
    Views
    5,591

    Hi c99tutorial! Well, I had checked both your...

    Hi c99tutorial! Well, I had checked both your links in the past and it was not helpful to me at all. I am just looking for a simple solution. I am looking for some plain win32 api stuff. I recently...
  25. Replies
    9
    Views
    5,591

    Use MS Access in C

    Just exploring! Can someone PLEASE help me with a tutorial or something on how to use MS Access in C(Windows API)? Do not tell me to use C++. And yes, I have checked Google and am unsuccessful at...
Results 1 to 25 of 27
Page 1 of 2 1 2