- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 70
- Posts with Upvotes
- 67
- Upvoting Members
- 53
- Downvotes Received
- 23
- Posts with Downvotes
- 21
- Downvoting Members
- 20
Hi guys ))
- Interests
- CODING.. OOP.
- PC Specs
- ubuntu 14.04,Macbook Pro 13inch retina, QT5(Monster)
Re: [QUOTE]In my HTML-page I am using following HTML + PHP-code: Today is: <? print(Date("l F d, Y")); ?>. I would expect to see: Today is: monday October 4, 2010. or something like that. The only thing I see is: Today is:. (mind the dot at the end.[/QUOTE] Do this.. [CODE]In … | |
Re: As Gris said. I will do th same. Sometimes the problem as very coders faces is not the code but logic and with a litle thinking can help solve our problems. You designed a very nice menu but complicated a simple exit. I just wonder how you couldnt see this … | |
Re: Another flavour....;)[CODE]def main(): print len([x for x in raw_input("enter a phrase:" ).split()]) main() [/CODE] | |
Re: You are contributing the following post: This is very simple. lets say you got table1, table2, table2. There are several ways to query mysql server, thus inner join, left join and right join. There is another easy for noob. check this out. [CODE]$query="SELECT * FROM table1,table2,table3 WHERE table1.t1_ID=table2.t2_ID AND table2.t2_ID=table3.t3_ID"; … | |
Re: All these scripts will start a new python instance. I think there must be a well developed scripts that check to see that a script instance has termiated before starting a new one. However maybe the poster does not need this. just give a shout if needed :) | |
Re: Next time show some code ok? `int foo = sizeof(array)/sizeof(int);` | |
Re: Can you atleast show some code mate.? We dont do homework here. We assist with homework. | |
Re: So maybe post your code and we can start from there. Also without any experience in signals and slots, You do not have any chance in GUI. Thats the whole point of GUI. | |
Re: You can also try this. This is according to your post > hello i'm trying to figure out how to write a program in c++ that check when i insert a password and force me to add at least 2 capital letters and 2 numbers in the password (you've seen … | |
| |
Re: > yes I got it...I did a basis mistake...I should include the header files in the begining. The basic logic is yes. | |
Re: You may wanna change your class name to say txt or whatever. Array is a C++ lib. MosChops just warned you aboout that. Now add change to say class txt and add this code. enum {MAX_INT=5};// global enum bool operator ==(txt a){ return a.getSize() == getSize(); } const int getSize(void)const{ … | |
Re: This is not automatic but easily doable. You now have the filtered records, You need to get all the filtered records by id, Use the id to change/update all the filtered records | |
Re: And what do you mean by manually? Please explain.... | |
Re: Why String^ to just a string?? change that. | |
Re: I think its better to use sort() from the algorithm lib. C++11 has make the language more rubost and powerful. I advice all the newbies to have a better grisp of the algorithm lib. Most of your woes you are facing are all done. Algorithm lib must be your household … | |
Re: Check your logic up. Use this to get the idea... #include <iostream> using namespace std; int main() { bool ff = true; short tt; short count=1; while(ff){ for(tt = 0 ; tt < count ; tt++){ std::cout <<"*"; } count +=5; std::cout<<endl; if(tt >= 50){ ff= false; } } return … | |
Re: Can you paste some results you get after running your code here. I think you are talking about how to format the data for use. I stand to be corrected anyway. | |
Re: try this. very simple[CODE]import time boom=59 while boom >0: time.sleep(1) print(boom) boom -=1 [/CODE] | |
Re: In your int main function you must return a value. int main always must return a value. | |
Re: 1. Show your code 2. Can you tell us what you intend to do with the url link later? eg. download an image file etc... | |
| Re: use this #include <iostream> using namespace std; int main() { int foo []={4555,1,56,2,7,4,5,60,7,8,9,90,8,12}; int temp; for(int i =0; i< sizeof(foo)/sizeof(int); i++ ){ for(int c =0; c< sizeof(foo)/sizeof(int); c++ ){ if(foo[c] > foo[i+1]){ temp = foo[c]; foo[c]=foo[i+1]; foo[i+1]=temp; } } } std::cout <<"\n"<<"\n"; for(int &d : foo){ std::cout <<d <<std::endl; } … |
Re: I have checked with your idea on your google code hosting page. I think its very interesting concept. I have downloaded your demo and source code to play with it.I will get back to you ASAP. | |
Re: First of all your your design or approach to your idea is wrong. you must understand or read more about templates. Every template must be initialized with a data type. 1.Example: in the main I don't see that. Eg. Node<?> *foo. Etc. 2. Your there is no data in your … | |
Re: So what is your problem now?? Do you have any issues?? | |
Re: I like personally the wx.FlexGridSizer than all the sizers. with FlexGridSizer and the normal wx.BoxSizer you can make layouts that you realy desire. ;) | |
|