No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
16 Posted Topics
<table class="filetable" id="filetable"> <thead> <tr> <th width="25%">名称</th> <th width="6%">大小</th> <th width="10%">类型</th> <th width="19%">修改日期</th> <th width="40%"></th> </tr> </thead> <tbody id="FileList" runat="server"> <tr> <td><img src="images/f01.png" />Adobe Dreamweaver CS5简体中文绿色</td> <td>2013/10/14 17:38</td> <td>文件夹</td> <td class="tdlast">0 KB</td> <td></td> </tr> </tbody> </table> this is a table, I want to get the value of each FileName when …
My vitual machine (drived by CentOS) IP is 192.168.1.114 It can be successfully connected using SecureCRT and FileZila. I try to use Curl to implement file uploading and downloading, curl --ftp-ssl ftp://192.168.1.114 It doesn't work and there is no avaliable information on offical site. Who can tell me how to …
These days, I am busying in building up LAMP environment on CentOS 6.5 While installing phpMyAdmin,problems occur. By convension, I download phpMyAdmin zipped files,and then unzip it to /usr/share/phpMyAdmin. in the folder /etc/httpd/conf.d, I create a new file named phpmyadmin.conf. and add the follow content to it. Alias /phpmyadmin /usr/share/phpMyAdmin …
As I describled,I want to use the macro TRACE in conventional chracter-mode programming. When I try directly using the command TRACE(...),I encounted a mistake tips which says that TRACE ,identifier not found. So,what should I do to solve this problem?
Dear guys, I get stuck in a basic problem that is often overlooked. Like this , I can write code in such way. 1.#include"stdio.h" 2.void main#void#{ 3. double x; 4. scanf#"%f",&x#; 5. printf#"%f",x#; 6. } When I input a number like 3.0 ,however the result is a minus number. I …
Dear guys, I get stuck in a basic problem that is often overlooked. Like this , I can write code in such way. #include"stdio.h" void main(void){ double x; scanf("%f",&x); printf("%f",x); } When I input a number like 3.0 ,however the result is a minus number. I don't konw why ,anybody …
Dear friends, These days ,I am learning something related to linear list.In implmenting the function of realloc.I have been pullzed for several days,although I can use "include" method to directly use the function. However , I deeply wonder that how can I write my own code to solve such questions in …
I just wrote a simple code.Since it have no warnings or error attentions from the VC compiler,it TOTALLY doesn't work! What I wonder is whether the problem is due to the sequence of complying as well as how to figure it out. ------------------ Here is the code [CODE]#include<iostream> using namespace …
Aim: I am learning pointer of C,now I want to write a function to change the value of a variable . [CODE]#include<iostream> using namespace std; void change (int * k) { if (*k==1) *k==0; else *k==0; } void main() { int a=1; cout<<a<<endl; change(&a); cout<<a; }[/CODE] I thought that n …
Perhaps the program you are running is depend on the dll which was declared to be missed. Try to download such files and put it into the system32 root
As for book for new learner, I recommend you a book naming C++ Primer,which is easy to understand .
These days ,I am learning inheritance and dynamic binding. I could figure out what the code means. However, I can't see much point in setting such base classes So,I want to know why should we set up base classes and derived classes
Hey,guys I want to print a word in the center of a CMD's window If I can get the size of it,I could calculate the position where I put the word. Anybody who can help me? Much Thanks
[CODE]#include<iostream> using namespace std; void main() { int a[100] = {1,1,1,2,3,3,4,5,5,5,5,6}; int count[10] = {0}; int i; for(i = 0; i< 100; i++) count[a[i]]++; for(i = 1; i< 10; i++) { if(count[i]==1) cout<<i<<"--appreances for\t"<<"one time"<<endl; else if(count[i]!=0) cout<<i<<"--appreances for\t"<<count[i]<<" times"<<endl; } system("pause"); } [/CODE] Hope it will be helpful for …
Well, I define a function gotoxy(). [CODE]void gotoxy(int x, int y) //定位到第y行的第x列 { HANDLE hOutput; COORD loc; loc.X = x; loc.Y=y; hOutput = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleCursorPosition(hOutput, loc); return; }[/CODE] However,whenever I use it.There is a flashing cursor which is ugly to see. I want to get rid of it.But I don't …
Well,just using the method [CODE]v.empty()[/CODE] If the vector is empty,it will return a bool value .
The End.
tiredoy