Timtoday's Posts
Nairaland Forum › Timtoday's Profile › Timtoday's Posts
1 2 (of 2 pages)
There is nothing wrong if you start programming learning C++. With C++11, C++14 and C++17 on the way, you really don't have to master C, to get your hands dirty. However, it depends on what you will like to major on. But even at that you can't be wrong knowing some stuff with either C++ or C. Then like someone previously mentioned. You can even start up with JavaScript. That language has a lot to offer these days than many people even realised. I will even prefer it to python in so many ways. However in the end languages are just tools. I will also advice to check the pin write on this forum too. Hope this helps. |
seunthomas:But the "thought" of such EXIT is horrifying to say the least. While on some system you could be "presented" with BSOD - blue screen of death. So, am sure that is why asking such question and giving an answer without explanation would raise some dust in so many corners and quarters. |
seunthomas:For all intent and purpose, why would one want to terminate a recursive function "allowing" stack overflow or scenario of out of memory? This has nothing to do with side taking. Whether a function return a data type or not (in the case of void, though void is consider a data type in a way), that should not make a program "crash" as an exit path. Am sure that wouldn't be a good program at all, except you are probably showing a case that causes such. But if the purpose of the function or program is to solve a specific issue but instead crashes, I don't think that is acceptable. |
Time reveals all things! "Sooner" or later, we shall know! |
Lol.... |
Check this https://en.wikipedia.org/wiki/Zika_virus#History and then this http://trstmh.oxfordjournals.org/content/46/5/509.short check to download this pdf Zika virus : A report on three cases of human infection during an epidemic of jaundice in Nigeria |
Dennis Ritchie. Any day, any time. Though he was recognised before he died, but not as much as the contribution he make to computing and programming generally. So so sad.. |
exxy:Are you sure your calculation is right? Nice work on getting something going. There are a number of thing, I think you can still work on though. Your variable should have meaningful name. Not first, second and the rest. Yes, I know you commented on that, but imagine writing a few hundred lines of codes, how do you remember which is which? Will you keep going back to the beginning of your program file? So names like: initial_ocean_level, ocean_level_mm, ocean_level_cm etc will be a lot better and reduce number of line of comments. Secondly, the way you are using namespace is not a very good habit. That is for another day. But I think you need to know that up front. You are inputting all the std namespace in another file all together. Yes, is a common practice is not a good one. Am sure you will appreciate it when you are taught scope and namespace. Lastly, check your calculations and your prompt string. I thought, what you are suppose to have is something like: "Input or Enter initial ocean level: " or somewhat according to the question. Just thinking aloud though. I have no seen your pm Ooo.. |
exxy:Please let us remain the bossthing. Thank you for that. The assignment is really simple like I mentioned earlier. Am sure you have it solved on paper already? |
exxy:What do you have written? I mean
|
exxy:How would you write it? Before we start using the syntax of C++ to express our thought, the question is just an arithmetic conversion. if for the past decade (10) years, the ocean level has raised 3.1 mm / yr. What is the value now? Then, in the next 20 yrs what will it be at the same rate. Do you remember 10mm make 1 cm songs we sang in primary school then , if you don't ask google, for how many mm makes 1 cm, then do the conversion, then how many cm makes 1 inch, or [ how many mm makes 1 inch ] then do the conversion. If you can do that with pen and paper, the rest will be a piece of cake! That is the C++ programming syntax! |
# 2
Used the following input (3+3), (5+2)*3), (2+2(( I might not have tested this enough though! Enjoy!!! |
Language: Perl - one-liner #1
to use the default function provided by Perl is like so:
# 3
# 4
# 6
All are one-liner Perl Scripts. |
sinequanon:How is that? Very Funny!!! |
But you can use ctrl+alt+delete to open task manage.Ahhaaa.. Simply, launching explorer again instead of chrome, which will restore the desktop and all the files not closed when the bat file that kill explorer was first ran. Don't follow blindly is the advice.You can say that without all the drama. |
I can even show the poor newbies how to shutdown your explorers:That is simply showing off bro. The bat files doesn't do any damage whatsoever. Simply, using Ctrl+Alt+Del, then switching off and re-logging in will restore the desktop. So what? In fact, using the help switch will tell anyone the function of the command to start with. You really want it to be so disturbing, then makes the bat file a start up services. Even at that you can work around it and delete the bat file. More so, are you using bsod as in "blue-screen-of-death"? Come on bro you can do better! |
Nice work on the tutorial. But all these could be done on a single line either on window OS or Linux OS. On Command Line Interface (CLI) on windows like thus: C:\> shutdown /s /t 45 /c "Shutting Down in 45secs" There is a whole lots of stuff can do with this just check using the help option on the shutdown command like so: C:\> shutdown \h You will see how to use the command and a whole lots of options that you can combine with it. On Linux OS: prompt> sudo /sbin/shutdown -h now |
1 2 (of 2 pages)
, if you don't ask google, for how many mm makes 1 cm, then do the conversion, then how many cm makes 1 inch, or [ how many mm makes 1 inch ] then do the conversion. 