How can I write a URL in a C++ program?

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Learning Education

include header file firstly using namespace std; int main() { http://www.google.co.in/ for (int i = 0; i < 5; i++) { cout << "This code is error free" << endl ; // Uncommenting below goto statement causes // infinite loop // goto http; ...
read more
include header file firstly using namespace std; int main() { http://www.google.co.in/ for (int i = 0; i < 5; i++) { cout << "This code is error free" << endl ; // Uncommenting below goto statement causes // infinite loop // goto http; } return 0; } read less
Comments

Tutor nine eight two one two zero seven four four eight

using namespace std; int main() { http://www.url.org/ for (int i = 0; i < 5; i++) { cout << "This code is error free" << endl ; // Uncommenting below goto statement causes // infinite loop // goto http; } return 0; }
Comments

Tutor

we can write URLs in a C++ code and it will not affect the program and the compiler will not throw any error. using namespace std; int main() { http://www.irbanpro.com/ for (int i = 0; i < 5; i++) { cout << "Hello" << endl ; } return 0; }
Comments

Computer Science C++, JAVA, Data Structure

To write URL you have to care about the slashes used in URL such as: Example: to write this URL https://atsedu.blogspot.in/ use fllowing code: printf("https:\/\/atsedu.blogspot.in\/");
Comments

View 2 more Answers

Related Questions

Which is older - Java or C?
C is older than JAVA
Baby
What is C language used for?
C language is a versatile programming language commonly used for system programming, developing operating systems, embedded systems, and creating various applications ranging from game development to scientific...
Anil
0 0
5
How can you be sure that a program follows the ANSI C standard?
The ANSI C standard provides a predefined symbol named __STDC__ that is set to 1 when the compiler is enforcing strict ANSI standard conformance. If you want your programs to be 100 percent ANSI conformant,...
Vibha
How can I make my C programming basics strong?
Practise more programs on each and every topic of C.
Mohit
0 0
5
I would like to know how we can use two dimensional arrays in strings? I would also know whether we can compare two dimensional strings?
// Two-dimensional array. int array2D = new int { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } }; // The same array with dimensions specified. int array2Da = new int { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7,...
Harsha

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Some interview questions for freshers on C language
Q1. What are the two forms of #include? There are two variants of #include. The one is #include and the other one is #include”file”. In general the first form that is #include is used to...

Is It Fine To Write “void main()” Or “main()” In C/C++?
The definition: void main() { /* ... */ } Is not and never has been C++, nor has it even been C. See the ISO C++ standard 3.6.1 or the ISO C standard 5.1.2.2.1. A conforming...

Set 0 To Kth Bit In A Variable
The following code snippet Set 0 to Kth Bit in an variable #include int UnsetBitValue(int n, int k);int main(){ printf("%d\n\n",UnsetBitValue(255,6)); return 0;}// Set kth bit to zeroint UnsetBitValue(int...

What is Safety-Critical Software?
A software whose failure may cause death or injuries to the users called Safety-Critical Software.The software present as part of Aeroplanes, or present in Rail as railway signalling software or Automotive...

Efficient Learning Strategies
Type your notes after class Write your notes onto flashcards - Scrabble -Make posters Review flashcards while walking, at gym, etc. Dog-ear pages in the reading where you can find...

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you