Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #4K
~13.7K People Reached
Favorite Forums
Favorite Tags
c++ x 16
c x 6
Member Avatar for kakilang

below is the simple source code #include <iostream> using namespace std; int main() { cout<<"Hello"<<endl; system("pause"); return 0; }?? how to let program play some music when the program print the word "Hello"?? Let's say the song file name is "hello.mpg".

Member Avatar for 4reebahmedkhan
1
10K
Member Avatar for kakilang
Member Avatar for ganeshchhetri
0
1K
Member Avatar for kakilang

below is the source code that i type, but it can't play the wav sound [PHP]#include <windows.h> #include <mmsystem.h> int main() { PlaySound("chimes.wav",NULL,SND_FILENAME|SND_LOOP|SND_ASYNC); return o; }[/PHP] when i compile this source code the compiler prompt link error can anyone help to show the problem i using windows xp and dec …

Member Avatar for Salem
0
1K
Member Avatar for Young Teck 06

I need some help, what would everybody out there recommend for a C++ Compiler. I am thinking about paying $110 for Visual C++ "Standard". Does anybody know if this software is great and what are the best features of it. Other recommendations are also welcome.

Member Avatar for vegaseat
0
352
Member Avatar for lost_c++_dude

I keep on getting one error when I compile this. I can't figure out what is wrong with it. Please help. [code] //Write a program that asks the user to enter two integers. //The program should divide the first integer by the second and then display the resulting quotient and …

Member Avatar for vegaseat
0
117
Member Avatar for mahas

#include <fstream.h> class Person { char emp_name[40]; int Tel; public: void ShowData() {cout<<"Name: "<<emp_name<<endl<<"tel: "<<Tel;} }; void main() { Person s1; ifstream file("c:\\mydocuments\\db_add_tel.mdb"); file.read((char*)&s1,sizeof(s1)); s1.ShowData(); } can anyone telme whats really happening aftet opening the add_tel file. actually i don't know how to makethe screen stay because when i run …

Member Avatar for Narue
0
209
Member Avatar for Nabeelahmad

When ever i am entering any code it always succeed but i cannot see out put on screen it just flick for few seconds and then come back to complier. for example small prog i am writing #include <iostream.h> main() { cout<<"my name "; return 0: } it should give …

Member Avatar for Nabeelahmad
0
110
Member Avatar for Young Teck 06

Everybody, post your very first C++ code up here if you still have it, heres mines with help from the book I am reading and Narue for the help of keeping the window open, thanks pal. [CODE] // // Program to convert temperature from Celsius degree // units into Fahrenheit …

Member Avatar for Young Teck 06
0
122
Member Avatar for N3wbi3C0d3r

I have my Project setup like this. +TW TW1 TW2 Before i created the file TW2 i compiled TW1, and TW1 worked fine. When i added TW2, and then compiled it, and started either TW1 or TW2 it said "Project is not compiled". Any idea on how im sposed to …

Member Avatar for Narue
0
162
Member Avatar for kakilang

can someone explain to me what does below code do?? [PHP]keybd_event(VK_MENU,0x38,0,0); keybd_event(VK_RETURN,0x1c,0,0); keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0); keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0); [/PHP]

Member Avatar for Narue
0
339
Member Avatar for N3wbi3C0d3r

Posted it in the wrong place, sorry;) Hello peoples, as you can tell by my name, ima newbie coder, and barely know the basic concept of a non object oriented scripting language comonly known as QBasic. I wanna learn advanced programming to make games, and random programs i may need …

Member Avatar for N3wbi3C0d3r
0
142
Member Avatar for bryan7890

i wrote in my prog #include <iostream> using namespace std; int main ( ) { int arraysize = 25; int a [arraysize] = { 2, 3, 5, 19, 4, 20, 35, 123, -3, 45, 82, 93, 62, 35, 29, 21, 19, 57, 35, 64, 62, 324, 242, 0, -3 } …

Member Avatar for bryan7890
0
97