Search Results

Showing results 1 to 24 of 24
Search took 0.01 seconds.
Search: Posts Made By: XianBin
Forum: C Sep 27th, 2004
Replies: 4
Views: 2,790
Posted By XianBin
a net friend suggested me to try to make the assemble file and reading it,so I try to do it,then I konw clearly what the promgram does.
I try to introduce it, I hope everyone to understand what I...
Forum: C++ Sep 22nd, 2004
Replies: 5
Views: 6,479
Posted By XianBin
look this web site,it is a good tutoria for study C++.
http://www.cplusplus.com/doc/tutorial/

or you can reading "Essential C++" .
Forum: C Sep 20th, 2004
Replies: 14
Views: 11,003
Posted By XianBin
I like Tubor C/C++ very much.
The Path can modity in TC++,the step is:
1st: run tc-->select "Option"menu-->select "Directories..."
2nd: modity the path in the pop window. finally, press the "Ok"....
Forum: C Sep 19th, 2004
Replies: 4
Views: 2,790
Posted By XianBin
I don't how to description this puzzle, just like this:


int *fun_num()
{
int b = 123;
return &b;
}

char *fun_char()
Forum: C++ Sep 17th, 2004
Replies: 4
Views: 1,712
Posted By XianBin
by the way,you must include <conio.h> in your source files.
Forum: C++ Sep 17th, 2004
Replies: 4
Views: 1,712
Posted By XianBin
in Turbo C/C++, you can use the gotoxy(x, y) function to move the cur on the screen.
Forum: C Sep 17th, 2004
Replies: 3
Views: 3,404
Posted By XianBin
you can try it by yourself. :)
Forum: C++ Sep 12th, 2004
Replies: 8
Views: 3,049
Posted By XianBin
THe C++ Standard suggest we ought to using cin to get char or strings. you can use vector to store the strings. vector is a object but like a array.
Forum: C Sep 9th, 2004
Replies: 3
Views: 2,487
Posted By XianBin
or try this:
printf("stime %ld \n",tmp.tms_stime);
printf("utime %ld \n",tmp.tms_utime);
Forum: C Sep 9th, 2004
Replies: 3
Views: 2,487
Posted By XianBin
try this:

printf("stime %s \n",tmp.tms_stime);
printf("utime %s \n",tmp.tms_utime);
Forum: C++ Sep 7th, 2004
Replies: 5
Views: 2,585
Posted By XianBin
Forum: C++ Sep 7th, 2004
Replies: 5
Views: 2,585
Posted By XianBin
the book "Effective C++" have a item introduce cosnt,but a question i dont understand clearly.


class GamePlayer {
private:
static const int NUM_TURNS = 5; // constant eclaration
int...
Forum: C++ Sep 6th, 2004
Replies: 14
Views: 5,366
Posted By XianBin
int main()
{
double charge; // charge minnimum rate of 2 dollars for 3 hours
int hours;

//----------------------------
// Add a input statement

cin >> hours;
Forum: C++ Sep 5th, 2004
Replies: 6
Views: 8,771
Posted By XianBin
I think you can use Access database to store the passwords and use ADO controler to operation the database.
Forum: C Sep 5th, 2004
Replies: 6
Views: 2,689
Posted By XianBin
Yeah,it is hard to konw.
Forum: C++ Sep 5th, 2004
Replies: 8
Views: 3,841
Posted By XianBin
the first, you mustn't have any return statement in your main() function as if you use void main() declare. If you use int main() function, you must return a int value, otherwise your complier will...
Forum: C++ Sep 5th, 2004
Replies: 4
Views: 2,595
Posted By XianBin
yes, a perfectly C program must have a main() function.
Forum: C++ Sep 5th, 2004
Replies: 6
Views: 3,896
Posted By XianBin
Thank you very much, it is a good site for me to learn C++.
Forum: C Sep 5th, 2004
Replies: 6
Views: 2,207
Posted By XianBin
main() function is have tow paras like this : argv[], argc
int main(argv[],argc).

you can confirm if user input "<" character in DOS prompt.while argv[] was contain a "<" char , you can create a...
Forum: C++ Sep 4th, 2004
Replies: 3
Views: 1,879
Posted By XianBin
past the soreces on here.
Forum: C Sep 4th, 2004
Replies: 9
Views: 8,231
Posted By XianBin
r = no % 100;
==================
no = 120;
120 % 100 = 20;
130 % 100 = 30;
100 % 100 = 0;

I dont konw how to describle it in Eglish.
Forum: C Sep 4th, 2004
Replies: 12
Views: 3,313
Posted By XianBin
string is a class:
////////////////////////////////////////////////
// file name: string
#ifndef __STRING__
#define __STRING__

#include <std/bastring.h>

extern "C++" {
typedef basic_string...
Forum: C++ Sep 4th, 2004
Replies: 3
Views: 2,040
Posted By XianBin
I prefer the "Effective C++",It is a good book for improve your C++ programming.
Forum: C Aug 27th, 2004
Replies: 34
Views: 8,216
Posted By XianBin
try this:

//---------------------------------
// try_i.cpp
#include <iostream.h>

void main()
{
int i = 1;
int last_value;
Showing results 1 to 24 of 24

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC