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.9K People Reached
Favorite Forums
Favorite Tags
c++ x 16
c x 6

12 Posted Topics

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

[url]http://www.bloodshed.net/devcpp.html[/url] here is the website u can download compiler go find dev C++ 4.9.9.0 compiler and download it i find this compiler is very useful for beginner

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

[CODE] #include <iostream.h> //using namespace std; int main() { //Declare the variables //[B]error is here! u want delcare "i1" but here u declare it "il" accidently[/B] int [B]il[/B], i2, quotient, remainder; // Obtain the data from the user cout<<"Input an integer followed by a return: "; cin>>i1; cout<<"Input an integer …

Member Avatar for vegaseat
0
119
Member Avatar for mahas

How about this.... [PHP]#include <fstream> #include <iostream> #include <string> using namespace std; class Person { char emp_name[40]; string Tel; public: void ShowData() {cout<<"Name: "<<emp_name<<endl<<"tel: "<<Tel;} }; int main() { Person s1; ifstream file("c:\\mydocuments\\db_add_tel.mdb"); file.read((char*)&s1,sizeof(s1)); s1.ShowData(); cin.get(); //another options system("pause"); return 0; }[/PHP]

Member Avatar for Narue
0
213
Member Avatar for Nabeelahmad

Try to modify ur code like below [PHP]#include <iostream.h> main() { cout<<"my name "; cin.get(); return 0: }[/PHP]

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

[PHP]#include<iostream> using namespace std; int main() { cout<<"Hellp World"<<endl; return 0; }[/PHP]

Member Avatar for Young Teck 06
0
124
Member Avatar for N3wbi3C0d3r
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
352
Member Avatar for N3wbi3C0d3r

[url]http://www.bloodshed.net/devcpp.html[/url] here is the website u can download compiler go find dev C++ 4.9.9.0 compiler and download it i find this compiler is very useful for beginner

Member Avatar for N3wbi3C0d3r
0
145
Member Avatar for bryan7890
Member Avatar for bryan7890
0
100

The End.