233 Posted Topics
Re: Is this valid?..[icode]#pragma warning(disable:'warn code')[/icode]..:p | |
Re: Replace.. [code=c++] if(usrInput.c_str()[usrInput.length()-1]=='%') ... [/code] with [code=c++] if(usrInput[usrInput.length()-1] == '%') [/CODE] | |
Re: Or use..[icode]execlp(...)[/icode] | |
Re: Hello Xonxon..Are u Xonxon kesana kemari.. | |
Re: type "plot", "PLOT", "plot blah", "plot blah blah", "PLOT BLAH", "PLOT BLAH BLAH"..good luck.. | |
Re: [code=c++] void monthsSet::unionSet (monthsSet &B, int idx, bool val) { B.months[idx] = val; } [/code] | |
Re: 1TB,2TB and 3TB... ??? rite version... TB1,TB2 and TB3 | |
Re: Have u check preprocessor definitions configuration.. [icode]WIN32;NDEBUG;_WINDOWS[/icode] | |
Re: this one?.. [code=c++] ... cout << "\"Movie Name: " << setw(22) << movieTitle<<"\"" << endl; ... cout << "Movie Name: \" " << setw(22) << movieTitle <<"\""<< endl; ... [/code] | |
Re: Welcome..don't worry..the experts will help u..jusk ask them..:) | |
Re: [code] ... if(x==backspace) { i++; } ... [/code] :) | |
Re: Use GetProcAddress..ReadProcessMemory..etc.. | |
Re: it's called default constructor.. ->WHY in the parameter list does f= 0 and i = 0?.. prevent overflow/underflow i guess..i dont know why.. ->What does it do... Like all functions, a constructor can have default arguments. They are used to initialize member objects. If default values are supplied, the trailing … | |
Re: [code=c++] //--- Form 7 ... public: System::String ^str1; ... //--- Form 6 ... Form7 myForm; my_form.str1 = "Hello world"; ... [/code] | |
Re: Sorting.. [code=c++] void Stack::Swap(int x,int y) { int t=num[x]; num[x]=num[y]; num[y]=t; } void Stack::Sort() { int s="size now"; for(int i=s-1;i>0;i--) for(int j=0;j<i;j++) if(num[j]>num[(j)+1]) Swap(j,(j)+1); } [/code] | |
Re: 1+2*3 and (1+2)*3. What's the output.. | |
Re: yeah i guess... [code=c++] "c:/Docs/Source/a.txt" [/code] | |
Re: hey guyz...how about this... [icode]* If that input is '=' exits program *[/icode] that's the problem i guess..u can not delete/add something here.. | |
Re: Try this.. [code=c++] ... try { SmtpClient client("?Host?"); client.Port::set(587); MailMessage ^msg=gcnew MailMessage(); msg->To->Add("?dest?"); //... msg->From::set(gcnew MailAddress("?Sender?")); client.Send(msg); delete msg; } catch(System::Net::Mail::SmtpException ^e) { //...Error handle } ... [/code] | |
Re: [QUOTE=marco93;793995]Then you should learn how to use Google Groups. Adding a program at startup has been posted... 25000 times... for 18 years ![/QUOTE] that's not nice.. | |
Re: [code=c++] while(cin>>val) { //cin>>val; if(cin.fail()) { cin.clear(); cin.ignore(100); cout<<"please enter an interger"<<endl; continue; } else { sum+= val; n++; cout<<"please enter another interger..."<<endl; } } [/code] that is it..i guess.. | |
Re: [URL="http://www.daniweb.com/forums/announcement8-3.html"]http://www.daniweb.com/forums/announcement8-3.html[/URL] then we can continue.. | |
Re: SUGGESTION : use SpecialFolder for app settings.. | |
Re: The fopen() function shall fail if: [EACCES] Search permission is denied on a component of the path prefix, or the file exists and the permissions specified by mode are denied, or the file does not exist and write permission is denied for the parent directory of the file to be … | |
Re: that's funny...:P ... [code=c++] //.... myClass.b = 5; //.... [/code] | |
Re: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run what do u think?... | |
Re: u can use [code=c++] FindFirstFileW(...,...); and dont forget WIN32_FIND_DATAW [/code] | |
Re: [code=c++] //... if (enhp < 1) break; enhp = enhp-random_integer; //... [/code] | |
Re: [code=c++] char gradeLetter [4] = {'a', 'b', 'c', 'd'}; what do u think... int gradeLetter [4] = {'a', 'b', 'c', 'd'}; [/code] | |
Re: [code=c++] while(0 < 1) { stream_out<<"a "; } [/code] | |
Re: that's rite..u can use "release mode"..and then hide ur codes somewhere.. | |
Re: what is this?.. [code=c++] #define number 3 //... --number; [/code] let me introduce "strcpy" [code=c++] strcpy(char *_destination, const char *_source); [/code] are u sure that is bubble sort?.. | |
Re: in the source file..u can just go.. [code=c++] #include<string> #include... #include"someheader.h" #include"anotherheader.h" and remove #include<string> in the "someheader.h" [/code] | |
Re: see...[URL="http://en.wikipedia.org/wiki/Cramer%27s_rule"]Cramers rule[/URL]...then u can create your own library... | |
Re: [URL="www.snible.org/winsock"]............Winsock...........[/URL] | |
Re: [URL="http://gcc.gnu.org/ml/libstdc++/2008-08/msg00081.html"]<.................CLICK................>[/URL] | |
Re: try [code=c++] #include <iostream> //...or using namespace std; //... [/code] | |
Re: [URL="http://msdn.microsoft.com/en-us/library/ms648708.aspx"]....TRY THIS....[/URL] | |
Re: try to replace [code=c++] system("pause'); [/code] with.. [code=c++] cin.ignore(); [/code] | |
Re: try [code=c++] //---------------------------------------------------------------------------- //... private: System::Int32 m_x, m_y; //... //---------------------------------------------------------------------------- ON FORM1 MOUSE MOVE { m_x = e->X; m_y = e->Y; } //---------------------------------------------------------------------------- ON TEXTBOX1 MOUSE LEAVE { toolTip1->Hide(this); } //---------------------------------------------------------------------------- private: System::Void textBox2_MouseHover(System::Object^ sender, System::EventArgs^ e) { if( radioButton4->Checked ) { toolTip1->Show("Hello",this,m_x,m_y); } } //---------------------------------------------------------------------------- [/code] | |
Re: Yeay...maks array size is 65535 or 65536...i dont know exactly... | |
Re: both of them... ex: [code=c++] //-------------- <file1.h> -----------------// #include <iostream> //..header file class CClass { //... void funct(std::string &str); }; //-------------- </file1.h> -----------------// //-------------- <file1.cpp> -----------------// #include "file1.h" // header file //#include <...h> void CClass::funct(std::string &str) { //... } //... //-------------- </file1.cpp> -----------------// //-------------- <main_source_file> -----------------// #include "file1.h" // header … |
The End.