-
Began Watching please need help html form
please need help html form auto ip fill <form action='konkursas.php' method='post'> <p>El. pašto adresas</p><input type='email' title="Čia turėtų būti jūsų email." name ='nail' size= '30'/> <input type='ip' title="jusu ip." name ='autofillip' … -
Replied To a Post in please need help html form
No input tag types "ip" and "email". Please check http://www.w3schools.com/tags/tag_input.asp -
Began Watching USING A COUNTER-CONROLLED WHILE LOOP
number1 = 0; number2 = 0; while(number1 < 5) number1 ++; number2 += number1; Question#1 : what is the value of number1 when the loop exits? Question#2 : what is … -
Replied To a Post in USING A COUNTER-CONROLLED WHILE LOOP
In your example, there is no difference "++" pattern before or after the "number1", but if you change your code to: #include <iostream> int main() { int number1 = 0; … -
Began Watching Switch vs. If
This program is supposed to run through the menus to eventually display the area or volume of a shape depending on the user's menu choices and input. However, it won't … -
Replied To a Post in Switch vs. If
Any case like this: case 1: cout <<"-- Area Menu --"<<'\n'; cout <<"1. Retangle"<<'\n'; cout <<"2. Circle"<<'\n'; cout <<"3. Right Triangle"<<'\n'; cout <<"Enter Menu Number Choice: "; cin >> areamenuitem; … -
Began Watching NEED HELP!! C++ Convert Decimal to Binary, Octal, and Hexadecimal
I want to convert some numbers to binary, octal, and hexadecimal.. for example: . DECIMAL......BINARY......OCTAL.....HEXADECIMAL ................................................................... 1.................00000001.....001.......1 2.................00000010.....002.......2 And so on.. -
Replied To a Post in NEED HELP!! C++ Convert Decimal to Binary, Octal, and Hexadecimal
http://www.daniweb.com/posts/jump/1971255 -
Began Watching simple linked list
How do I add second element ? right now it works and I get output of 13, but lets say I want list of 2 elements, how do I do … -
Replied To a Post in simple linked list
Pointers need to delete at the end #include <iostream> using namespace std; struct Vagon{ int num; Vagon *next; Vagon(int vNum){ num=vNum; next=NULL; }; ~Vagon(){}; }; class Voz{ private: Vagon *first; … -
Began Watching Hello!
Hello everyone! My name is Ainis, I am 15 years old. I want to announce that I am starting a new project called "Learning Programming In 2 Years". I got … -
Began Watching Create a sql Padding function
Hi Experts, I have to Pad some numbers that have decimal points and I have done it successfully as follows: SELECT case when len(myValue)=1 then RIGHT('000' + CAST(CAST(myValue AS float) … -
Replied To a Post in Create a sql Padding function
Maybe this useful `SELECT LPAD(CAST(myValue AS DECIMAL(4,2)), 5, '0');` The result will be: `11.5, 5.5, 2.25, 1, 12.25` AS `11.50 05.50 02.25 01.00 12.25` -
Began Watching simple while loop problem
so if I have const int SIZE = 4; and a while loop const int SIZE = 4; int counter = 0; while(true) { // do something ... if(SIZE == … -
Replied To a Post in simple while loop problem
const int SIZE = 4; int counter = 0; while(counter<SIZE) { // do something ... if(SIZE == counter+1) { cout << "Hello world"; } counter++; } -
Began Watching Sum of Corner elements in an 2D array
Hello Every body My question is very simple for you all experts, as I am learning how to write C++ program. I need a code for summing up the 4 … -
Replied To a Post in Sum of Corner elements in an 2D array
#include <iostream> #include <iomanip> int main() { srand(time(NULL)); const int a=5; const int b=5; int arr[a][b]; for(int i=0; i<a; i++){ for(int j=0; j<b; j++){ arr[i][j] = rand()%9+1; std::cout << std::setw(4) …
The End.