hello! i'm a new college student, and the syllabus says c and java are the languages they'll teach in the first two semester. could you direct me to some resources or someone who could help if you're not interested? no pressure, thank you!
hey! i'm unsure how helpful my advice will be because i've only dabbled in c and java, but i can certainly point you in the right direction. i know how much of a pain searching for beginner-friendly resources can be. good luck in your studies, and welcome to college!
GENERAL:
there are a lot of community-curated resources in the tag awesome-list on github. check it out here, and have fun going through them all because you'll never escape
w3schools is great for referencing
this basically gives you the equivalent to a bachelor's degree in computer science and is completely free
freecomputerbooks has a c and java language category. i can't recommend you specific books though
i only discovered wikiversity was a thing when i became an adult, which is a right shame. there's free courses for computer science and information technology
C LANGUAGE:
harvard has an online course called cs50 you can find for free on freecodecamp's youtube channel (the cs50 website also includes notes for the course). it introduces computer science (and the basics of c) pretty nicely
wikiversity's "C Programming" and its wikibook companion
freecodecamp's "C Programming Handbook for Beginners"
if you ever get confused about pointers: A Tutorial on Pointers and Arrays in C
commonly asked c programming questions & answers are in this FAQ
the article "What A C Programmer Should Know About Memory" (a bit more intermediate)
JAVA LANGUAGE:
the wikibook "Java Programming"
wikiversity's java portal has links to both internal and external java resources. i'd recommend looking through it
freecodecamp's "The Java Handbook – Learn Java Programming for Beginners"
freecodecamp's online course "Java Programming for Beginners"
dev.java's "Learn Java"
the free training course offered by oracle
if anyone else has anything to add, feel free to chime in! i hope this helps :)
Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
✓ Live Streaming✓ Interactive Chat✓ Private Shows✓ HD Quality
Anya is LIVE right now
FREE
Free to watch • No registration required • HD streaming
Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
✓ Live Streaming✓ Interactive Chat✓ Private Shows✓ HD Quality
Anya is LIVE right now
FREE
Free to watch • No registration required • HD streaming
How To Code: Basic “Guess Number” Game, using Java.
There are a lot more efficient ways to this, which can be found on the internet. I wanted to try do one without looking stuff up.
Input/Output:
Enter a Number between 1 and 20:
You have 5 guesses.
15
Too High.
Enter a Number between 1 and 20:
You have 4 guesses.
10
Too High.
Enter a Number between 1 and 20:
You have 3 guesses.
5
Too High.
Enter a Number between 1 and 20:
You have 2 guesses.
3
You Win.
Play Again.
Edit: I just realized that the .nextInt() used with the random import includes 0. So the print statement should state, “Enter a number between 0 and 20″.
Bubblesort is a simple sorting algorithm, but can be inefficient . It works by repeatedly swapping adjacent elements that are out of order. Bubble sort can be implemented in many ways. The code above uses nested ‘for’ loops, to iterate through the array.