Topic List |
Page List:
1 |
---|---|
OhhhJa 09/27/18 11:31:38 PM #1: |
Taking an online course and the professor and assistant arent very responsive... got a midterm tomorrow and I'm trying to make sure I'm throughly prepared
... Copied to Clipboard!
|
snowboard340 09/27/18 11:37:45 PM #2: |
Sure, got any specific questions?
... Copied to Clipboard!
|
OhhhJa 09/27/18 11:44:10 PM #3: |
Awesome. I've figured out a lot but I'm trying to fully understand formatting. For instance, cout.precision... that refers to amount of digits to the right of the decimal point correct? If so, does that apply to the rest of the program or just the next output?
Much appreciated ... Copied to Clipboard!
|
OhhhJa 09/27/18 11:44:59 PM #4: |
Also... is there any difference between \n and endl?
... Copied to Clipboard!
|
AwesomeTurtwig 09/27/18 11:48:12 PM #5: |
For $50/hr yeah.
--- http://potders.com/sigs/1.gif My flash games: http://bit.ly/kO1BDd Rule free PotD: http://www.potders.com/forum/ ... Copied to Clipboard!
|
Lokarin 09/27/18 11:49:31 PM #6: |
I don't know how epsilon works in c++ >.>
--- "Salt cures Everything!" My YouTube: https://www.youtube.com/user/Nirakolov/videos ... Copied to Clipboard!
|
OhhhJa 09/27/18 11:53:25 PM #7: |
AwesomeTurtwig posted...
For $50/hr yeah. So that's like less than a dollar for a minute response... I'll PayPal you ... Copied to Clipboard!
|
Sahuagin 09/27/18 11:56:16 PM #8: |
http://www.cplusplus.com/reference/ostream/endl/?kw=endl
Inserts a new-line character and flushes the stream. http://www.cplusplus.com/reference/ios/ios_base/precision/ seems like it stays set. you can also write a short program to test it, which is almost always better than asking. --- ... Copied to Clipboard!
|
snowboard340 09/28/18 12:06:13 AM #9: |
yeah, what sahuagin posted. For almost all things C++, you can easily search google and find a bunch of good resources that will explain things in depth with examples (especially for basic C++ functionality). I do it at work all the time.
... Copied to Clipboard!
|
OhhhJa 09/28/18 12:07:03 AM #10: |
Sahuagin posted...
http://www.cplusplus.com/reference/ostream/endl/?kw=endlInserts a new-line character and flushes the stream. I appreciate it. I have zero experience with programming and this course is online with pretty much zero teaching so I've been going through YouTube vids to learn. But yeah, my assistant just emailed me saying the same thing about just repeatedly testing different chunks of code ... Copied to Clipboard!
|
Sahuagin 09/28/18 1:52:57 AM #11: |
OhhhJa posted...
I appreciate it. I have zero experience with programming and this course is online with pretty much zero teaching so I've been going through YouTube vids to learn. But yeah, my assistant just emailed me saying the same thing about just repeatedly testing different chunks of code just to be clear, while on the one hand I am trying to say "learn to read documentation" and "learn to write test code", not really trying to discourage questions either. --- ... Copied to Clipboard!
|
Topic List |
Page List:
1 |