No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi people, I am trying to read a text file and count each words length. I have got these 2 things working, but I can't write the wordLength into text file. anyone can help me out. thanks a lot~~ there is the text file like: ------------- absent absolute absolutely absorb … | |
Hi people, Do you have any good sites for C++ MySQL.Especially how the 'query' part works in the C++. Thanks a lot!!! | |
i.e char fullname[80]; char * prt; [U]in MySQL we can write : select * from table1 where name='fullname'[/U] How to write in C++? while(fullname!=NULL) { executeQuery"select * from table1 where name='"+fullname+"'" }//----I tried this, but dont work. need your help please。。。。。 | |
Hi guys, I am working on progamm about reading some words in MySQL then display the results during run time command.But my code keep giving some MySQL errors about I can't read it. Am I making some mistakes with sequence? I am pretty new in C++. [code=cplusplus] //---------------here is code … | |
I have a small problem with string. How can I make the output str to be every single string i.e: string str="You are a good writer"; to be: str1="you"; str2=“are"; str3="a"; str4="good"; str5="writer"; //---------my_test_code,but not working yet. #include <iostream> #include <string> using namespace std; int main () { string str; … |