i have thi xml page that causes error on the 'è' char.
<?xml version="1.0" encoding="utf-8" ?>
.....
<sottoarea>
<title> chi è </title>
</sottoarea>
......
oh that's clear now!
i didn't understand why giving for example
val=5
len>32
it seemed that it was repeating a pattern.... of 32 elements...
'cause int is 32 byte encoded.... :S
33 cause it's 32 + '\0' :D
thank you...
is there a way, in your opinion to make the func
void Dec2Bin(int val, int...
i tryed your function and it's not always good
try this
char buffer[33];
memset(buffer,0,33);
int val=5;
int len=50;
for(int i = len-1,j=0;j<len;i--,j++)
{
buffer[j] = ( (val & (1<<(i)) ? '1':'0'));
}
printf("%s",buffer);
it seems it returns a strange result...
i have this function
// Print binary representation of ints
#include <iostream>
using namespace std;
void main() {
int n;
while (cin >> n) {
cout << "decimal: " << n << endl;
// print binary with leading zeros
cout << "binary : ";
for (int i=31...
I am a beginner in php.
I found the php function mail() useful but i'd like
to if it's possible to send an html email....
which is the correct command?
mail($email,$subject,$text,.....?.....)
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.