Forum: C++ Nov 21st, 2004 |
| Replies: 15 Views: 11,630 |
Forum: C++ Nov 1st, 2004 |
| Replies: 5 Views: 2,318 #include <iostream.h>
//using namespace std;
int main()
{
//Declare the variables
//error is here! u want delcare "i1" but here u declare it "il" accidently
int il,... |
Forum: C++ Oct 31st, 2004 |
| Replies: 4 Views: 1,916 How about this....
#include <fstream>
#include <iostream>
#include <string>
using namespace std;
class Person
{
char emp_name[40]; |
Forum: C++ Oct 30th, 2004 |
| Replies: 15 Views: 11,630 |
Forum: C++ Oct 30th, 2004 |
| Replies: 2 Views: 3,355 Try to modify ur code like below
#include <iostream.h>
main()
{
cout<<"my name ";
cin.get(); |
Forum: C++ Oct 29th, 2004 |
| Replies: 15 Views: 11,630 Vegaseat and Narue thx for yours help
i succeed play the wav sound Here i will review the step again of how to code a porgram that play wav sound by using Dev-c++ 4.9.9.0
1- create a project... |
Forum: C++ Oct 29th, 2004 |
| Replies: 15 Views: 11,630 below is the source code that i type, but it can't play the wav sound
#include <windows.h>
#include <mmsystem.h>
int main()
{
... |
Forum: C Oct 29th, 2004 |
| Replies: 2 Views: 2,810 can someone explain to me what does below code do??
keybd_event(VK_MENU,0x38,0,0);
keybd_event(VK_RETURN,0x1c,0,0);
keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0); ... |
Forum: C++ Oct 28th, 2004 |
| Replies: 17 Views: 4,536 http://www.bloodshed.net/devcpp.html
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 |
Forum: C++ Oct 28th, 2004 |
| Replies: 8 Views: 4,081 #include<iostream>
using namespace std;
int main()
{
cout<<"Hellp World"<<endl;
return 0;
} |
Forum: C++ Oct 28th, 2004 |
| Replies: 10 Views: 4,131 do u link the TW2 to TW1 or not??? |
Forum: C Oct 28th, 2004 |
| Replies: 13 Views: 9,421 thx for ur help vegaseat.
Do u know how to let the text in the program blink??? |
Forum: C++ Oct 28th, 2004 |
| Replies: 5 Views: 11,374 Vegaseat do u know how to link the music or sound like "Hello.mpg"
when the compiler executed until cout<<"Hello"<<endl; and play some sound or music |
Forum: C++ Oct 28th, 2004 |
| Replies: 5 Views: 11,374 thx Vegaseat the program successdfully run and the beep sound is funny |
Forum: C Oct 27th, 2004 |
| Replies: 13 Views: 9,421 i really dun understand all the things in MSDN |
Forum: C Oct 27th, 2004 |
| Replies: 13 Views: 9,421 still can't understand can u show me some example source code |
Forum: C++ Oct 27th, 2004 |
| Replies: 5 Views: 11,374 i use windows xp and dev c++ 4.9.9.0 compiler |
Forum: C++ Oct 27th, 2004 |
| Replies: 5 Views: 1,514 http://www.bloodshed.net/devcpp.html
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 |
Forum: C++ Oct 27th, 2004 |
| Replies: 7 Views: 2,892 how about
for(int i=24;i>=0;i--)
{
cout<<a[i]<<" "<<endl;
} |
Forum: C++ Oct 27th, 2004 |
| Replies: 5 Views: 11,374 below is the simple source code
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello"<<endl;
system("pause");
return 0; |
Forum: C Oct 27th, 2004 |
| Replies: 13 Views: 9,421 i am using dev c++ 4.9.9 compiler and windows xp
below is a simple source code
#include<iostream>
using namespace std;
int main()
{
cout<<"Hello"<<endl; |
Forum: C Oct 26th, 2004 |
| Replies: 13 Views: 9,421 can someone teach me or show me how to code a program that can output color text?? thx :p |