hi, I have been reading tutorials on programming in C most of the website I have found have been from google (tutorialspoint.com) and some other however I'm so confused on everything I am reading about everything so far I mean I understand a few things....I guess my question is whats the best way to learn and understand everything cause when I look at other examples of C programs I can't find what the tutorials are talking about to relate to the program I thinking it because all the examples the websites give relate everything to math and not real life programing I am really good in math so I understand that part but what I don't understand is how teaching me how to basically make a calculator out of my computer is going to make me understand the language of C.....what is the best possible way to understand what they are trying to say??? anyway I hope I haven't confused anyone if I did please let me know and I will try to clearify thank you
Forum Thread: C Programming Help
- Hot
- Active
-
Forum Thread: When My Kali Linux Finishes Installing (It Is Ready to Boot), and When I Try to Boot It All I Get Is a Black Screen. 8 Replies
10 hrs ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
1 wk ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
4 wks ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
4 wks ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
2 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
2 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
3 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
3 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
3 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
3 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
4 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
4 mo ago -
Forum Thread: How to Run and Install Kali Linux on a Chromebook 18 Replies
5 mo ago -
Forum Thread: How to Find Admin Panel Page of a Website? 13 Replies
6 mo ago -
Forum Thread: can i run kali lenux in windows 10 without reboting my computer 4 Replies
6 mo ago -
Forum Thread: How to Hack School Website 11 Replies
6 mo ago -
Forum Thread: Make a Phishing Page for Harvesting Credentials Yourself 8 Replies
6 mo ago -
Forum Thread: Creating an Completely Undetectable Executable in Under 15 Minutes! 38 Replies
7 mo ago
-
How To: Dox Anyone
-
How To: Gain SSH Access to Servers by Brute-Forcing Credentials
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Check if Your Wireless Network Adapter Supports Monitor Mode & Packet Injection
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Find Passwords in Exposed Log Files with Google Dorks
-
Hack Like a Pro: Using the Nmap Scripting Engine (NSE) for Reconnaissance
-
How To: Beginner's Guide to OWASP Juice Shop, Your Practice Hacking Grounds for the 10 Most Common Web App Vulnerabilities
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
How To: Brute-Force Nearly Any Website Login with Hatch
-
How To: Brute-Force FTP Credentials & Get Server Access
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
How To: Use SQL Injection to Run OS Commands & Get a Shell
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
-
How To: Hack Coin-Operated Laudromat Machines for Free Wash & Dry Cycles
-
How To: Use Command Injection to Pop a Reverse Shell on a Web Server
12 Responses
make stuff, but what you make relate to what you want to learn about. The way I learnt about winsock.h was through making a simple client/server which also taught me about structs as well
Don't try to learn the language or its syntax. Try to understand what each statement does. Try to relate to any other programming language you know. I knew Java, so C was easy since they are kind of similar in syntax. And what MendaxV2 said, program stuff yourself.
Harvard's CS50 course teaches C Programming rather well. All the videos are available at https://www.youtube.com/user/cs50tv/playlists
thanks I will try this.... and I appreciate the help is there anything I can learn or read first that will better help me understand C programming and what is trying to be taught??? thanks again guys
hey MendaxV2 what would a simple client/server look like in C ?? cause this is the direction I am headed with programming
well depends if your programming with windows or linux, each has its differences but the core is the same. Windows uses winsock.h, linux uses sys/sockets.h. What OS are you talking about?
o I c well I usually use linux but I can use windows..????
for windows see http://www.binarytides.com/winsock-socket-programming-tutorial/
thank you
o one last question what does a simple client/server look like?? what should it do??like what kind of functions should it have??
There are examples on the link.
Making a calculator will help you learn C. Why you ask? You can make the calculator print out things which is easy yes, but then you can grab input with the calculator and learn how to read/compare string values in if statements.
You can always use online man pages if you're not running linux to find out what functions do. If you want to code something else you can join github and grab the git client so you can program locally and push/pull between github and your PC so you can program in both places.
You need to start out somewhere though, you're not going to start coding a space invaders game or something complex like that. So a calculator will teach you a few things, then maybe you can move onto a simple text editor.
Once you've made a few simple applications you can combine all you have learned to make something more complex. Maybe coding a calculator plus a text editor will allow you to create a calculator with a history saving function of past calculations you have done?
I'm by no means a programmer, I started learning C a few days ago. Just giving you my thought of why doing a calculator will help you.
Share Your Thoughts