- Strength to Increase Rep
- +8
- 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)
In my HTML-page I am using following HTML + PHP-code: [COLOR="Blue"]Today is: <? print(Date("l F d, Y")); ?>.[/COLOR] I would expect to see: [COLOR="Green"]Today is: monday October 4, 2010.[/COLOR] or something like that. The only thing I see is: [COLOR="red"]Today is:.[/COLOR] (mind the dot at the end. This means the … |
|
Hello DaniWeb! I am interested in learning computer programming, but have no previous experience. I've been told that Python is a good place to start, so I decided to give it a whirl. If anyone can help point me toward resources geared for the absolute beginner (learning both programming concepts … |
|
Hello, I found this code in a thread from about 18 months ago in a post by 'woooee' - [CODE]def func_1(): print " func_1 test" def func_2(): print " func_2 test" def func_3(): print " func_3 test" def func_4(): print " func_4 test" ##---------------------------------------------------------------- ## dictionary = list of function … |
|
Hello guys!! I really need your help, I'm starting to use python and I have to write a program that counts the letters of a sentence entered by the user. This is what I have so far, but I don't know why it is not working.. Please help, thank you … |
|
Hi, I'm kinda new to php and mysql. I'm making a basic shopping cart using 2 database tables. I want my cart to display items from the 2 tables into 1 html table. I ran into a problem giving the 2 database tables the same id name, so now I … |
|
Hi I have some python file.i runs these file one by one as below on unix server. python f4761sk3.py python f4761sk2.py python f4761sk1.py python f4761se3.py python f4761se2.py python f4761se1.py python f4761pl3.py python f4761pl2.py python f4761pl1.py python f4761no3.py python f4761no2.py python f4761no1.py python f4761nl3.py python f4761nl2.py python f4761nl1.py python f4761ie3.py python … |
|
Hi, So how exactly do we take the length of an int array? Lets say that there is an array called int nums []={2, 1, 2, 3, 4}; Is there a function that can be used to find it? |
|
Hello C++ Programmers; I would like to ask about running multiple text file; this text file don't have specific name; This one folder (Text Folder) have only text file (no specific counts); if there is other file like .xlsx or .jpeg or .bat or .etc. will be ignored; once I … |
|
Hi Guys, I wanna know how to change a label's text thats in a different form when the user presses a button in the mainform, I have heard about the Signals and Slots thing but not experienced enough to understand that, Please Help Me! |
|
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 this before right? when signing up for new account and checks for … |
|
The idea of this thread is to help the beginning Python programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own thread! The creators of Python are very active, improving the language all the time. Here is a little of the … |
|
class item { public: string name; string code; double price; }; class buyer { public: string name; int count; }; #include<string> #include<iostream> using namespace std; int main() { item item1; buyer buyer1,buyer2; double sum1,sum2,sumTotal; cout<<"enter name, code and price of item:"<<endl; cin>>item1.name>>item1.code>>item1.price; // The data for the first buyer cout … |
|
Ok guys ! I'm trying to study operator overloading. which i found the toughest article in OOP :( I tried a code for == operator overloading to check whether both arrays have same elements or not but it isn't working. Can anyone help? Here is my code: #include<iostream> using namespace … |
|
hi all i am new in qt/c++ i am trying to build a program with database using QTableView QLineEdit QComboBox.. the LineEdit shows a valiu the records filtered by that valiu.. now the ComboBox displays somenames with valius and what i want is that when i change the valius in … |
|
i have these function for create the tooltip: HWND CreateToolTip(HWND hwndTool, string text) { /*INITCOMMONCONTROLSEX icc; icc.dwSize = sizeof(INITCOMMONCONTROLSEX); icc.dwICC = ICC_BAR_CLASSES | ICC_TAB_CLASSES | ICC_WIN95_CLASSES; InitCommonControlsEx(&icc);*/ if (text=="") { return FALSE; } // Get the window of the tool. //HWND hwndTool = GetDlgItem(hDlg, toolID); // Create the tooltip. g_hInst … |
|
i'm making a programme in which there is a button to save new text file to disk, i make a programme but it not work help me what is the error i cant understand this private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { String^ add=textBox2->Text; String^ final=add+".txt"; ofstream save(final); save.close(); } |
|
so i tried sorting arr2 from lowest to highest value, but it only gives me 4 values and then the rest are zero. Any thoughts on how to fix this? #include <iostream> #include <iomanip> using namespace std; int main() { cout << fixed << setprecision(1); float userMin; float userMax; const … |
|
Guys I need some help... This is my program... #include<iostream> using namespace std; int main() #include<iostream> using namespace std; int main() { int a=1; int b=5; cout<<"*"; cin>>a; while <a=>5>; { cout<<"*"; ++a } return 0; } { And this will be the output of my program. * ** *** … |
|
Hello, I'm working on a small project to acquire information from regulations.gov using their API. It's fairly simple (codewise) what I'm trying to do. However, I get stuck with a "HTTP error 403: Forbidden". It means I'm connecting, but something seems to be the matter. I've been in contact with … |
|
Hi. I am not exactly new to python but I have never done anything related to time and I don't know how. I want to make a count down timer that starts when I start a program and then either closes when I close the program or when it counts … |
|
Reading Stroustrup: Programming -- Principles and Practice Using C++, chapter 4, exercise 4: "Write a program to play a numbers guessing game. The user thinks of a number between 1 and 100 and your program asks questions to figure out what the number is (e.g., "Is the number you are … |
|
Hi all I have a qt application in which I have a QTreewidget that displays some content in the QTextBrowser. I set the contents for the html document in the textbrowser using the setHtml() function. All I want now is to fetch the url of this html document so that … |
|
|
Umm my code doesn't work properly and I don't seem to find the solution for my problem. Code doesn't print the right numbers. Can anybody help? Thank you! #include <iostream> #include <conio.h> using namespace std; main(){ int number[] = {3, 5, 8, 1, 9, 2, 6, 4, 7, 10}; int … |
I need to calculate the digest value of the x509certificate and insert the siging process time. The signature format is XADES-BES |
|
MACHINE PROBLEM NUMBER 3 ROTATING SENTENCES Input File: rotate.txt In ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degrees clockwise. So instead of displaying the input sentences from left to right and top to bottom, your program will display them from top to bottom and … |
|
# Introduction # It allows all programs to potentially operate on data managed by this engine. Its structure is similar to Windows Registry with a difference, that it also supports BLOBs and its size is not limited. It could be used instead of filesystem directly. The equivalents of registry keys … |
|
//Hi all,can someone help with this problem //I am stack,need to output all functions in main,with user input for queue and stack,but first queue //This is my .h and .cpp of queue #include "stdafx.h" template <class ItemType> struct NodeType; template <class ItemType> class QueType { public: QueType(); // Class constructor. … |
|
How to make the code with Random numbers and Time Executation? #include <iostream> /* cout */ #include <cstdlib> /* srand, rand */ #include <ctime> /* time() */ #include <list> /* list */ #define BASE 10 // # of buckets to use #define ARRAY_SIZE 50 // max # of elements in … |
|
The idea of this thread is to help the beginning wxPython GUI programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own thread! For info on wxPython modules see: http://www.wxpython.org/docs/api/wx-module.html |
|
Hi guys, I have a class called Account with variables called Balance and Status. The Member Name is given by the User through cin and represents an the Account Number. How can I diynamically create an object through cin and give their variables a value through cin? I have been … |