Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~9K People Reached
About Me

IT

Favorite Tags

57 Posted Topics

Member Avatar for shasha821110

Hello all i have one class about website this semester. and the teacher introduce us the XAMPP so i download and install it but not know how to use that. so is there anybody know how to use that and give me some brief about it? Thanks so much and …

Member Avatar for VR4Creativity
0
191
Member Avatar for shasha821110

Hi, all I have questions about the google sitelinks. I know Google sitelinks is completely automatically generate for the website and it depend on the Google. but how could i change my site structure to make the google algorithm find my links? if i create some specify subdomains or directory, …

Member Avatar for rahulbatra
0
312
Member Avatar for cassie_sanford
Member Avatar for Fbody
0
410
Member Avatar for osan
Member Avatar for jencas
0
90
Member Avatar for shasha821110

Hi, all. I am implementing the final now. Here is one jquery syntax i want to ask. I have been stuck by this problem more than hours. Here is what i did HTML part [CODE = html] <table> <tr> <td> table head </td> </tr> <tr id="mytr">//here i want to get …

Member Avatar for shasha821110
0
77
Member Avatar for shasha821110

Hi,all I am implementing the required assignment and face compiler error which i do not understand. Here is my class: [CODE=c++] class fooPlayer { public: fooPlayerfunc(){}//doing something here char askYesNo(std::string question); }; class fooPlayerFactory { public: virtual std::auto_ptr<fooPlayer> MakePlayerX() const; virtual std::auto_ptr<fooPlayer> MakePlayerO() const; private: std::auto_ptr<fooPlayer> MakePlayer(char letter) const; std::auto_ptr<fooPlayer> …

Member Avatar for MrSpigot
0
110
Member Avatar for shasha821110

Hi, all I am using simplexml_load_file() function to get the rss and change it to the XML and get the elements. But i got the error information like below: [CODE=php]failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable in [/CODE] My code is like this: [CODE=php] $zip = …

Member Avatar for martin5211
0
217
Member Avatar for shasha821110

Hi,all Here is the sql sentence i wrote on my php file. But when i test with it nothing show up which there should have some results?? My idea is :get the sw and ne point, choose every value live inside the rectangle in my database [CODE=php]//zips is my table …

Member Avatar for ShawnCplus
0
86
Member Avatar for shasha821110

Hi, all I am trying to write the function to get rid of my punctuations. My code: [CODE] //_word_list is the vector<string> type void TextUtil::isnotpuct() const { for(size_t i=0; i<_word_list.size(); i++) { size_t len = _word_list[i].length() + 1; for(size_t j=0; j< len;j++) { if(ispunct(_word_list[i][j])) { _word_list[i] = ""; } j++; …

Member Avatar for ArkM
0
75
Member Avatar for shasha821110

Hi, all I got stuck by the erase function usage. here is my code: [CODE=C++] //A is my class //this function is used for judge weather there is a punctuation in //the word and get rid of it. void A::isnotpuct(const string& wordlist) const { size_t len = wordlist.length() +1; for(size_t …

Member Avatar for Narue
0
77
Member Avatar for shasha821110

Hi, all its me again! I got really stuck by the STL library and do not know how to correct that. Here is my class code: [CODE=C++] class A { public: A( const string& filename ) { ifstream file(filename.c_str()) ; string word; while( file >> word) { _word_list.push_back(word); } } …

Member Avatar for tux4life
0
162
Member Avatar for shasha821110

Hi, all its me again! Still stuck with the STL function usage. but this time face the sort function problems! here is my class: [CODE=C++] class A { public: A( const string& filename ) { ifstream file(filename.c_str()) ; string word; while( file >> word) { _word_list.push_back(word); } } StringIntVector topNWords(size_t …

Member Avatar for Narue
0
147
Member Avatar for shasha821110

Stuck by another problem about the vector, map functions the topnwords function is to find the top n times words occurrence Here is my code: [CODE=c++] //stringvector is the type-- //typedef vector< pair < string, int > > StringIntVector; StringIntVector TextUtil::topNWords(size_t n) const { map<string, int> freq; for(size_t i=0; i<_word_list.size(); …

Member Avatar for nucleon
0
192
Member Avatar for shasha821110

Hi, all i have one assignment about using some of the STL to read from .txt file and count the words and find the topnwords etc. So i implement my class like that: [CODE=c++] class A { public: A( const string& filename ) { ifstream file( filename.c_str() ) ; string …

Member Avatar for tux4life
0
129
Member Avatar for shasha821110

Hi, all I am the STL beginner and also kind of new in c++. And i got one assignment about write the text utility class with pieces of STL. So the following two function implement totally freak me out. wordlengths() finds and returns the number of words of different lengths …

Member Avatar for orwell84
0
125
Member Avatar for shasha821110

Hello, all I want to implement the required portfolio function and print out the customers related symbol name, symbol buyin price ,symbol quantity, symbol last trade price, the changes etc But i found some issues with it. Here is my code: [code=php] //fetch the element from mysql while ($row = …

Member Avatar for nav33n
0
119
Member Avatar for shasha821110

Hi, all I have one assignment about implement the stock website. i stuck in some problem which i can't solve. i want to implement one function which all the $row related to the $result in sql and for each row initialize the class once. i found if i gave the …

Member Avatar for shasha821110
0
88
Member Avatar for shasha821110

Hi, all When i type Daniweb in google, it comes out really clearly site map in google. for example like: [CODE] DaniWeb IT Discussion Community - Software Programming / Web ... Forums Web Development Java Forum JavaScript PHP Software Development [/CODE] I made the write the googlesitemap.xml file and upload …

Member Avatar for shasha821110
0
168
Member Avatar for shasha821110

Hi,all I want to ask for the php code to check the password validation? It couldn't be entire alphabetic or entirely numeric? Thanks.

Member Avatar for shasha821110
0
140
Member Avatar for shasha821110

Hi, all I tried this many times in XAMPP. It always not give me direct which stuck me now. Here is my code: [code=php]if (mysql_num_rows($result) == 1) { $_SESSION["authenticated"] = TRUE; redirect("index.php"); } else { die("could not find a row"); }[/code] My redirect function code is really normal: [code=php] function …

Member Avatar for somedude3488
0
58
Member Avatar for shasha821110

Hi, all. Really new on php!! I want to implement one function which could get the price depending on different size and calculate the total price. So i made foo.php and bar.php. Which people could choose the size and the price in foo.php and want to pass which they choose …

Member Avatar for Monalisaparker
0
155
Member Avatar for shasha821110

Hi, all i want to have the "add to cart" function in my website which use session function: Well basically the cart is mostly like others website cart: remember which have already been added and could add something more Assume i have class.php, A.php and B.php In my A.php [CODE=php]<?php …

Member Avatar for shasha821110
0
90
Member Avatar for shasha821110

Hi, all. when i run my code, i always got the xpath Invalid expression warning. So here is my question: Assume i have the xml file [code=php] <root> <items> <item id="1"> <name> item1 </name> </item> <item id="2"> <name> item2 </name> </item> </items> </root> [/code] And here is my php code …

Member Avatar for pritaeas
0
224
Member Avatar for shasha821110

Hi, all. I have one question: I am writing my-string class now according to the assignment. And like other String class assignment, we have to overload the operator, do the difference type constructor, etc. Well, i almost finish my assignment. But there have one problem with my code. I am …

Member Avatar for William Hemsworth
0
253
Member Avatar for shasha821110

I know for some C++ experts this class overload is like a piece of cake but as a beginner we always asked to write this again and again. My code as following don't have compiler problem but have strange output. [code=c++] Class String { public: String (const String& s); String& …

Member Avatar for siddhant3s
0
77
Member Avatar for shasha821110

Really new in PHP So don't know what to do now?? I have a form which have one select button have different catalog. And i want to do when i choose one catalog, my page will show what's that related. here is my form code: [CODE]<form action="index.php" method=GET name=chcat > …

Member Avatar for cwarn23
0
519
Member Avatar for shasha821110

Hi, all i have one project about doing pizza ordering system using PHP+XML So about the design website part i already have bunch of ideas. The part make me stuck is the XML part. The following is what required: [LIST] [*]. [/LIST]Spend some time thinking about how best to represent …

Member Avatar for shasha821110
0
632
Member Avatar for rohnni
Member Avatar for shasha821110

Hi, all read some articles these days and want to know how good or how bad the YUI library is?? Thanks.

0
45
Member Avatar for shasha821110

Hi, all i am new on Web Development. I know there have a lot of articles about this subject on internet. But just want to ask for some experts in DANIWEB. What's their feeling and tips after many years web developing. Now i feel like: My biggest problem is the …

Member Avatar for webcatalyst.org
0
78
Member Avatar for monocog

Here is my advice: Correct me if i am wrong. [code=c++] class MYLIST { private: int *front; int *end; int *current; int size; int elements_value; int top; public: MYLIST() { //constructor is here, initialize your private elements. } ~MYLIST() {} void insert_front(); void insert_after(); bool empty(); void display();// this one …

Member Avatar for nucleon
0
166
Member Avatar for shasha821110

Hi, all Like i asked before, This thread is about Memory Leak. I am a beginner in c++ and want to become a senior programmer. When i was coding, i found the memory leak is happening everywhere and maybe some senior programmer also have this problem. So i want to …

Member Avatar for William Hemsworth
0
110
Member Avatar for shasha821110

Hi, all i am reading some memory leaking problem articles now. Here is one question i can't understand: [code=c++] char *a= new char[10]; char *b= new char[10]; b=a;//pointer assignment delete []b; [/code] In this article, it mentioned that the pointer assignment have side-effect and we couldn't delete pointer b from …

Member Avatar for verruckt24
0
145
Member Avatar for cproud21
Member Avatar for shasha821110

Hi, all i have big assignment and don't have any compiler problem just have runtime bug--this make more headache. Here is the driver; [code=cplusplus] int main{ int * values2 = new int [ARRAY_SIZE * 2]; values2[ARRAY_SIZE * 2 - 2] = 8; values2[ARRAY_SIZE * 2 - 1] = 5; stack.pop …

Member Avatar for shasha821110
0
104
Member Avatar for shasha821110

Hi, my company have a big project now. Which we have some video detection software and could create some investigation figure. We want to do plug-in into the Powerpoint and i am kind of junior here. But i really want to do more in my company. So i want to …

Member Avatar for shasha821110
0
149
Member Avatar for Udxero

Hi, i test your code and i was thinking(don't know weather its correct or not) maybe for the greatest function you should do in this way: [code=c++] if(case 'A') { cout << "Enter the number of numbers to be compared. \n"; cin >> numbers; for(int i=0; i< numbers; i++) { …

Member Avatar for shasha821110
0
251
Member Avatar for shasha821110

Hi, all. I am learning Web Design now. And my course is about dynamic website and the script is php, xml, html, sql and so on. So i want to have some idea about which software platform i should use to design my website. I have dreamweaver, PHP Editor. So …

Member Avatar for Jen0608
0
223
Member Avatar for shasha821110

Hi, just want to know which software is the best for PHP. I use PHPeditor and Notepad++ So how about you guys??

Member Avatar for almostbob
0
121
Member Avatar for shasha821110

Hi, all I want to make my website search able and search easy on google on other search website. So is the code <meta name="keywords" content="something"> could really help me?? Or there have other tips to do that. Thanks.

Member Avatar for MidiMagic
0
90
Member Avatar for shasha821110

Hi, all. i installed the XAMPP and run the [url]http://localhost[/url]. It seems fine for me and it show some welcome and "it works" information. But when i click SQL Admin, it couldn't run correctly. It always have some error information show up. the problem is like the attachment show up. …

Member Avatar for shasha821110
0
68
Member Avatar for shasha821110

Hi, all i have the assignment about program which reads in integers from cin until the user enters a non-integer (a character or EOF), then print out the average. Its pretty simple assignment but i am kind of new. So the following is my code and seems like have some …

Member Avatar for soroushc
0
158
Member Avatar for Himerz
Member Avatar for Himerz
0
300
Member Avatar for lameassthemity
Member Avatar for shasha821110

Hi, all I am new in this forum. These days i was thinking improving my website. I review a bunch of website and find my website are all using tables. So is there have some could answer me weather using table to write and design a website could cause problems?? …

Member Avatar for shasha821110
0
162
Member Avatar for maddy05

read your code and have some personal suggestions about that: is it better to have different classes like [ICODE]class libmembers { }[/ICODE] [ICODE]class libusers { }[/ICODE] [ICODE]class book { }[/ICODE] ??

Member Avatar for Murtan
0
245
Member Avatar for magnum7
Member Avatar for athlon32
Member Avatar for shadowfire36
Member Avatar for nickichl

i test your program, here is some suggestions: 1) use int main() instead of void main() 2) the first menu of the switch should do the menu 1 first and then menu 2 so if at first i choose menu 2 at the first time it will cause problem. 3) …

Member Avatar for nickichl
0
278

The End.