InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1551. |
Solve : embedding excell in an html file? |
|
Answer» I am working on a website for a CLIENT who NEEDED me to embed excell spreadsheets in a few pages. I have no experience with excell so he simply gave me an object tag containing the spreadsheets to copy and paste. Everything works fine except USERS with Office 2003 cannot view the actual speadsheets. They recieve an error message stating "To use this Web page interactively, you must have Microsoft® Internet EXPLORER 4.01 or later and the Microsoft Office Web Components." I don't even have excell on my computer and I can view the spreadsheets just fine. The settings on my client's pc are corrrect but he cannot view the excell becuase if Office 2003. We know this is the problem because every other PC in the office pulls up the spreadsheets. Is there anything I can ADD to the code that would enable all users to to view the spread sheets.? I am tottaly baffled because I don't understand the object tag to begin with. If there is anyone who can help I would appreciate it. |
|
| 1552. |
Solve : Using batch file to name files in sequence? |
| Answer» HI, I have a problem with files downloaded from my digital CAMERA, they always have funny NAMES, is there a batch file I can use to rename those files in the folder in sequance? EG, name the files to Holiday01, Holiday02.... etc...? Thanks.. | |
| 1553. |
Solve : MySQL weasy backup? |
|
Answer» hey, I found such an easy way to backup your databases on MySQL if it crashes. First, TAKE the folder data from mysql dir, then copy it where ever u want it, then its backed up. To restore, replace the OLD fiolder with the NEW! my mysql crashed and i did this and i was like WHOA! All my users and databases were restored. Oh yeah, to delete the mysql service, the key to servicesw is /HKEY_LOCAL_MACHINE/SYSTEM/CurentConfig/services , delete the mysql folder, and BINGO ( u have to do this to reinstall mysql, i learnedf that the hard way LOL |
|
| 1554. |
Solve : Using BLAT as a mail notification service in GITLAB? |
|
Answer» Using BLAT as a MAIL NOTIFICATION SERVICE in GITLAB. |
|
| 1555. |
Solve : Program Activity Graph Routine in GW Basic? |
|
Answer» I am having GREAT difficulties to WRITE a COMPUTER program in GW BASIC to find the longest path in a project network (critical path) as per EXAMPLE attached. |
|
| 1556. |
Solve : Wanted: programmer to remove the bell icon of notification in every webpage.? |
|
Answer» There is a bell icon of notification in every WEBPAGE of the site I am accessing. |
|
| 1557. |
Solve : Screen Recording Library/Language Suggestions? |
|
Answer» Hello all, I am going to try it in Python next to see if I can make it more efficient and get access to other windows in a less roundabout way. python-ffmpeg? |
|
| 1558. |
Solve : Batch script should send a mail for the error output? |
|
Answer» This script runs under Powershell Windows, USES Curl and I made an attempt at a Powershell version of the Blat command line: |
|
| 1559. |
Solve : Visual studio data formats? |
|
Answer» Can anyone offer any advice? |
|
| 1560. |
Solve : Shutting Programs down? |
|
Answer» I want to shut down programs that are RUNNING in the background. It has a BOX that you can CHECK or uncheck what programs you want running. |
|
| 1561. |
Solve : Looking into Folders using Visual Basic? |
|
Answer» HEY everyone, is there a way in Visual Basic(VB6) to automatically LOOK into a folder and add a FILENAME to a listbox? or part of a filename(e.g. c:\ver_25, but the program would automatically extract only the 25 when you start the program) Any Help is greatly appreciated, THANKS!i found out how to do it, you have to declare a variable as type "folder" then use the "GetFolder" method to get the folder. You can even get the subfolders by using the ".subfolder" method. Thanks anyways everyone |
|
| 1562. |
Solve : SAM file? |
|
Answer» ok from the looks of this SITE no one really messes with the sam FILE but i need to know a batch file beside AUTOEXEC that starts at STARTUP on WINDOWS 2000, ME,XP |
|
| 1563. |
Solve : Problem with batch file? |
|
Answer» If i run this file it says he can't copy some files because the file been used or somethink WHATS wrong with did i forgat some think? |
|
| 1564. |
Solve : Multiline variable in Batch script? |
|
Answer» For work I frequently need to email the same emails to users who need my ASSISTANCE. Things like "I'm glad I was able to ASSIST you, if you need ..." |
|
| 1565. |
Solve : Batch to access toolbar? |
|
Answer» I have written a batch FILE that will open the url for my online portfolio. How do I ACCESS File>Send>PAGE by email? |
|
| 1566. |
Solve : How does a computer “wait” time?? |
|
Answer» Me and a friend were discussing how programming languages can perform asynchronous tasks, LIKE waiting 15 seconds before PERFORMING another task, and we started a debate. Me and a friend were discussing how programming languages can perform asynchronous tasks, like waiting 15 seconds before performing another task, and we started a debate. The CMOS data is used only when the computer starts to get the current date and time after which the OS updates the date and time. If software needs an interval TIMED it uses timer interrupts. Here is a better explanation than I can do https://www.visualmicro.com/page/Timer-Interrupts-Explained.aspxQuote from: Lisa_maree on December 01, 2020, 03:35:15 PM The CMOS data is used only when the computer starts to get the current date and time after which the OS updates the date and time. If software needs an interval timed it uses timer interrupts. I got sufficient information from your soul of heart.Thank you so much |
|
| 1567. |
Solve : Lex & Yacc How to ?? |
|
Answer» by the NAME of allah |
|
| 1568. |
Solve : Setting up a dual boot system? |
|
Answer» HI everyone, I'm new to the forum and was wondering if you COULD help me with this. Basically I have 2 hard drives. Hd1 I use for plying media, work, create documents, etc. Hd2 I use only for gaming (it has a frontend application installed which automatically loads all my library). What I want is for my system to ask me which drive I'd like to boot from automatically when I turn on my computer. If nothing is SELECTED in 15s then the system should select automatically Hd1 and proceed with the booting process. Let me know if this makes sense. Thank you in advance for the help. I'm scared to tell you how to do what you are asking. It's not something the average person should be messing with.. and requires some advanced computer knowledge. Especially when it COMES to Win10 which I have to assume you are using. So can I steer you into a safer/easier/better way to GET the same result. 1. Buy this: https://www.amazon.com/Kingwin-Optimized-Controls-Provide-Longevity/dp/B00TZR3E70?th=1 (Kingwin Hard Drive Power Switch Module) 2. Set your boot order in the bios. "Gaming" drive Hd2 to load 1st. Default drive "Hd1" to load 2nd. 2b. If you have a hot-swap option in your bios, turn it on as well. But it's not necessary. 3. Install the switch & connect your 'gaming' drive to the Kingwin device. 4. Any time you want to game, just press the 'on' button before you power the system on. 5. Done. And you didn't brick Windows by messing with the bootloader. --- If you really want to have the boot menu option, start studying here: https://www.boyans.net/ |
|
| 1569. |
Solve : qbasic programming? |
|
Answer» hi guys. i'm programming in qbasic. and i need to activate my menus when alt. key is PRESSED. but i could not do this. while i could perform some actions but pressing alt+(any key). |
|
| 1570. |
Solve : Book for Python? |
|
Answer» Hello all, I want to learn Python. I am a beginner and want to learn Python from SCRATCH, please suggest to me which ONLINE course is best to learn python and suggest some good book also. |
|
| 1571. |
Solve : How to Learn Python? |
|
Answer» Hello EVERYONE, I am 24 years old and I want to build my career as a python developer. I have completed my 6 month internship in some python related projects. Now I am looking for a roadmap from step to step. where i can know how to learn python quickly. Can anyone know the essential SKILLS for becoming a python developer? I cannot not answer your question. |
|
| 1572. |
Solve : lil x's? |
|
Answer» I have a computer that is approx 8 yrs old. I had so much spyware that I dumped my puter with a system recover disc ( going back to day1) I added my spysweeper disc than I reinstalled my yahoo dsl. I scanned for windows updates and did that. Now on websites I can see thins but some things have lil boxes with lil x's in them. For example if you goto marktwainboats.org the top left of the screen i have an x. At the bottom of the screen Wheere it says make payment by paypal theres an x left of it. On the top of the page RIGHT under the first BLUE strip theres 3 x's. the first red strip where it says your messenger to the left of that theres one and the second blue strip where it says mark twain board to the left of that is one. Please someone help!!! email me pease. Someone says I have java problems. If you cant help me please refer me somewhere. Im LOST!!! |
|
| 1573. |
Solve : The menu to run the batch? |
|
Answer» I run the batch file used for OS backup and Recover the data from the Storage on the Window. The source code only for adjust host name and folder name. The new host backup, it only adjust the folder name and host name. But it sometimes to human error to lead the script run fail. clsAnd you enter 2 at the command line you would have something like Quote Hello World You can also do away with the @echo. and just use echo. if you use Echo Off at the beginning. This will hide the command prompt until Echo On is executed. Quote echo off This is a description of what the above does: 1.) Echo Off to hide command prompt 2.) cls to clean SCREEN 3.) echo. hello world so "hello world" is displayed ( Print to Screen = echo. ) in this case. 4.) pause to pause the batches execution until any key is pressed 5.) Echo On to bring back the command prompt So a simple menu can be set up like this named autoexec.bat Quote Echo Off 1.bat will contain the batched instructions for option 1 2.bat will contain the batched instructions for option 2 3.bat will contain the batched instructions for option 3 q.bat will contain the batches instructions for (q or Q key - not case sensitive on MS OS ) and at the end of the batch instructions contained within q.bat you might want to issue a Echo On command to bring the command prompt back to the user. If you want to have it all contained within a single batch you can use goto statements, but I am trying to make this as simple for you to comprehend as possible. Isolating the batched instructions also makes management of it EASIER as for instead of having 1 batch with everthing contained within it, you can modify the batch for option 2 etc and if you have a typo your batch will function until you get to option 2 and then you know that the issue is contained within 2.bat etc. If you want to have a single batch such as all choices listed and goto's it can be done in a menu type batch with gotos. The above was written for MS OS .... are you doing this on a SUN OS since your user name is SUN_OS? If so the q and Q will be case sensitive and cls for clear screen I think is "CLEAR" instead of CLS etc. There also may be differences in how the echo works under SUN. Its been a long time since I played with SUN OSTo turn off echoing the first line of a batch file should be really be @echo off (i.e. the first character of the line is @). If you just have Echo Off then those two words will be echoed to the screen, although subsequent commands will not be echoed. Thank you for all helpful hints, I draft the batch file like this, source code as below ECHO off CLS :MENU ECHO. ECHO ....................................... ........ ECHO Select server for Applies Standalone Lan Server ECHO ....................................... ........ ECHO. ECHO 1 - Shutdown ECHO 2 - Restart ECHO 3 - Ping test ECHO 4 - Quit ECHO. SET /p M=Type 1 2 3 4 then press ENTER: IF %M%==1 GOTO SHUTDOWN IF %M%==2 GOTO RESTART IF %M%==3 GOTO PING IF %M%==4 GOTO QUIT :SHUTDOWN set /p servername=" Enter the server name " set /p yesno=Shutdown the %servername% ? [y/n] IF "%yesno%" == "y" GOTO CONFIRM1 IF "%yesno%" == "n" GOTO MENU :CONFIRM1 shutdown -m \\"%servername%" -s :RESTART set /p servername=" Enter the server name " set /p yesno=Reboot the "%servername%" ? [y/n] IF "%yesno%" == "y" GOTO CONFIRM2 IF "%yesno%" == "n" GOTO MENU :CONFIRM2 shutdown -m \\"%servername%" -r :PING set /p servername=" Enter the server name " set /p yesno=Are you ping the "%servername%" ? [y/n] IF "%yesno%" == "y" GOTO CONFIRM3 IF "%yesno%" == "n" GOTO MENU :CONFIRM3 ping "%servername%" :break GOTO QUIT :END From the source code, I want to enhance the menu to do several things 1. I want to the operator can return the menu page after ping test. 2. I want to the operator can runas admin right account to remote reboot and shutdown 3. Due to the operator has the right restriction, they cannot do run CMD to run the command. May I know how to process the batch file without cmd ? Thanks |
|
| 1574. |
Solve : C Programming Help? |
|
Answer» Can SOMEONE help me with this C program. What I need is a program that will create scrambled words by circularly rotating the middle characters of each WORD by 1 CHARACTER. Place the scrambled words, 1 per line in an output file. |
|
| 1575. |
Solve : N? |
|
Answer» Hi friends, |
|
| 1576. |
Solve : Stef the Dutchman learning Python.? |
|
Answer» Hello kind people, |
|
| 1577. |
Solve : HTML & DBs? |
|
Answer» I would like to know if someone out there is able to inform me or just give me a clue about the interaction of a HTML's page with a Database or Databank, such as that one that occurs with PHP, but without the use of scripts? |
|
| 1578. |
Solve : SmallBasic...? |
|
Answer» Hi All, |
|
| 1579. |
Solve : Right to Left language problem? |
|
Answer» i want to write an APPLICATION on a right to left LANGUAGE(Farsi) in winxp. when i USE usual characters everything is ok but when i want to get special characters ( like , ;() : ) from INPUT, characters direction failes. what can i do? :-/Wow that's a dandy. I don't know the answer but when you find out, please post it here. I'd love to know. My gut feeling is that it can't be done but don't let that stop you from PROVING me wrong. |
|
| 1580. |
Solve : C++ Error? |
|
Answer» I'm having a "MICROSOFT Visual C++ Runtime Library" error. The dialog box says |
|
| 1581. |
Solve : Recovering files? |
|
Answer» Okay, I've seen numerous programs on the web to do this however, I'm really just curious as to how you would either do it without a program like that, or how you would write your own. Thanx in advance. |
|
| 1582. |
Solve : Schedule a cron job in gitlab by using parameters? |
|
Answer» Schedule a cron job in Gitlab by using parameters as trigger NIGHTLY builds For EXAMPLE: I have option in Gitlab called schedule and by using that I can schedule a job, but it just triggers a pipeline for that project with default values. I am configuring it in such a way that my project should trigger on nightly build by using the values provided as a parameter. Example: for a particular branch the project should trigger and that branch details should come from a YAML file. So please help me with that.you should be able to configure and schedule different builds with yaml variables and conditional rules: https://docs.gitlab.com/ee/ci/pipelines/schedules.html#using-variables More about the yaml syntax: https://docs.gitlab.com/ee/ci/yaml/index.htmlI have scheduled a pipeline using cron job. But my requirement is like in the gitlab.yml file we cannot include this below code. I need to call it from somewhere outside but I am not getting how to call a nightly build for a project without using the main Gitlab project gitlab.yml file Code: [Select]CURL --request POST \ --form token=TOKEN \ --form ref=main \ --form "[RUN_NIGHTLY_BUILD]=true" \ "https://gitlab.example.com/api/v4/projects/9/trigger/pipeline" It sounds like you are learning Gitlab as a beginner, is that correct? Is this for school? If you provide some context of what your project is for, I can TRY to refer you to INFORMATION that might help.I am an employee, but started working on Gitlab from past one year, but this one sounds interesting and this type of builds may use in our projects so I was trying out on my own. Details of project is, Project has its own pipeline set-up already. But to run it as a scheduled nightly build I am trying out the above curl statement. So please help me on that.Gotcha. I strongly recommend you post your question directly on the Gitlab forums: https://forum.gitlab.com/ That's where you'll get the best advice. |
|
| 1583. |
Solve : Batch files - text manipulation? |
|
Answer» Hey, |
|
| 1584. |
Solve : How to Solve this Problem using Recursive Bubble Sort Algorithm ?? |
|
Answer» Hey, |
|
| 1585. |
Solve : help with batch file (entering commands)? |
|
Answer» I need to be ABLE to fill out cmmands that will then be entered into the running program that the batch FILE starts up. (i.e. as though i was ENTERING text myself). Is this POSSIBLE. I know it is into DOS command window but can't make it work into command window once the program starts. |
|
| 1586. |
Solve : E books of java programming language? |
|
Answer» Hello Everyone, I am in the First YEAR of My engineering and want to learn Java Programming language, as an engineering student I think java is ONE of the most important languages after C, and this ALSO help me in my future as well, so i decided to learn java programming language, can any one have GOOD knowledge of Java Programming please suggest me best online courses and please suggest best e BOOKS of java programming language. |
|
| 1587. |
Solve : Batch file Wizard Required? |
|
Answer» I have an appplication with one ".ini" file that contains machine specific details as well as a general rule set which CHANGES very frequently. My challenge is to be able to USE Active Directory to copy a new set of rules to each machine without overwriting the machine specific entries. I'm trying to get the ".ini" file to somehow call or import the rule set then return to the original ini file. This would allow me to change only the rules for everyone and not their customised settings. If anyone COULD help, it would be GREATLY appriciated. |
|
| 1588. |
Solve : mysqli prepared update? |
|
Answer» HI guys, I believe I"ve correctly coded this and think I'm so close. I ENTER my HTML form: record a PAYMENT Unit: apt1 Amt paid: 530.00 Hudpay: 0.00 Date paid: - yyyy-mm-dd: 2021-07-10 --------------------------------------------------------------------------------- and get this result: receiptno updated successfully 0 payfile updated successfully For: tenant paying: apt1 - Amount paid: 530.00 - Date paid: 2021-07-10 - Amount due: 530 ----------------------------------------------------------------------------------- The numbers table IS updated. The receiptno is 1310 but is displayed as 0 ??. The payfile IS NOT updated ?? The amount due should display as 0.00. The ? I've had all along: is "$receiptno = 0;" a way to define it as numeric and does it also define it as having 0 value? I leave it out, it's undefined, put it in the table value of 1310 is replaced with 0 ?? In the calcs: elseif ($amtpaid == $owed) { $prevbal = 0.00; } is true, yet "Amount due: " displays 530.00?? ---------------------------------------------------------------------------------- the code: $unit = $_POST['unit']; $amtpaid = $_POST['amtpaid']; // ********************************** $hudpay = $_POST['hudpay']; $datepaid = $_POST['datepaid']; $amtdue = 0.00; // **************************************** $prevbal=0.00; $latechg=0.00; $secdep=0.00; $damage=0.00; $courtcost=0.00; $nsf=0.00; $paidsum=0.00; $comments=""; $receiptno=0; // **************************************** $id="id"; $sql = "UPDATE numbers SET receiptno =receiptno+1 WHERE id=1"; // **************************** if ($conn->query($sql) === TRUE) { echo "receiptno updated successfully"; } else { echo "Error updating record: " . $conn->error; } echo $receiptno; // **************************** // Attempt SELECT query execution $result = mysqli_query($conn,"SELECT * FROM payfile Where amtpaid =''"); $row= mysqli_fetch_array($result); $owed = $amtdue + $prevbal + $latechg + $secdep + $damage + $courtcost + $nsf; /* if no payment or partial payment, add $10 to latechg field and amount not paid to prevbal field */ if ($amtpaid < $owed) { $latechg = $latechg + 10.00; $prevbal = $owed - $amtpaid; } /* if payment = amtdue clear due */ // ****************************** this event elseif ($amtpaid == $owed) { $prevbal = 0.00; $latechg = 0.00; $secdep = 0.00; $damage = 0.00; $courtcost = 0.00; $nsf = 0.00; } /* if over-payment subtract over-payment from prevbal field */ elseif ($amtpaid > $owed ) { $prevbal = $amtpaid - $owed; $latechg = 0.00; $secdep = 0.00; $damage = 0.00; $courtcost = 0.00; $nsf = 0.00; } $amtpaid = $paidsum; $sql = "UPDATE payfile SET amtpaid=?, prevbal=?, latechg=?, secdep=?, damage=?, courtcost=?, nsf=?, hudpay=?, datepaid=?, paidsum=?, comments=? WHERE id=?"; $stmt = $conn->prepare($sql); $stmt->bind_param("ddddddddsdsi", $amtpaid, $prevbal, $latechg, $secdep, $damage, $courtcost, $nsf, $hudpay, $datepaid, $paidsum, $comments, $id); $stmt->execute(); echo "payfile updated successfully"; // **************************** ?> tenant paying: <?php echo $_POST["unit"]; ?> - Amount paid: - Date paid: - Amount due: /* ***************************** |
|
| 1589. |
Solve : how long should I study programming per day?? |
|
Answer» I'm learning javascript css and HTML SELF study at the momentAs a rule of thumb, 1 hr is better than 0 hrs.A couple years AGO, I wanted to learn it for the sake of learning. I found HTML5 Game Development for Dummies fun and instructive. I want to do "x" with HTML, CSS and JavaScript.I study about 7 HOURS a day. Might be too much My goal is to do front END web design |
|
| 1590. |
Solve : How to try Project Loom and would Project Loom replace Threads in java.net.Serve? |
|
Answer» Hi |
|
| 1591. |
Solve : Re: single task windows? |
|
Answer» Might help if you told us what language you're programming in. Why on earth you want to have such a lockdown I'll never know but you could make your app system modal. Restricting USERS is easy.. have a login screen and if they can't login they can't run the app. You say you want to replace your program with EXPLORER.. I don't understand.Quote i want to prevent users of my program from running any other progrem in windows nt. in the other hand , i want to replace my program with explorer and restrict users in my program. is it possible? how can i do this? Quote my applicatin works in a FINANCIAL organization and containes many FILES and rules thereby i want to become users as restricted as possible for avoiding undesirable events.I can understand wanting to restrict users abilities within the application.. I do that all the time. Have the user log in and based on the login they have ACCESS to certain areas/functions. Again.. what language are you writing your code in? I think, to prevent a user from using ANY other software, you'll have to go with a 3rd party application like zenworks on a Novell network. You will find it very difficult if not impossible to prevent users from using something other than your app. |
|
| 1592. |
Solve : Errors Wit Bot? |
|
Answer» this is what i am encountering when i try to start my bot that i want to use as a manager for my msn group chat: |
|
| 1593. |
Solve : What does (!) dohere?? |
|
Answer» What does (!) do here? |
|
| 1594. |
Solve : my pong game? |
|
Answer» right now in intro to C++ we are developing games for our final but im havin some difficulties and i was hoping someone could give me some help. here is what i have soo far. the problem is i cant get my paddle to move when i run my applet |
|
| 1595. |
Solve : bad marks? |
|
Answer» i got bad marks on my 1.5 gig hard DRIVE how do i get RID of them???I'm ASSUMING that you are referring to bad sections of the hard DISK drive that are being detected by a disk utility such as DEFRAG. If this is the case, you cannot get rid of these _marks_, these are bad sections of the hard disk drive that are being skipped to prevent data corruption. |
|
| 1596. |
Solve : how i answer without clicking anything?? |
|
Answer» i was new in computer... so i NEED to get some info from URS... |
|
| 1597. |
Solve : Pass the variables as a parameter for a Release build in Azure DevOps pipeline? |
|
Answer» PASS the variables as a parameter for a Release build in Azure DevOps pipeline. I have a file named "Generate-manifest.ps1" file which after executing it creates manifest.json file which is a collection of different packages from artifactory. Now I want to rename a file with some version values like "1.0.0" EG: manifest-1.0.0.json file and use it for the next build. Basically I have a REPO named Deploy-scripts which contains Generate-manifest.ps1 script. Once we execute them it will create manifest.json file. But I want to pass some variables during runtime in such a way that manifest.json file should UPDATE with version info. manifest.json: Code: [Select]{ "version": "1.0.0", "TIMESTAMP": "2021-05-07T09:41:34+00:00", "packages": [ { "name": "data-service", "type": "docker-image", "version": "REL-1.0.5367" }, { "name": "feedback-service", "type": "docker-image", "version": "REL-1.0.6099" }, ] } |
|
| 1598. |
Solve : Convert shell script to python? |
|
Answer» I have written a shell script and I need the same script in PYTHON to execute it for windows. |
|
| 1599. |
Solve : I need help reformatting? |
|
Answer» I am trying to reformat my computer but i cannot due to the fact my floppy drive is nto formatting the disk and the computer does not list the CORRECT capacity i need help Hi dont worry about formatting a floppy just go to the control panel and then to add\remove programs then go to the create bootdisk tab and create a bootdisk then restart your computer go in to the bios and find were it says floppy seek and then enable it then change the order that the computer boots from, so it should start IDE-0, then CD-Rom, then floppy, you change it so the floppy boots first then CD-Rom SAVE the changes and reboot with the boot disk in the floppy drive then wait awhile for the computer to start READING the floppy drive select start computer with CD-Rom support make sure your windows cd is in the CD-Rom drive. |
|
| 1600. |
Solve : Programming Path? |
|
Answer» Hi there guys, so I thought about starting to learn programming. However, I don't know from where to start. So, after some research I found that a lot of people SAYING that it's better to learn C programming first to be able to learn other programming language. Now the problem here is, do I need to learn the three C programming languages that are the C++, C, and C# to be able to learn .NET or I can just learn one of the the C programming language. Moreover, after I thought about it for sometimes I found that I need to learn some programming language that will help me develop some software and also I am interested in scripts. So, I thought that if I need to be a software engineer or developer I need to study C, C++, C# and .NET and if I want to make scripts I need to study Python. So, do I need to learn all the C programming languages or I can just learn one of them? You asked "... study Python" You asked "... study Python" So, the Python is used for scripting. But I need to know if I want to make some UI desktop Applications. Do I need to know C# and C++ or I can learn C# only?If you're GOING to write desktop apps for Windows, I would recommend starting with C, then moving to C++. C will give you a basic understanding of how to "talk to the machine," and help you understand the fundamentals of C++. Then I would learn C++, because the majority of Windows software, including the operating system itself is written in C++. It is way more complex than C, providing you with all sorts of tools and programming paradigms that are not INCLUDED in C. You don't need to learn them all, so try to focus on exactly what kind of applications you want to make. Look for applications that are open-source if possible, and read the source code. Try to determine what libraries and algorithms they use, and use that as a guide for what you should learn in C++. For learning C, you can't go wrong with the original "K&R" book by Kernighan and Ritchie. This book is very old but still extremely relevant, and it will help you understand C from the ground up. https://en.wikipedia.org/wiki/The_C_Programming_Language When you feel like you have a handle on C, get the newest edition of C++ Programming Language by Bjarne Stroustrup. It's still considered the bible of C++: https://en.wikipedia.org/wiki/The_C%2B%2B_Programming_Language I hope this helps.Quote from: nil on May 08, 2022, 08:16:20 AM If you're going to write desktop apps for Windows, I would recommend starting with C, then moving to C++. C will give you a basic understanding of how to "talk to the machine," and help you understand the fundamentals of C++. So, can C# help me to create UI desktop apps? Also, which programming language I can use to create UI (User Interface) desktop applications?C,C++, and C# are three completely different languages. C++ is technically a superset of C barring a few features but code written in C++ shouldn't have much direct resemblance to C. C# is a completely different language altogether. Asking the BEST way to learn programming is sort of like asking what the best way to read a book is. You aren't going to get through, say, the Lord of the Rings by asking the best way to read The Lord of the Rings, and hemming and haawwing about what the best environment for reading books is. You simply have to start reading it; same for programming. Instead of asking questions about the best way to start programming, you have to dive in. |
|