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..??
Type: Posts; User: Rehman khan
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..??
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...
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...
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...
Well, thanks for that..., But can you please explain wat is that SDL...., third party code..??? I don't understand.. Please help me..
The minimizing part... It plays music... But not minimized when i use the second code..
I want to play it minimized..
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...
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..!!
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...!
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...
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...
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..
...
Just add "&" to scanf statement as mentioned before..., and add return statement to main function.. Thats it.. Here's the output
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...
yeah..i'm usin windows 7.. why are you asking that..???
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...
@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..???
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...
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...
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...
It's better for me to understand, if your answer is more specific..
What should i save...???
Actually, i don't want to do such a thing...!!!Learning is not a sin, right..??? :) :) B)
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...
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...
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...