• 0

[C/MinGW] Quickest way to learn


Question

Hi,

I am a university student who is currently studying several programming languages, one of which is C. I was surprised recently while at campus, I found out we have an exam on the 2nd of November. I have been studying a little, but I'm afraid I'm not at the level I need to be to pass the exam. So I am asking "experts" (You guys ;P), for advice on the quickest way to learn C. Since I study programming I know the bare essentials, so I'm fairly ok with syntax and stuff like that. But the course I'm going is focused on Dynamic Memory Allocation, File-managing, and Linked-Lists. I am willing to take any advice, suggestions on tutorials, websites, or general advice, personal help, help forums, anything... except books. I am a slow reader and I would have a Much harder time if I suddenly put time into books.

I have currently an assignment from the C course which is a way to learn what we will be needing to know for the exam. We're suppose to make a Control Promt Text Editor. Its suppose to use all the things I mentioned earlier about memory, files, and lists.

So, what do you guys suggest?

P.S. just in case anyone is wondering, I use Crimson Editor 3.72 Beta, and MinGW (which i have linked with CrimsonE so that i can compile and execute fast.

Also, I am wondering if there is an API I can use. There are so many functions I know nothing about. Is there a good reference documentation for C function?

Link to comment
https://www.neowin.net/forum/topic/596139-cmingw-quickest-way-to-learn/
Share on other sites

3 answers to this question

Recommended Posts

  • 0

The quickest way to learn is to first learn the basics from a book (preferable usually) or a quick tutorial. Those materials that have exercises for you to complete is by far the best way. A good reference can be found at http://www.cplusplus.com/reference/clibrary/, though it uses the C++ names for the headers. Example: <stdio.h> in C is <cstdio> in C++ (drop the '.h' at the end and add a 'c' to the beginning). I don't recommend using the C++ tutorial as a C tutorial because when you bring yourself down from the high-level programming of C++ to the low level of C, you'll find string variables to be rather annoying.

Recommended tutorials:

http://www2.its.strath.ac.uk/courses/c/

http://www.cprogramming.com/tutorial/c/lesson1.html - beware of pop* ads

  • 0

Uhh yeah, I already got a problem, I got an "undefined reference to" error... Would anyone be willing to help me out via chat, I think that would be the quickest way for me to solve issues like this, since I have less than a week to practice for the exam. I would really appreciate it.

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

    • No registered users viewing this page.
  • Posts

    • Windows 11 receives a handful of new AI features by Taras Buria Microsoft is supercharging its operating system with a handful of new AI-powered features. Those with compatible computers (mostly Copilot+ PCs) can download a new Windows 11 update that introduces new AI experiences. One of the biggest updates is the Settings app, which now features agentic search to understand complaints about your computer. You can click the search box and tell Windows what is wrong. For example, "my mouse cursor is too small." Windows will then process your request and suggest taking action on your behalf. You can also ask for specific changes like, "change my screen resolution to 1920x1080." The Settings agent is now available for users with Snapdragon-powered Copilot+ PCs. It is coming soon to Intel and AMD-based Copilot+ PCs. Click to Do has received several new actions: Practice in Reading Coach helps improve reading skills by giving feedback and offering suggestions on how to improve. Read with Immersive Reader displays text in a distraction-free environment with the ability to adjust text size, spacing, font and background theme, have text read aloud, break words into syllables and highlight parts of speech. The picture dictionary shows images for unfamiliar words. Draft with Copilot in Word turns a portion of text into a full draft. Actions in Microsoft Teams let you click an email to send a message or schedule a meeting. More AI is available in the Photos app. After a couple of months in testing, the Relight feature is now rolling out, allowing users to adjust lights with AI. You can place three light sources or use built-in presets to edit your photos. Like with the Settings app, this feature is currently available to Snapdragon-powered devices only. Paint now has a sticker generator and a new object select tool that uses AI to isolate the object and edit individual elements, even if they are part of one layer. Snipping Tool has received the "Perfect Screenshot" feature to help you select parts of the screen for a proper cropped screenshot, and a new Color Picker to read colors on the screen in different formats (available on all PCs, not only Copilot+ PCs). Finally, the Copilot app now supports Highlights, a new feature that enables Copilot to show you how to perform specific tasks in the current app on the entire desktop. Today's updates are not just about AI and sticker generation. Microsoft is also improving the performance and security of its system with a redesigned blue screen of death and the new Quick Machine Recovery system. You can read more about those changes here. If you want to get all these updates today, download the latest non-security update for Windows 11 version 24H2, which is now available.
    • Well their mistake was choosing Microsoft, the backstabbers
    • Yet my Surface Pro 7+ was running ok with 23H2, only having issues with the laggy-mess that's the new File Explorer...
    • Brave browser blocks Windows feature that takes screenshots of everything you do on your PC by David Uzondu If there's anything Microsoft Build 2024 will be remembered for, it's the introduction of the controversial Windows Recall on its new Copilot+ PCs. Pitched as a "photographic memory" for your computer, this feature works by constantly taking screenshots of your activity to build a detailed and searchable timeline of everything you have ever seen or done. Almost immediately, critics and security researchers labeled the feature a privacy nightmare, pointing out that a single piece of malware could gain access to a user's entire digital life. In response to the backlash, Microsoft promised that users will be able to filter which apps get recorded, but some developers are not waiting around. Just about a month after the feature became generally available for Copilot+ PCs (it is now rolling out to users in Europe), some app developers took matters into their own hands to protect their users. One such company was Signal, which implemented an opt-out feature called "Screen Security" to prevent its chats from being captured. It cleverly uses a Digital Rights Management (DRM) flag to black out the application window during a screenshot attempt, using the same technology that streaming services like Netflix use to prevent people from recording movies. Now, Brave Browser has joined the party, announcing on X that it will block Recall by default with its v1.81 update, which is expected in the coming weeks. While Microsoft stated that Recall would not capture content from private browsing windows, Brave's new update just tells the Windows operating system that all of its browser windows are private. This prevents Recall from snapshotting anything you do in Brave, not just the activity in a designated private tab. In its announcement, the company did give Microsoft some credit for making changes following the initial public outcry, such as making Recall an opt-in feature. However, the company still feels that giving any application unrestricted access to a user's browsing history is a huge risk. If you, for some reason, like Windows Recall, you can disable the upcoming protection by navigating to Settings, then Privacy and Security, and toggling off the "Block Microsoft Recall" option.
    • I have the Tab A9+ also, and I agree with all your points. I really like this tablet.
  • Recent Achievements

    • Week One Done
      SmileWorks Dental earned a badge
      Week One Done
    • Community Regular
      vZeroG went up a rank
      Community Regular
    • Collaborator
      Snake Doc earned a badge
      Collaborator
    • Week One Done
      Snake Doc earned a badge
      Week One Done
    • One Month Later
      Johnny Mrkvička earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      587
    2. 2
      Michael Scrip
      199
    3. 3
      ATLien_0
      192
    4. 4
      +FloatingFatMan
      131
    5. 5
      Xenon
      122
  • Tell a friend

    Love Neowin? Tell a friend!