Qt Programming Language
-
@JKSH said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
Would I put "Hi Annabelle!", in the spot of code where it would usually say "Hello World"? I'm confused!
Be adventurous and give it a try!
I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.
-
@Annabelle said in Qt Programming Language:
I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.
Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.
After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.
-
@JKSH said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.
Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.
After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.
That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".
-
@Annabelle said in Qt Programming Language:
Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.
After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.
That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".
To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?
-
@JKSH said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.
After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.
That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".
To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?
Yes.
-
@Annabelle said in Qt Programming Language:
@JKSH said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.
After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.
That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".
To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?
Yes.
Hmm, that is strange. However, without access to your PC, it's hard to tell what's wrong.
In any case, don't let yourself be hindered by little issues like this. Be proactive, and keep working your way through the tutorials.
-
@JKSH said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
@JKSH said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.
After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.
That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".
To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?
Yes.
Hmm, that is strange. However, without access to your PC, it's hard to tell what's wrong.
In any case, don't let yourself be hindered by little issues like this. Be proactive, and keep working your way through the tutorials.
I have Teamviewer, if you'd like to access it that way. Would you want my phone number for that method?
-
@Annabelle said in Qt Programming Language:
I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.
Annabelle, if you think about this logically that cannot be the right approach. You don't/must not have to create a new project in order to alter something like the output from a piece of code you have already written.
Why don't you go back now to the original project and have a stab at making the edits again? If that still produces the wrong output as you said, paste the code and we'll have a look at it.
-
@JonB said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.
Annabelle, if you think about this logically that cannot be the right approach. You don't/must not have to create a new project in order to alter something like the output from a piece of code you have already written.
Why don't you go back now to the original project and have a stab at making the edits again? If that still produces the wrong output as you said, paste the code and we'll have a look at it.
@JonB said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.
Annabelle, if you think about this logically that cannot be the right approach. You don't/must not have to create a new project in order to alter something like the output from a piece of code you have already written.
Why don't you go back now to the original project and have a stab at making the edits again? If that still produces the wrong output as you said, paste the code and we'll have a look at it.
Now my copy of Visual Studio has this message upon opening. "Your evaluation period has ended. Please sign in to your account to unlock the product." This seems rather strange, since I believe that Visual Studio Community is free. What do I do next?
-
@Annabelle said in Qt Programming Language:
Would you want my phone number for that method?
For your own security, please don't post your phone number or home address publicly.
@Annabelle said in Qt Programming Language:
Now my copy of Visual Studio has this message upon opening. "Your evaluation period has ended. Please sign in to your account to unlock the product." This seems rather strange, since I believe that Visual Studio Community is free. What do I do next?
Have a closer look at the message. It says "Please sign in to your account" (which tells you what to do next); it doesn't ask for payment.
-
@JKSH said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
Would you want my phone number for that method?
For your own security, please don't post your phone number or home address publicly.
@Annabelle said in Qt Programming Language:
Now my copy of Visual Studio has this message upon opening. "Your evaluation period has ended. Please sign in to your account to unlock the product." This seems rather strange, since I believe that Visual Studio Community is free. What do I do next?
Have a closer look at the message. It says "Please sign in to your account" (which tells you what to do next); it doesn't ask for payment.
I've tried signing in, but now my account has been temporarily suspended, even though I'm the only one who has signed into this account. When I said that I forgot my password, that somehow led to my account being suspended. What do I do now?
-
@Annabelle said in Qt Programming Language:
When I said that I forgot my password, that somehow led to my account being suspended.
https://support.microsoft.com/en-us/help/13956/microsoft-account-temporarily-suspended
-
@JKSH said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
When I said that I forgot my password, that somehow led to my account being suspended.
https://support.microsoft.com/en-us/help/13956/microsoft-account-temporarily-suspended
On that link, it says in Step 2: Enter a phone number to request a security code be sent to you via text message. This can be any phone that can receive text messages.
Trouble is, I don't have a phone that does texting, just a regular landline phone.
-
@Annabelle said in Qt Programming Language:
Trouble is, I don't have a phone that does texting, just a regular landline phone.
Microsoft says, "The phone number you use to receive this text message doesn't need to be associated with your account. It doesn't even need to be your own phone number. If your phone doesn't receive text messages, ask a friend or family member if you can use theirs."
Do you have any family/friends you can trust with this?
-
@JKSH said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
Trouble is, I don't have a phone that does texting, just a regular landline phone.
Microsoft says, "The phone number you use to receive this text message doesn't need to be associated with your account. It doesn't even need to be your own phone number. If your phone doesn't receive text messages, ask a friend or family member if you can use theirs."
Do you have any family/friends you can trust with this?
No I don't, because all my family and friends have just regular landlines and cell phones without texting options.
-
@Annabelle said in Qt Programming Language:
@JKSH said in Qt Programming Language:
Do you have any family/friends you can trust with this?
No I don't, because all my family and friends have just regular landlines and cell phones without texting options.
Cell phones without the ability to receive texts? I didn't realize these still existed!
If the common route is not available to you, then it's time to get creative and find ways to overcome your obstacles. Can you think of any ideas?
-
@JKSH said in Qt Programming Language:
@Annabelle said in Qt Programming Language:
@JKSH said in Qt Programming Language:
Do you have any family/friends you can trust with this?
No I don't, because all my family and friends have just regular landlines and cell phones without texting options.
Cell phones without the ability to receive texts? I didn't realize these still existed!
If the common route is not available to you, then it's time to get creative and find ways to overcome your obstacles. Can you think of any ideas?
I wish I could, but I'm not sure which way to turn. Interestingly enough, Microsoft thinks that someone might have used my Microsoft Account to send lots of junk mail. Trouble is, I'm the only one who knows the login details as far as I know. It was just a case of me somehow forgetting my password, and as a result, they didn't believe it was me that tried to sign in to my account. What kind of monkeyshine is that, I wonder? On top of that, they say your account could be temporarily suspended due to prolonged inactivity. To me, that makes just as much sense as a snake with no slither!
-
@Annabelle
Given that you seem to have come to an impasse using your Visual Studio, which need unlocking. If all else fails, what about:- Uninstall the VS completely from your PC, as best you can.
- Get yourself some brand new, free email address from Microsoft, Gmail or whoever.
- Use that to create whatever account MS wants for downloading VS, restarting from scratch.
Since the VS edition is free, I can't imagine MS cares what email address you use.
The only thing I cannot promise is: after you uninstall the current VS "evaluation" it is possible it will leave something around (in the registry) which it will notice and refuse to install a new evaluation. Hope not, but cannot guarantee.
Up to you, but it's one to proceed if you're not getting anywhere from where you are now....
-
@kshegunov
Would @Annabelle then be using Qt Creator (with MinGW) instead of VS? The thing we have to bear in mind is that changing IDE, or even compiler, could be a big thing for her?