• 0

help im new


Question

hey peeps basicly im new ive read the first chapter and a half of a C++ book and its not how i work... im going to learn it hw i learnt php.. as i go along...

so im going to do my first program can any one tell me how i can make C++ code run a batch file using a .exe .

i want it to come up with a big background pic and writing in a box and then after 10 seconds it run the batch file i create and would the code you guys are hofully going to help me with good for any file i choose? could u maybe post some tips? or the basic code with directions to each part i learnt php this way in bout 6 months i hope the same with C++ basics down in a month *i hope* i pretty much know bout varibles and cin and cout thts bout it :D

Link to comment
https://www.neowin.net/forum/topic/719456-help-im-new/
Share on other sites

13 answers to this question

Recommended Posts

  • 0

The gap from PHP to C++ is actually surprisingly small. I'd suggest, writing the program you want to do in PHP, then try to translate it into C++. You may run into difficulties trying to get the picture and text to appear 'in a box' if you know nothing about GUI programming?

Out of curiosity, why do you want the C++ application to launch a batch file when it could just do whatever the batch file does itself?

Link to comment
https://www.neowin.net/forum/topic/719456-help-im-new/#findComment-590390222
Share on other sites

  • 0
The gap from PHP to C++ is actually surprisingly small. I'd suggest, writing the program you want to do in PHP, then try to translate it into C++. You may run into difficulties trying to get the picture and text to appear 'in a box' if you know nothing about GUI programming?

Out of curiosity, why do you want the C++ application to launch a batch file when it could just do whatever the batch file does itself?

i know tis why i choose c++ sadly the books u get complicate it.. i got a php libary through the post the over day to aid me so i dnt have to remeber everything.. i looked at it and the stuff i did know was complite so much in the book... same with this C++ book i have.. so i just wana try learning it this way... and i want to use a batch so i can practice running scripts from a script and programms ect ect .... :) just basic trainning really if you got any other ideas id love to hear them seriously i would i just wana hurry up and get it done so i can get a job lol every one wants C++ and javascript no one wants PHP tht much anymore:/ if they do there not in england

Link to comment
https://www.neowin.net/forum/topic/719456-help-im-new/#findComment-590392482
Share on other sites

  • 0
i know tis why i choose c++ sadly the books u get complicate it.. i got a php libary through the post the over day to aid me so i dnt have to remeber everything.. i looked at it and the stuff i did know was complite so much in the book... same with this C++ book i have.. so i just wana try learning it this way... and i want to use a batch so i can practice running scripts from a script and programms ect ect .... :) just basic trainning really if you got any other ideas id love to hear them seriously i would i just wana hurry up and get it done so i can get a job lol every one wants C++ and javascript no one wants PHP tht much anymore:/ if they do there not in england

Ok step one, install Firefox. It comes with spell check built in, I am sorry but you will thank me in the end.

Second....

hackncrap - and i want to use a batch so i can practice running scripts from a script and programms ect ect .... :)

keep in mind it's hard to hide intentions with a name like "Hack n crap"... and a profile containing:

Interests:

im in to building my website and extreme sporting all about the rush..

i enjoy hacking and i am currently into my own personal studies on this subject...so far so good =)

If you are looking to do something malicious you can do it with C++ by itself, and much more efficiently. PHP developers are in demand everywhere, living in England doesn't stop you, the beauty of programming jobs is they can be done remotely. You are also only 17 years old as shown in your profile, professional firms usually will not hire you without some sort of qualification. If you want to develop PHP for money, try something like www.getafreelancer.com.

Link to comment
https://www.neowin.net/forum/topic/719456-help-im-new/#findComment-590395130
Share on other sites

  • 0

Perhaps continuing your education would be a good idea based on what I've seen of your posts and website :x

Anyway, those teach yourself books may be tedious, especially if you have prior programming knowledge and/or you overestimate your ability, but run through the exercises learn it and learn it properly. It'll make you a better programmer and if you produce higher quality programs, you're more employable.

Link to comment
https://www.neowin.net/forum/topic/719456-help-im-new/#findComment-590395162
Share on other sites

  • 0
what? lol is it the design? or the lack of content in the hacking? im very busy lol :p im trying to build a forum which is nerly done .. just adding blocking and a few mod controlls.. i am crap at design i have no idea what would look good

The content is worse than the design. And that's saying something.

Link to comment
https://www.neowin.net/forum/topic/719456-help-im-new/#findComment-590397664
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Everyone else has said it. I'm gonna say it - you don't know what you're talking about. I do. I have two laptops. One work, one personal. I have access to two more laptops - both personal. At home I manually update my personal laptop when I see on Neowin that there is an update - I carry on and only apply the updates when I am ready. My work one only updates when my workplace decides to send it - I carry on and only apply the updates (when they actually arrive, which is usually days after the release) when I switch off the laptop at the end of the day as usual. The two other personal laptops only get updated when I get to it which is rarely - the people who own them carry on using them until I get to it and update them. All of the browsers on all laptops are configured to restore the tabs when launched. Google and Microsoft have changed from 6 weeks to 4, and it looks like it's going to move to 2. None of these changes affect how any of these browsers on the laptops are used. Not one jot. My advice to you is stop panicking whenever you see an update. Just carry on with what you're doing. This even benefits you in a way - from your comment you sound like you don't like the changes or the frivolous new features - great - then carry on as before!
    • AMAZON needs to take total accountability for this.
    • Server Summit had a heap of announcements, ADCS changes are baller.
    • Nice, hope they *finally* fixed the issue with the NTFS driver where the system would completely brick during large file copies using the built in driver. It's been broken for years requiring me to use the older, slower, NTFS-3G FUSE driver.
    • Windows 11 KB5094126 BSODing, freezing, forcing BitLocker lockout, breaks OneDrive, and more by Sayan Sen Microsoft released Windows 11 KB5094126 and KB5093998 last week as the latest Patch Tuesday updates. Following that the company also published the accompanying dynamic updates under KB5094149, KB5095971, and KB5094156. While Microsoft has so far not acknowledged any major problems with the release, some users online are running into problems. These range from OneDrive and Dropbox access issues, BitLocker recovery lockouts, to blue screens and BSODs. The most common one seems to be happening with HP systems wherein affected users say they hit 0xc0430001 BSOD (blue screen of death) error code after the KB5094126 update. We wonder if this could be related to the recent bug we covered on HP devices wherein the ongoing Secure Boot certificate updates are leading to similar issues. While we are not certain, users affected by this issue likely need to ensure that the boot.stl file is included on the installation media (such as a USB installer or ISO), if the above-mentioned dynamic updates are deployed. If this file is missing, computers may fail to boot from the installation media and could display the error 0xc0430001. This STL file is used by Secure Boot to verify that the boot files are trusted, so it must match the same Windows version and system architecture. To ensure the file is included, Microsoft recommends using the Update WinPE script, which automatically updates the image and handles the required files. Alternatively, you can manually copy the boot.stl file from the Windows\Boot\EFI folder on a Windows device and place it in the matching folder on your installation media before deploying the updated image. Aside from blue screening some users also note their systems have been freezing following the update. This could be happening to Lenovo PCs specifically. In the case of the OneDrive and Dropbox access issues, a user figured out that there could be a conflict with UAC. He explained: "Okay, so I did some digging, and in our environment KB5094126 breaks OneDrive and Dropbox in Explorer. I went through all our GPOs and found out that the combination of disabling UAC and having my user being a local admin breaks OneDrive in Explorer. ... If I enable UAC again, then it works, even with KB5094126 still installed." Hopefully, Microsoft will look into these issues. Source: Microsoft forum (link1, link2, link3, link4), Reddit (link1, link2, link3, link4)
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      197
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      80
  • Tell a friend

    Love Neowin? Tell a friend!