That was not really my question. The Internet uses HTTP and TCP/IP protocols, the Mobile Phone service runs over the same physical network, but, with a different protocol. What is this different Protocol! Where is the Spec for it!
GPRS extends the GSM Packet circuit switched data capabilities and makes the following services possible:
SMS messaging and broadcasting
"Always on" internet access
Multimedia messaging service (MMS)
Push-to-talk over cellular (PoC)
Instant messaging and presence—wireless village
Internet applications for smart devices through wireless application protocol (WAP)
Point-to-point (P2P) service: inter-networking with the Internet (IP)
Point-to-multipoint (P2M) service: point-to-multipoint multicast and point-to-multipoint group calls
On most devices if they have a GPRS client it will then use a standard GPRS AT command set which is something like a more advanced Hayes AT modem command set.
the Mobile Phone service runs over the same physical network
As far as I know the mobile phone service runs over a totally different physical and logical network using radio transmission. Details of the actual protocol used can be found by sms protocol - Google Search[^].
Hi. What MFC control should I use in order to put a text in such a way that some text should have different background color, and most important, there will be several selection in this text, all of them with the same background color ...
I have tried with CRichEditView, and I could set a text color for several selection, but not color for background, only for text:
Plz Help Me, I am trying to make a school project which is a search engine that takes input from the user and searches the entered word or sentence within the files available. There's no compile error in the program but the program is not searching correctly the file which has the data. If the entered string matches any sentence or string in the file stored then it should display the result.
But the problem is that the strcmp or stricmp or any function which searches for a match is not working.
I am using it with if & else statement for now... If the string is in the file then it should show found else not found but it only works if there is only one word in the file. If the file which is to be searched has lots of data off course in the text format it always shows not found but if it has only one word then it says found. Plz help Me If You Can.
cout<<"write some text to search:";
cout<<"not found !";
Sorry for the incorrect edit.
The string was str which was getting the input and the string which reads the file is different as you said in the code.
I searched for the last word in the file and then it says found !. So that means it is working correctly but it's only searching for the last word in the file.
What to do ?
Put the test for equivalency inside the while loop. Currently the while loop reads all strings, when it exits the last string is in the variable, which you then test for.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
This looks like "Managed C++", Microsoft's mutilation of C++ so that it fits into the .NET environment. IIRC, it was written as a "gateway drug" to get Standard C++ programmers to use the .NET environment, eventually graduating to C#.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
Last Visit: 18-Dec-18 23:16 Last Update: 18-Dec-18 23:16