337 Posted Topics
Re: I can see what you trying to do ! But common show some courage ! get the first error and try to correct it ! read the error message ! | |
Re: if you are using the visual C++ then clearly there is no symbian C++. and this is a SMS gateway that I knew . It's configuration is also easy. [url]http://www.developershome.com/sms/freeLibForSMS.asp[/url] there you got possible options . or just simply you can try the PHONE AT command set to send SMS … | |
Re: [QUOTE=Willco;836108]hmm, those will be the same standards that took a perfectly reasonable language and loaded layer after layer of garbage on the top such that "Hello World" which used to be 5 lines long and exe at 20K is now well over 150 lines and makes an EXE of almost … | |
Re: [quote]"EXTRA characters on line"[/quote] This seems like a assembler producing error. Should be with the line number. Am i correct ? ( I just googled "EXTRA characters on line" ) | |
Re: There are free libraries for image file handling. May be this library will helpful to you. [url]http://cimg.sourceforge.net/[/url] [quote] Well i am a complete neophyte in this part of c++ programming. and by the way i would be glad if you could throw some insight on SDK ...? [/quote] are you … | |
Re: is this is the daniewb's offician spam thread ? we will loose a great amound of server bandwidth or server space for a unnecessary thread. As I knew earliear as a member , two internet communites dead and archieved due to starting a official leagal spaming thread. rules are there … | |
Re: you should let execute printMenu() call if only success. If not just print a "Invalid user " message. you can change your method [code] void login() [/code] to [code] int login(); [/code] say we are returning zero if login success -1 if otherwise. ( most of the Functions are implemented … | |
Re: the vector class have a copy constructor automatically do what you worrying about. But the original vector never changes. It creates a new vector<int> and copy the previous contents to it and after the function returns that newly created vector will be destroyed. so use this with caution . and … | |
Re: I just giving you an idea ! Just get the file size and overwrite that file full with random text until you finish filling the file size. Then normally delete that file. You can use the rand() function. Otherwise there is still a posibility to recover the file from HD. | |
This is the End user girl's agreement. Read it carefully and tick agree if you agree unless return it to the nearest stock office and widthdraw your money back at any time . If Disagree then tick disagree. [code] 1-touch her waist 2-talk to her 3-share secrets 4-give her your … | |
Re: [code] class enigma { private: public: enigma() { cout << "new enigma" << endl; plug_board board_1; reflector reflect_1; rotor roto_1; rotor roto_2; rotor roto_3; } ~enigma() { cout << "enigma gone" << endl; } }; [/code] if the plug_board , reflector and rotor are the composites of the enigma then … | |
Re: are you trying to write a keylogger or something like that ? am I correct ? Then using that program you are recording something . some key strokes and mouse evens like this. Yes you can do this on your secnario using the SendMessage () API call if you knows … | |
Re: [code] #include "stdafx.h" class Player{ private: int x;//player x/y position int y; public: Player(int _x, int _y);//constructor ~Player(void);//destructor }; Player::Player(int _x, int _y){ x = _x; y = _y; } int main(int argc, char* argv[]) { printf("Hello World!\n"); Player p1(10,20); Player p2(310,210); return 0; } [/code] I just try this … | |
hi all, I have successfully created and run knoppix USB flash disk. And i fully read that script and I think I underestood it enoughf. Then I create my IDE hard disk fat partition and format it as FAT32 and copy the files of the DSL linux to it and … | |
Re: [code] double P[1000], V[1000], T[1000]; [/code] Next time try to use a STL vector for this . you can make a struct that contains int P , int V and int T and make a vector of that struct. And Feel free to use the STL libraries , they are … | |
Re: Try this change and see , if you yet can't underestood the difference yet. and why we are using it. [code] #include"derived.h" #include<iostream> using namespace std; int main() { class derived d; cout<<"d.get_tag():"<<d.get_tag()<<endl; class base& b= d; cout<<"b.get_tag():"<<b.get_tag()<<endl; system("pause"); return 0; } [/code] | |
Today morning I head that news about that Sun is going to be sell to the IBM. well the most important thing is that most parts of the IBM is now owned by the chineese companies. and even , I'm a asian and a thing that I seen clearly is … | |
Re: you can't do one of the following even , if you thinks that way. That's the difference [code] char ** chararrayarray = { "My first string " , "My Second string " , "My third string", "My fourth string " }; [/code] the meaning of this is pointer to pointer … | |
Re: [QUOTE=jbennet;829159]we get told not to drink your water because its has more pollutants[/QUOTE] Agree ! USA is full of politics ! and the innocent clean water is get polluted cos of dirty politics ! Take it easy guys and girls here in asia the same secnario is there! Don't think … | |
Re: [quote] compute::compute(int _num1, int _num2) [/quote] One pice of advice , don't use '_' for the paramater names. That's not a good style. becos the compiler itself sometimes using these _ charater beginning variables , therefore this can be jam with them. read a style guide in C++. | |
Re: There is nothing special way to use it. It's like you asking how to use the notepad in windows. Just design your resource using the resource editor. and save it where your project source files are. and add it to the project. and add it as a resource ( just … | |
Re: [QUOTE=kkeith29;825870]If you have something specific in mind, I suggest creating your own. Don't over-complicate things with a bulky CMS if you are reaching for a simple solution. I can code a simple login system and a page editor (with the use of a wysiwyg editor) in a matter of hours.[/QUOTE] … | |
Re: [code] if (isEvenSided(pvalue) != false) {total++;} [/code] How can you compute the total outside the loop ? you should pass the total also as a reference. And inside the function you can make it to zero first and add it if even. First draw a structure chart. Then you can … | |
Re: [QUOTE=MosaicFuneral;827920]I've been directed to YouTube C++ tutorial videos, and they're crap by individuals who don't know [explicits] about C++ or programming. Just get a library card, that's how I got material to learn alot of things.[/QUOTE] He he.Get a old computer !install GNU linux and GNU C++ compilers debuggers and … | |
Re: [quote]The process abort when the output file get 2Gb fo size. [/quote] Idea : what about looking at the exit code ? see if it's equal to the return value that you are return inside your code ? If not some adnormal thing was happened. Then you can use a … | |
Re: I can give you the idea , but writing that entire program is up's to you. First think that I convert 10101 to decimal. Think in simple. = 2^0 * 1 + 2^1 * 0 + 2^2 *1 + 2^3 * 0 + 2^4 * 1 ....... so you can … | |
Re: [QUOTE=Ancient Dragon;827023]MFC has about a year's learning curve to learn it well, but you can get a basic program going in just a day or so. I assume OpenGL and wxWidgets is several months too. In all cases you need a pretty firm grasp of c++ fundamentals. You could use … | |
Re: if your input set ( problem space ) is a random set. Then burte forcing is the only way. Even backtracking is also impossible. | |
Re: [code="C++"] // vector.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using namespace std ; #include <vector> using std::vector; class ClassVectorPassing { const vector<int> my_vector ; public: // constructor takes the vector ClassVectorPassing ( vector<int> & youVector ) :my_vector ( youVector ) { } … | |
Re: just go to the intel web site , there is a good guide in the intel if ex i386 system programmers manual. There are other books for free. actually even not pirated even just check this book site . [url]http://www.computer-books.us/assembler.php[/url] and also there is a google book store for the … | |
Re: [quote] Is there any standard C++ programmers follow? [/quote] are you need coding standards ? yes there are .....[url]http://www.possibility.com/Cpp/CppCodingStandard.html[/url] But nobody is 100% using this as a rule , it's like nobody will read the entire documentation of the linux/unix. The above link is about general C++ coding standard. There … | |
Re: [quote]If i try to run it on another computer applications components appear in places other than designed making the program non functional.[/quote] so you said that release mode didn't slove your problem ???? or don't you tryied yet ? Try and change compiler and linker command line switches and parameaters … | |
hi all . This is realated and non-related to the technology , however I want to ask this from you techno greeks somebody don't like that I'm asking this directly but , now it's the correct time to ask this . Well I want to say this first I believe … | |
Re: [code="C++"] typedef char* LPCSTR; typedef wchar_t* LPWCSTR; #ifndef _UNICODE #define LPCTSTR LPCSTR; #else #define LPCTSTR LPWCSTR; #endif [/CODE] yes you correct that's the problem. that's unicode. allright , [quote] I tried to pass it in a Unicode string using _T(""), L"" Help with Code Tags (Toggle Plain Text) hFile = … | |
Re: go carefully again and again with your algorithm . If you unable to find it then just try a dry-run. Entering it the input "hello world" Think "hello world " and the "hello world" is different I think you got the point. | |
Re: [QUOTE=death_oclock;817658]Well since this is a PHP forum, i'll give you a PHP solution. You could pass the css file for the iframe to use in the url like so: [CODE=PHP]<iframe id="pframe" width="'.$game['iframewidth'].'" height="'.($game['iframeheight'] + 20).'" src="'.$path.'?style='.$style.'" frameborder="0" scrolling="no" align="middle"></iframe>[/CODE] where style is the css file. In the iframe page, get … | |
Re: [code="c++"] int main(int argc, char* argv[]) { char c = 'c'; if ( c == 'c' ) { cout << "yes working" << endl ; } // but if ( c == "c") { cout <<" problem ! "<< endl ; } return 0; } [/code] I think that you … |
The End.