namespace A{
int i;
}
int main(){
using A::i;
using A::i;
}
VS2010 - compiles fine
gcc (ideone) - compiles fine
Comeau - gives error ""ComeauTest.c", line 10: error: "i" has already been declared in the current scope using A::i;"
$7.3.3/8 - "A using-declaration is a declaration and can therefore be used repeatedly where (and only where) s body data Я создаю веб-запрос в ASP.NET, и мне нужно добавить кучу данных в тело. Как мне это сделать? var request = HttpWebRequest.Create (targetURL); request.Method = "PUT"; response = (...
I'm creating a web request in ASP.NET and I need to add a bunch of data to the body. How do I do that?
var request = HttpWebRequest.Create(targetURL); request.Method = "PUT"; response = (HttpWebResponse)request.GetResponse();