please help with c++ programming can someone please help me with number 1
what i have : #include <iostream> using namespace std; int main() { cout << " ***** "<< endl; cout << " * * " << endl; cout << " * 0 0 * Astrology - the study of the movements and relative " << endl; cout << " * ! * positions of celestial bodies interpreted as having " << endl; cout << " * \ ______ / * an influence on human affairs and the natural world." << endl; cout << " * * " << endl; cout << " ***** " << endl; return 0; }
Why do you have so much blank space? Can't the first line just be: cout << " *****"<< endl;
oh it doesnt look like this in the visual studio lol idk what happen here
Oh weird :3
can you please help me D:
Hmm I dunno D: soz
okie lol
@518nad
kay whats wrong with the cod eup ther
it doesnt look like number 1 :/ the happy face looks all weird when i compile it
show me
screenshot
looks like this
loolololol
omg lool
hahaahah omg
ok just fix the space
oh i think i get it u need to add an ignore character on \
i added that but it doesnt appear
Marci, have you gotten into drawing triangles with asterisks yet? Using for loops? I always find those problems pretty fun lol
this '\' didnt show up because it probably does some function in c++
oh we havent gotten into looping yet D: thats like the next chapter so then what other symbol do i use lool
u gotta look at some thing, like umm try \\
let me find an online compiler so i can try it with u
Ya that's probably right :D We have to do that in C# for the curly brace {{
okie
pls post code for file reading
what you mean ?
for part 2 of the assignmentq
oh okay .. but there is also data files which displays the month and the yr
gimmme ill just open another file
do u like my slanted face
yeah lol These are the txt files January 10 2016 February 10 2016 March 10 2016 April 10 2016 May 10 2016 June 10 2016 July 10 2016 August 10 2016 October 2 1964 November 10 2016 December 10 2016 ____________________________________________________________ Invalid txt files Invalid 1. Txt: Nicholas 10 2016 Invalid 2. Txt: December -1 2015 Invalid 3. Txt: April 3 2017 Invalid 4. Txt: October 13 -2010 Invalid 5 txt: January 32 2016 Invalid 6 txt: February 30 2015 Invalid 7 txt: February 30 2016 Invalid 8 txt: June 31 2016
@518nad
hi, wheres the code for part 2
oh hi i didnt see any code for that :( but the document said to follow those text files ...
Join our real-time social learning platform and learn together with your friends!