Search:

Type: Posts; User: Rehman khan

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Its okay..!! I can write code that gives the path...

    Its okay..!! I can write code that gives the path and store that in a variable... say s3.

    Then, what's next...??

    I prefer C...
    why isn't that possible with c..??
  2. Yeah... laserlight is correct.... And The...

    Yeah... laserlight is correct....

    And The another way is to subtract the floor of the number from the original number..

    I mean, 2.345 - 2 = .345
    say a =2.345
    a - floor(a);

    floor(); is...
  3. Thanks for ur response...! Well, its pretty hard...

    Thanks for ur response...!
    Well, its pretty hard for me to understand...

    I should move that image.jpg to the folder where the .exe file exist.

    Is that what you meant my "append...
  4. Need help in opening a file without specifying its path...

    Hello frnds... I know that if the executable (.exe) file and the required file lies on the same folder, then it can be processed without specifying its path.

    I'm not talking about usual file...
  5. Replies
    5
    Views
    2,032

    Well, thanks for that..., But can you please...

    Well, thanks for that..., But can you please explain wat is that SDL...., third party code..??? I don't understand.. Please help me..
  6. Replies
    5
    Views
    2,032

    The minimizing part... It plays music... But not...

    The minimizing part... It plays music... But not minimized when i use the second code..

    I want to play it minimized..
  7. Replies
    5
    Views
    2,032

    Need Help in Playing Music..!!

    Hello Friends..! In my program, i'm trying to play a music file in background...

    For that I used, this command:

    system("start /min wmplayer.exe \"C:\\Downloads\\123\\You are like...
  8. Thanks a lot..!! I did it..!!

    Well, Thank you oogabooga... you're really great... I finished my work only because of your idea..!

    I'm so happy now.. Really thanks a lot..!!
  9. Replies
    8
    Views
    15,954

    Thanks a lot..! I did it.

    Yeah... you're right.. I saw those posts.. it was
    #define _WIN32_WINNT 0x05232.. Now it works fine..

    Thanks a lot for your help friends.. Thank you so much everyone...!
  10. Need help in controlling an infinite loop..!!

    Hello Friends..! Need ur help..!!

    Actually i'm trying to code a game like thing..! In that, there is an aquarium of two fishes..

    Both moving in opposite directions simultaneously and...
  11. For making infinite loops, give a non-zero value...

    For making infinite loops, give a non-zero value inside that while() statement. example, while(1)... etc...

    And, inside that void again() function, you're using continue and break statements...
  12. Replies
    8
    Views
    15,954

    But it shows the error: " UNDEFINED REFERENCE...

    But it shows the error: " UNDEFINED REFERENCE TO GetConsoleWindow(); "

    and when i tried in cpp, it shows, "GetConsoleWindow() was not declared in this scope"

    I'm using windows only..
    ...
  13. Just add "&" to scanf statement as mentioned...

    Just add "&" to scanf statement as mentioned before..., and add return statement to main function.. Thats it.. Here's the output
  14. Replies
    8
    Views
    15,954

    I think i didn't make my point clear..., Please...

    I think i didn't make my point clear..., Please see my attachments..

    Normally my compiler executes the program in a small window... as in screenshot1... But for my program, it should be in...
  15. Replies
    8
    Views
    15,954

    yeah..i'm usin windows 7.. why are you asking...

    yeah..i'm usin windows 7.. why are you asking that..???
  16. Replies
    8
    Views
    15,954

    Need to maximize the output window..!!!!

    Hello friends.., I have been programming games like Boggle and other word games using c.. For that i have to execute the program in the maximized mode..
    Usually in my compiler programs will run in...
  17. @TomasRiker...., Well, can you please specify...

    @TomasRiker....,
    Well, can you please specify where can i find such header file...? And where can i learn to hide an image in a file and how to use it..???
  18. Extracting image from a binary file...!!!!

    Hello friends., I need your help..!!!

    Actually, my task this -> when i execute the program, it should extract an image file in jpeg(jpg) format. That image file i will specify while writing the...
  19. Thank you..!! But, that's the book, i'm using for...

    Thank you..!! But, that's the book, i'm using for the past 3 months..!!!!

    All I have is, only one confusion.!!! If i didn't use 'delete' OS itself will clean the allocated memory. Fine..!! Then...
  20. Well, first thanks for your response...!!! But,...

    Well, first thanks for your response...!!!
    But, you see, i'm not a PRO in c++... So, can you make me understand what you told...???? Here, where is the destructor came from....???
    and what's the...
  21. It's better for me to understand, if your answer...

    It's better for me to understand, if your answer is more specific..

    What should i save...???
  22. Actually, i don't want to do such a...

    Actually, i don't want to do such a thing...!!!Learning is not a sin, right..??? :) :) B)
  23. So, even if we didn't use the command 'delete',...

    So, even if we didn't use the command 'delete', OS will free up the allocated memory.. fine..

    Now, can you tell me what are the ways to make that allocated memory to be permanent...?
    I mean, it...
  24. So, when that program is executed, it allocates...

    So, when that program is executed, it allocates the memory and when that execution is over, OS will clear it automatically...

    Is that what you mean..???

    If it depends on OS, then what's on...
  25. Consequences of Memory allocation and de-alocation...

    Hello friends..! I just have a doubt in this concept..
    I know it is a must to free up memory at the end, when it is allocated in the beginning of any program.. Otherwise, it would become un-usable...
Results 1 to 25 of 31
Page 1 of 2 1 2