Hey i was reading the documentation here and i read i can output string with new lines by 2 way
1st : /n
2nd end1;
1st one did it but 2nd don't want to work with me here is the code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// test.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
usingnamespace std;
int main()
{
cout<<"Hellworld"<<end1;
cout<<"None"<<end1;
cin.get();
cin.get();
return 0;
}
and i wrote that in the stadfx header
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "targetver.h"
#include <iostream>
#include <stdio.h>
#include <tchar.h>
#include <string>
// TODO: reference additional headers your program requires here
There error is end1 isn't declared
PS: sry for my english