I want to create a new line using chars is it possible? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

I want to create a new line using chars is it possible?

sample example char [] x = new char[2]; x [0] = 92; // \ x [1] = 110; // n for(){print("*"); if(==){ staticprint(x[0]);staticprint(x[1]);}} i just keep getting \n\n\n\n\n\n thanks

5th Oct 2017, 11:10 PM
D_Stark
D_Stark - avatar
4 Answers
+ 3
thanks jamie never knew they existed very helpful 👍
5th Oct 2017, 11:32 PM
D_Stark
D_Stark - avatar
+ 2
wouldent that give me a capital A?
5th Oct 2017, 11:24 PM
D_Stark
D_Stark - avatar
+ 1
oh yea i looked Hex and seen A haha. how did you know that? The ASCII Table im looking at shows a blank for Dec 10.
5th Oct 2017, 11:29 PM
D_Stark
D_Stark - avatar
0
google + search ascii table
6th Oct 2017, 10:48 AM
MBZH31
MBZH31 - avatar