Forum: C++ Dec 17th, 2008 |
| Replies: 21 Views: 34,252 |
Forum: C++ Dec 17th, 2008 |
| Replies: 4 Views: 352 // binary.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <conio.h> //look here!!!!
#include <iostream>
using namespace std;
void main(void)
{
int binaryword(int binary,... |
Forum: C++ Dec 16th, 2008 |
| Replies: 10 Views: 2,405 since manishady gave you the code, i just give you some advise:
1) data structrue is a very important subject,
2) you should relize every model the books says.
3) may you success. |
Forum: C++ Dec 16th, 2008 |
| Replies: 4 Views: 352 I think there is some Error in you in/out-put stream,
for :"cin>> bit"(line 21) i guess you want getting one char(0 or 1) each time , but "cin" let you keep inputing untill you enter the "enter" .... |
Forum: C++ Dec 16th, 2008 |
| Replies: 23 Views: 1,287 int this.health = 10,
this.defense = 3;
char this.name = "Orc";
//you can't init them here;
int getAttributesInfo() {
attributes [] = {this.health, this.defense,... |
Forum: Community Introductions Dec 16th, 2008 |
| Replies: 7 Views: 477 thank you,
i wanna inprove my technoledge of c++ and me English here , thanks for your help,
eh, I meet a difficult just now, It's an old problem that's:
6 police with 6 crimer want to go... |
Forum: Community Introductions Dec 16th, 2008 |
| Replies: 7 Views: 477 from China, maybe my English is too poor^^
net work programing attract me most ,I think.
azhu |
Forum: C++ Dec 15th, 2008 |
| Replies: 6 Views: 438 int main()
{
int x,y;
char opt;
while(1)
{std::cout<<"please input the x,y"<<endl;
std:: cin>>x>>y;
std::cout<<"please input the operate"<<endl;
std::cin>>opt;
... |
Forum: C++ Dec 14th, 2008 |
| Replies: 8 Views: 984 use a globle array var to instore them. |
Forum: C++ Dec 13th, 2008 |
| Replies: 2 Views: 351 I think you'd better re-install it. |
Forum: C++ Dec 13th, 2008 |
| Replies: 2 Views: 1,195 win socket, yes
first you should creat a socket in you server and listen() the request from the client
i just started learn it recently ^ |
Forum: C++ Dec 13th, 2008 |
| Replies: 8 Views: 570 I haven't seen any excutive-able code in the main( )
and you should declear when to exit the prog . i think , lucky…… |
Forum: C++ Dec 13th, 2008 |
| Replies: 5 Views: 409 the function you declear in the class{}; has three paraments but^^ you know ? |
Forum: Community Introductions Dec 13th, 2008 |
| Replies: 4 Views: 481 I am sorry ……… I will
thanks ana |
Forum: C++ Dec 13th, 2008 |
| Replies: 10 Views: 1,439 what about WinExec("cls"); ? |
Forum: Community Introductions Dec 13th, 2008 |
| Replies: 7 Views: 477 hello greetings. NEW COMES. |
Forum: Community Introductions Dec 13th, 2008 |
| Replies: 4 Views: 481 hi,I am new comer. thanks you your care about. |