Programming Language

Forum discussion tagged with Programming Language.
  1. haoumalik

    Question Need help finding a solution to this exercise. please

    Write a C program which performs the multiplication of a single -dimensional array by a given value alpha (an integer) and returns the average value of the resulting array. The array's size and its integer elements as well as alpha are provided by a user via the keyboard. The initial array. the...
  2. A

    Why does C not have run time errors?

    Disclaimer: I am a total noob in C, and don't have all too much experience in computer science in general (about 1 year). I come from a background in Java and Python, and when I started learning C, I noticed something I found odd. Why does C not give run time errors, even if I intentionally add...
  3. L

    Hello guys im new to coding with a question thats been bugging me

    How would I make php work in a 1 page website?
  4. T

    What is the best daily routine to learn C#?

    besides that i want to know: -what is a good book for a beginner -the time it will take me i also have some more questions: -what kind of programs can i make in c#? -can i make remote controlled stuff in c#? i thought about this: downloading a max 140 lines of code program and messing with...
  5. T

    I need help with choosing a coding language to learn.

    Hey, person, I'd like to learn how to code. Where do I start? This would be my 2nd programming language i learn, the first was GML, it's not used outside of GMS. GMS is for games only, i'd like to make programs I want a really easy to learn and useful language, i am 13 and i am looking to make...
  6. A

    How to use a Java library?

    So I got into Java and I know all the stuff about classes, interfaces, methods, abstract methods, modifiers, control statements, variables, etc. I got IntelliJ and started a new project to test out and explore LWJGL and how to use it. I downloaded the library, and copied and pasted the sample...
  7. L

    Could you please help me write a cpp code for an assignment I have in school for juice

    It's for a program I had to write which is calculating the total cost of juice orders ... Apple($4)pineapple($6) and orange juice ($8)with extra ice if needed by customers ($1)
  8. Y

    Code Hs is it even

    alue is even or odd. The isEven function should not print anything out or return a number. It should only take in a number and return a boolean. For example, if you made a call like var isEvenNumber = isEven(4); isEvenNumber should have the value true. Once you’ve written this function, write...
  9. S

    How to take user input of one form and assign it to a variable in another form in java?

    i have a textfield to get user input in my form 1.i want to get the text user inputs into that textfield from that form and assign it to a variable in form2. is this possible?
  10. S

    How to compare user input in a jTextfield with data in the database? (im using java & php)

    This is an assignment and so far this is what i have done: on this button click i want to compare user input on the textfield with the data in my database.this is my code but nothing is happening when i run it and i cant find any mistakes in this. i have been trying to figure it out for hours...
  11. S

    How to center align all elements inside a jframe to center in java?

    Im making a ATM enter PIN screen using java.i have written the code to make it appear full screen when i run it but all the other elements such as the jtextfield,labels and buttons are still at the top left corner of the screen.How can i get them all to the center of my screen? .
  12. S

    Java code to separately enter numbers using the same set of jbuttons?

    i have two textfields to enter pin and account number. i will be entering these numbers using the pin pad i have made using jbuttons. but im only able to enter to one field.is there some code to distinguish between the 2 textfield.like on mouse click on to the relevant textfield input number...
  13. J

    C++ Help on Linked List

    So i wrote a program which take 2 linked lists and merges them but for some reason it does not work!!!! it gets complied 0 ERRORS 0 WARNINGS but for some reason (logical i think) it does not merge properly #include <iostream> #include <iomanip> #include <conio.h> using namespace std; class...
  14. UnforgivenGamer

    Need Java Programming Help

    Hey guys. I usually use this website for computer hardware research, however I was wondering if anyone out there could help me with a problem I'm having. I'm in a computer science class in college and I can't figure out how to write this program in Java. I've tried many things, however nothing...
  15. T

    Best language for hardware monitoring software

    I'm doing a computer science A level in school and our coursework is to create a programming project of our choice. I've decided I would like to try and create a hardware monitoring software similar to msi afterburner or nzxt cam. I was wandering which language would be best for something like...
  16. M

    Playing a MP3 audio file in C# Console App

    Hi guys I am making a program where I wan to play a MP3 file as soon as the program executes can anybody explain me how to do so ???
  17. M

    How to make a C# console app terminate on the press of the "Esc" Button

    hi Guys I was watching a video on YouTube from a channel called Barnacules Nerdgasm about how to make a Prank software the problem is that there is a piece of code the tells the app to close when ever a key then enter is pressed which is "Console.Read();" please correct me if I am wrong so after...
  18. M

    Programming Language Artificial Intelligence

    What are the advantages and the drawbacks of using java for artificial intelligence?
  19. C

    Which Programming Language Should I Learn First As A Beginner

    First of all I don't know is this the right section to talk so if its wrong please excuse me.:hum: So the question is,I'd like to be a Web Developer & I like the game development as well.Lets say its just a side quest.So as a beginner which programming language should I learn first?■ Python...
  20. A

    what is any good programming to start learning for first timer??

    what is any good programming to start learning for first timer?? i have good mathematics,physics,chemistry and i ended my school with perfect grades.(never learned english at school). what is any programming language for start?and i am very fast learner generaly and i can i do lots mathematics...