Forum: C Sep 27th, 2004 |
| Replies: 4 Views: 2,805 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 20th, 2004 |
| Replies: 14 Views: 11,113 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,805 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: 3 Views: 3,463 you can try it by yourself. :) |
Forum: C Sep 9th, 2004 |
| Replies: 3 Views: 2,518 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,518 try this:
printf("stime %s \n",tmp.tms_stime);
printf("utime %s \n",tmp.tms_utime); |
Forum: C Sep 5th, 2004 |
| Replies: 6 Views: 2,713 |
Forum: C Sep 5th, 2004 |
| Replies: 6 Views: 2,230 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: 9 Views: 8,352 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,350 string is a class:
////////////////////////////////////////////////
// file name: string
#ifndef __STRING__
#define __STRING__
#include <std/bastring.h>
extern "C++" {
typedef basic_string... |
Forum: C Aug 27th, 2004 |
| Replies: 34 Views: 8,759 try this:
//---------------------------------
// try_i.cpp
#include <iostream.h>
void main()
{
int i = 1;
int last_value; |